public class org.apache.cassandra.cql3.ResultSet$Codec implements org.apache.cassandra.transport.CBCodec<org.apache.cassandra.cql3.ResultSet>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.ResultSet$Codec
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/ResultSet$Codec;
public org.apache.cassandra.cql3.ResultSet decode(io.netty.buffer.ByteBuf, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/cql3/ResultSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.cql3.ResultSet$ResultMetadata.codec:Lorg/apache/cassandra/transport/CBCodec;
aload 1
aload 2
invokeinterface org.apache.cassandra.transport.CBCodec.decode:(Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.ResultSet$ResultMetadata
astore 3
start local 3 1: aload 1
invokevirtual io.netty.buffer.ByteBuf.readInt:()I
istore 4
start local 4 2: new org.apache.cassandra.cql3.ResultSet
dup
aload 3
new java.util.ArrayList
dup
iload 4
invokespecial java.util.ArrayList.<init>:(I)V
invokespecial org.apache.cassandra.cql3.ResultSet.<init>:(Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;Ljava/util/List;)V
astore 5
start local 5 3: iload 4
aload 3
getfield org.apache.cassandra.cql3.ResultSet$ResultMetadata.columnCount:I
imul
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 8
6: StackMap locals: org.apache.cassandra.cql3.ResultSet$Codec io.netty.buffer.ByteBuf org.apache.cassandra.transport.ProtocolVersion org.apache.cassandra.cql3.ResultSet$ResultMetadata int org.apache.cassandra.cql3.ResultSet int int
StackMap stack:
aload 5
aload 1
invokestatic org.apache.cassandra.transport.CBUtil.readValue:(Lio/netty/buffer/ByteBuf;)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.cql3.ResultSet.addColumnValue:(Ljava/nio/ByteBuffer;)V
7: iinc 7 1
StackMap locals:
StackMap stack:
8: iload 7
iload 6
if_icmplt 6
end local 7 9: aload 5
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/cql3/ResultSet$Codec;
0 10 1 body Lio/netty/buffer/ByteBuf;
0 10 2 version Lorg/apache/cassandra/transport/ProtocolVersion;
1 10 3 m Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
2 10 4 rowCount I
3 10 5 rs Lorg/apache/cassandra/cql3/ResultSet;
4 10 6 totalValues I
5 9 7 i I
MethodParameters:
Name Flags
body
version
public void encode(org.apache.cassandra.cql3.ResultSet, io.netty.buffer.ByteBuf, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lorg/apache/cassandra/cql3/ResultSet;Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.cassandra.cql3.ResultSet$ResultMetadata.codec:Lorg/apache/cassandra/transport/CBCodec;
aload 1
getfield org.apache.cassandra.cql3.ResultSet.metadata:Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
aload 2
aload 3
invokeinterface org.apache.cassandra.transport.CBCodec.encode:(Ljava/lang/Object;Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)V
1: aload 2
aload 1
getfield org.apache.cassandra.cql3.ResultSet.rows:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokevirtual io.netty.buffer.ByteBuf.writeInt:(I)Lio/netty/buffer/ByteBuf;
pop
2: aload 1
getfield org.apache.cassandra.cql3.ResultSet.rows:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.apache.cassandra.cql3.ResultSet$Codec org.apache.cassandra.cql3.ResultSet io.netty.buffer.ByteBuf org.apache.cassandra.transport.ProtocolVersion top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 4: iconst_0
istore 6
start local 6 5: goto 8
6: StackMap locals: org.apache.cassandra.cql3.ResultSet$Codec org.apache.cassandra.cql3.ResultSet io.netty.buffer.ByteBuf org.apache.cassandra.transport.ProtocolVersion java.util.List java.util.Iterator int
StackMap stack:
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 2
invokestatic org.apache.cassandra.transport.CBUtil.writeValue:(Ljava/nio/ByteBuffer;Lio/netty/buffer/ByteBuf;)V
7: iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
aload 1
getfield org.apache.cassandra.cql3.ResultSet.metadata:Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
getfield org.apache.cassandra.cql3.ResultSet$ResultMetadata.columnCount:I
if_icmplt 6
end local 6 end local 4 9: StackMap locals: org.apache.cassandra.cql3.ResultSet$Codec org.apache.cassandra.cql3.ResultSet io.netty.buffer.ByteBuf org.apache.cassandra.transport.ProtocolVersion top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/cql3/ResultSet$Codec;
0 11 1 rs Lorg/apache/cassandra/cql3/ResultSet;
0 11 2 dest Lio/netty/buffer/ByteBuf;
0 11 3 version Lorg/apache/cassandra/transport/ProtocolVersion;
4 9 4 row Ljava/util/List<Ljava/nio/ByteBuffer;>;
5 9 6 i I
MethodParameters:
Name Flags
rs
dest
version
public int encodedSize(org.apache.cassandra.cql3.ResultSet, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lorg/apache/cassandra/cql3/ResultSet;Lorg/apache/cassandra/transport/ProtocolVersion;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.cql3.ResultSet$ResultMetadata.codec:Lorg/apache/cassandra/transport/CBCodec;
aload 1
getfield org.apache.cassandra.cql3.ResultSet.metadata:Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
aload 2
invokeinterface org.apache.cassandra.transport.CBCodec.encodedSize:(Ljava/lang/Object;Lorg/apache/cassandra/transport/ProtocolVersion;)I
iconst_4
iadd
istore 3
start local 3 1: aload 1
getfield org.apache.cassandra.cql3.ResultSet.rows:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.apache.cassandra.cql3.ResultSet$Codec org.apache.cassandra.cql3.ResultSet org.apache.cassandra.transport.ProtocolVersion int top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 3: iconst_0
istore 6
start local 6 4: goto 7
5: StackMap locals: org.apache.cassandra.cql3.ResultSet$Codec org.apache.cassandra.cql3.ResultSet org.apache.cassandra.transport.ProtocolVersion int java.util.List java.util.Iterator int
StackMap stack:
iload 3
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokestatic org.apache.cassandra.transport.CBUtil.sizeOfValue:(Ljava/nio/ByteBuffer;)I
iadd
istore 3
6: iinc 6 1
StackMap locals:
StackMap stack:
7: iload 6
aload 1
getfield org.apache.cassandra.cql3.ResultSet.metadata:Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
getfield org.apache.cassandra.cql3.ResultSet$ResultMetadata.columnCount:I
if_icmplt 5
end local 6 end local 4 8: StackMap locals: org.apache.cassandra.cql3.ResultSet$Codec org.apache.cassandra.cql3.ResultSet org.apache.cassandra.transport.ProtocolVersion int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/cql3/ResultSet$Codec;
0 10 1 rs Lorg/apache/cassandra/cql3/ResultSet;
0 10 2 version Lorg/apache/cassandra/transport/ProtocolVersion;
1 10 3 size I
3 8 4 row Ljava/util/List<Ljava/nio/ByteBuffer;>;
4 8 6 i I
MethodParameters:
Name Flags
rs
version
public java.lang.Object decode(io.netty.buffer.ByteBuf, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.cql3.ResultSet$Codec.decode:(Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/cql3/ResultSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void encode(java.lang.Object, io.netty.buffer.ByteBuf, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/lang/Object;Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast org.apache.cassandra.cql3.ResultSet
aload 2
aload 3
invokevirtual org.apache.cassandra.cql3.ResultSet$Codec.encode:(Lorg/apache/cassandra/cql3/ResultSet;Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)V
return
LocalVariableTable:
Start End Slot Name Signature
public int encodedSize(java.lang.Object, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/transport/ProtocolVersion;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.apache.cassandra.cql3.ResultSet
aload 2
invokevirtual org.apache.cassandra.cql3.ResultSet$Codec.encodedSize:(Lorg/apache/cassandra/cql3/ResultSet;Lorg/apache/cassandra/transport/ProtocolVersion;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/transport/CBCodec<Lorg/apache/cassandra/cql3/ResultSet;>;
SourceFile: "ResultSet.java"
NestHost: org.apache.cassandra.cql3.ResultSet
InnerClasses:
public Codec = org.apache.cassandra.cql3.ResultSet$Codec of org.apache.cassandra.cql3.ResultSet
public ResultMetadata = org.apache.cassandra.cql3.ResultSet$ResultMetadata of org.apache.cassandra.cql3.ResultSet