class org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer implements org.apache.cassandra.io.IVersionedSerializer<org.apache.cassandra.db.ReadCommand>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$db$ReadCommand$LegacyType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/ReadCommand;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
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/db/ReadCommand$LegacyReadCommandSerializer;
public void serialize(org.apache.cassandra.db.ReadCommand, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Lorg/apache/cassandra/db/ReadCommand;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$assertionsDisabled:Z
ifne 1
iload 3
bipush 10
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$assertionsDisabled:Z
ifne 2
aload 1
getfield org.apache.cassandra.db.ReadCommand.kind:Lorg/apache/cassandra/db/ReadCommand$Kind;
getstatic org.apache.cassandra.db.ReadCommand$Kind.SINGLE_PARTITION:Lorg/apache/cassandra/db/ReadCommand$Kind;
if_acmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.db.SinglePartitionReadCommand
astore 4
start local 4 3: aload 4
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.maybeConvertNamesToSlice:(Lorg/apache/cassandra/db/SinglePartitionReadCommand;)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
astore 4
4: aload 4
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
astore 5
start local 5 5: aload 2
aload 4
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
invokeinterface org.apache.cassandra.db.filter.ClusteringIndexFilter.kind:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter$Kind;
invokestatic org.apache.cassandra.db.ReadCommand$LegacyType.fromPartitionFilterKind:(Lorg/apache/cassandra/db/filter/ClusteringIndexFilter$Kind;)Lorg/apache/cassandra/db/ReadCommand$LegacyType;
getfield org.apache.cassandra.db.ReadCommand$LegacyType.serializedValue:B
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeByte:(I)V
6: aload 2
aload 4
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.isDigestQuery:()Z
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeBoolean:(Z)V
7: aload 2
aload 5
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeUTF:(Ljava/lang/String;)V
8: aload 4
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
9: aload 2
aload 5
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeUTF:(Ljava/lang/String;)V
10: aload 2
aload 4
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.nowInSec:()I
i2l
ldc 1000
lmul
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeLong:(J)V
11: aload 4
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
invokeinterface org.apache.cassandra.db.filter.ClusteringIndexFilter.kind:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter$Kind;
getstatic org.apache.cassandra.db.filter.ClusteringIndexFilter$Kind.SLICE:Lorg/apache/cassandra/db/filter/ClusteringIndexFilter$Kind;
if_acmpne 13
12: aload 0
aload 4
aload 2
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializeSliceCommand:(Lorg/apache/cassandra/db/SinglePartitionReadCommand;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
goto 14
13: StackMap locals: org.apache.cassandra.db.SinglePartitionReadCommand org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 0
aload 4
aload 2
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializeNamesCommand:(Lorg/apache/cassandra/db/SinglePartitionReadCommand;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
14: StackMap locals:
StackMap stack:
return
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 15 0 this Lorg/apache/cassandra/db/ReadCommand$LegacyReadCommandSerializer;
0 15 1 command Lorg/apache/cassandra/db/ReadCommand;
0 15 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 15 3 version I
3 15 4 singleReadCommand Lorg/apache/cassandra/db/SinglePartitionReadCommand;
5 15 5 metadata Lorg/apache/cassandra/config/CFMetaData;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
command
out
version
public org.apache.cassandra.db.ReadCommand deserialize(org.apache.cassandra.io.util.DataInputPlus, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/db/ReadCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=13, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$assertionsDisabled:Z
ifne 1
iload 2
bipush 10
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readByte:()B
invokestatic org.apache.cassandra.db.ReadCommand$LegacyType.fromSerializedValue:(B)Lorg/apache/cassandra/db/ReadCommand$LegacyType;
astore 3
start local 3 2: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readBoolean:()Z
istore 4
start local 4 3: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readUTF:()Ljava/lang/String;
astore 5
start local 5 4: aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
astore 6
start local 6 5: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readUTF:()Ljava/lang/String;
astore 7
start local 7 6: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readLong:()J
lstore 8
start local 8 7: lload 8
ldc 1000
ldiv
l2i
istore 10
start local 10 8: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 5
aload 7
invokevirtual org.apache.cassandra.config.Schema.getCFMetaData:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 11
start local 11 9: aload 11
getfield org.apache.cassandra.config.CFMetaData.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
aload 6
invokeinterface org.apache.cassandra.dht.IPartitioner.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 12
start local 12 10: invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$SWITCH_TABLE$org$apache$cassandra$db$ReadCommand$LegacyType:()[I
aload 3
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyType.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 11
2: 12
default: 13
}
11: StackMap locals: org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer org.apache.cassandra.io.util.DataInputPlus int org.apache.cassandra.db.ReadCommand$LegacyType int java.lang.String java.nio.ByteBuffer java.lang.String long int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.DecoratedKey
StackMap stack:
aload 0
aload 1
iload 4
aload 11
aload 12
iload 10
iload 2
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.deserializeNamesCommand:(Lorg/apache/cassandra/io/util/DataInputPlus;ZLorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;II)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
areturn
12: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 4
aload 11
aload 12
iload 10
iload 2
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.deserializeSliceCommand:(Lorg/apache/cassandra/io/util/DataInputPlus;ZLorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;II)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
areturn
13: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 12 end local 11 end local 10 end local 8 end local 7 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 14 0 this Lorg/apache/cassandra/db/ReadCommand$LegacyReadCommandSerializer;
0 14 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 14 2 version I
2 14 3 msgType Lorg/apache/cassandra/db/ReadCommand$LegacyType;
3 14 4 isDigest Z
4 14 5 keyspaceName Ljava/lang/String;
5 14 6 key Ljava/nio/ByteBuffer;
6 14 7 cfName Ljava/lang/String;
7 14 8 nowInMillis J
8 14 10 nowInSeconds I
9 14 11 metadata Lorg/apache/cassandra/config/CFMetaData;
10 14 12 dk Lorg/apache/cassandra/db/DecoratedKey;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
version
public long serializedSize(org.apache.cassandra.db.ReadCommand, int);
descriptor: (Lorg/apache/cassandra/db/ReadCommand;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$assertionsDisabled:Z
ifne 1
iload 2
bipush 10
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$assertionsDisabled:Z
ifne 2
aload 1
getfield org.apache.cassandra.db.ReadCommand.kind:Lorg/apache/cassandra/db/ReadCommand$Kind;
getstatic org.apache.cassandra.db.ReadCommand$Kind.SINGLE_PARTITION:Lorg/apache/cassandra/db/ReadCommand$Kind;
if_acmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.db.SinglePartitionReadCommand
astore 3
start local 3 3: aload 3
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.maybeConvertNamesToSlice:(Lorg/apache/cassandra/db/SinglePartitionReadCommand;)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
astore 3
4: aload 3
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 4
start local 4 5: aload 3
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
astore 5
start local 5 6: lconst_1
lstore 6
start local 6 7: lload 6
aload 1
invokevirtual org.apache.cassandra.db.ReadCommand.isDigestQuery:()Z
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(Z)I
i2l
ladd
lstore 6
8: lload 6
aload 5
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(Ljava/lang/String;)I
i2l
ladd
lstore 6
9: lload 6
iload 4
i2s
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(S)I
iload 4
iadd
i2l
ladd
lstore 6
10: lload 6
aload 1
invokevirtual org.apache.cassandra.db.ReadCommand.nowInSec:()I
i2l
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(J)I
i2l
ladd
lstore 6
11: aload 3
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
invokeinterface org.apache.cassandra.db.filter.ClusteringIndexFilter.kind:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter$Kind;
getstatic org.apache.cassandra.db.filter.ClusteringIndexFilter$Kind.SLICE:Lorg/apache/cassandra/db/filter/ClusteringIndexFilter$Kind;
if_acmpne 13
12: lload 6
aload 0
aload 3
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializedSliceCommandSize:(Lorg/apache/cassandra/db/SinglePartitionReadCommand;)J
ladd
lreturn
13: StackMap locals: org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer org.apache.cassandra.db.ReadCommand int org.apache.cassandra.db.SinglePartitionReadCommand int org.apache.cassandra.config.CFMetaData long
StackMap stack:
lload 6
aload 0
aload 3
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializedNamesCommandSize:(Lorg/apache/cassandra/db/SinglePartitionReadCommand;)J
ladd
lreturn
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 14 0 this Lorg/apache/cassandra/db/ReadCommand$LegacyReadCommandSerializer;
0 14 1 command Lorg/apache/cassandra/db/ReadCommand;
0 14 2 version I
3 14 3 singleReadCommand Lorg/apache/cassandra/db/SinglePartitionReadCommand;
5 14 4 keySize I
6 14 5 metadata Lorg/apache/cassandra/config/CFMetaData;
7 14 6 size J
MethodParameters:
Name Flags
command
version
private void serializeNamesCommand(org.apache.cassandra.db.SinglePartitionReadCommand, org.apache.cassandra.io.util.DataOutputPlus);
descriptor: (Lorg/apache/cassandra/db/SinglePartitionReadCommand;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
checkcast org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
aload 2
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializeNamesFilter:(Lorg/apache/cassandra/db/ReadCommand;Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ReadCommand$LegacyReadCommandSerializer;
0 2 1 command Lorg/apache/cassandra/db/SinglePartitionReadCommand;
0 2 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
command
out
private static void serializeNamesFilter(org.apache.cassandra.db.ReadCommand, org.apache.cassandra.db.filter.ClusteringIndexNamesFilter, org.apache.cassandra.io.util.DataOutputPlus);
descriptor: (Lorg/apache/cassandra/db/ReadCommand;Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.cassandra.db.ReadCommand.columnFilter:()Lorg/apache/cassandra/db/filter/ColumnFilter;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter.fetchedColumns:()Lorg/apache/cassandra/db/PartitionColumns;
astore 3
start local 3 1: aload 0
invokevirtual org.apache.cassandra.db.ReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
astore 4
start local 4 2: aload 1
invokevirtual org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.requestedRows:()Ljava/util/NavigableSet;
astore 5
start local 5 3: aload 5
invokeinterface java.util.SortedSet.isEmpty:()Z
ifeq 10
4: aload 2
aload 3
invokevirtual org.apache.cassandra.db.PartitionColumns.size:()I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
5: aload 3
invokevirtual org.apache.cassandra.db.PartitionColumns.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.apache.cassandra.db.ReadCommand org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.PartitionColumns org.apache.cassandra.config.CFMetaData java.util.SortedSet top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 6
start local 6 7: aload 6
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: goto 18
10: StackMap locals: org.apache.cassandra.db.ReadCommand org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.PartitionColumns org.apache.cassandra.config.CFMetaData java.util.SortedSet
StackMap stack:
aload 2
aload 5
invokeinterface java.util.SortedSet.size:()I
aload 3
invokevirtual org.apache.cassandra.db.PartitionColumns.size:()I
imul
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
11: aload 5
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 7
goto 17
StackMap locals: org.apache.cassandra.db.ReadCommand org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.PartitionColumns org.apache.cassandra.config.CFMetaData java.util.SortedSet top java.util.Iterator
StackMap stack:
12: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Clustering
astore 6
start local 6 13: aload 3
invokevirtual org.apache.cassandra.db.PartitionColumns.iterator:()Ljava/util/Iterator;
astore 9
goto 16
StackMap locals: org.apache.cassandra.db.ReadCommand org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.PartitionColumns org.apache.cassandra.config.CFMetaData java.util.SortedSet org.apache.cassandra.db.Clustering java.util.Iterator top java.util.Iterator
StackMap stack:
14: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 8
start local 8 15: aload 4
aload 6
aload 8
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
aconst_null
invokestatic org.apache.cassandra.db.LegacyLayout.encodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/ClusteringPrefix;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
end local 8 16: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 6 17: StackMap locals: org.apache.cassandra.db.ReadCommand org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.PartitionColumns org.apache.cassandra.config.CFMetaData java.util.SortedSet top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
18: StackMap locals: org.apache.cassandra.db.ReadCommand org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.PartitionColumns org.apache.cassandra.config.CFMetaData java.util.SortedSet
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.db.ReadCommand.isForThrift:()Z
ifne 19
aload 0
invokevirtual org.apache.cassandra.db.ReadCommand.limits:()Lorg/apache/cassandra/db/filter/DataLimits;
invokevirtual org.apache.cassandra.db.filter.DataLimits.kind:()Lorg/apache/cassandra/db/filter/DataLimits$Kind;
getstatic org.apache.cassandra.db.filter.DataLimits$Kind.CQL_LIMIT:Lorg/apache/cassandra/db/filter/DataLimits$Kind;
if_acmpne 20
aload 0
invokevirtual org.apache.cassandra.db.ReadCommand.limits:()Lorg/apache/cassandra/db/filter/DataLimits;
invokevirtual org.apache.cassandra.db.filter.DataLimits.perPartitionCount:()I
iconst_1
if_icmpne 20
19: StackMap locals:
StackMap stack:
aload 2
iconst_0
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeBoolean:(Z)V
goto 21
20: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeBoolean:(Z)V
21: StackMap locals:
StackMap stack:
return
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 22 0 command Lorg/apache/cassandra/db/ReadCommand;
0 22 1 filter Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;
0 22 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
1 22 3 columns Lorg/apache/cassandra/db/PartitionColumns;
2 22 4 metadata Lorg/apache/cassandra/config/CFMetaData;
3 22 5 requestedRows Ljava/util/SortedSet<Lorg/apache/cassandra/db/Clustering;>;
7 8 6 column Lorg/apache/cassandra/config/ColumnDefinition;
13 17 6 clustering Lorg/apache/cassandra/db/Clustering;
15 16 8 column Lorg/apache/cassandra/config/ColumnDefinition;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
command
filter
out
static long serializedNamesFilterSize(org.apache.cassandra.db.filter.ClusteringIndexNamesFilter, org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.PartitionColumns);
descriptor: (Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/PartitionColumns;)J
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.requestedRows:()Ljava/util/NavigableSet;
astore 3
start local 3 1: lconst_0
lstore 4
start local 4 2: aload 3
invokeinterface java.util.SortedSet.isEmpty:()Z
ifeq 9
3: lload 4
aload 2
invokevirtual org.apache.cassandra.db.PartitionColumns.size:()I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
i2l
ladd
lstore 4
4: aload 2
invokevirtual org.apache.cassandra.db.PartitionColumns.iterator:()Ljava/util/Iterator;
astore 7
goto 7
StackMap locals: org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.PartitionColumns java.util.SortedSet long top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 6
start local 6 6: lload 4
aload 6
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithShortLength:(Ljava/nio/ByteBuffer;)I
i2l
ladd
lstore 4
end local 6 7: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: goto 17
9: StackMap locals: org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.PartitionColumns java.util.SortedSet long
StackMap stack:
lload 4
aload 3
invokeinterface java.util.SortedSet.size:()I
aload 2
invokevirtual org.apache.cassandra.db.PartitionColumns.size:()I
imul
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
i2l
ladd
lstore 4
10: aload 3
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 7
goto 16
StackMap locals: org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.PartitionColumns java.util.SortedSet long top java.util.Iterator
StackMap stack:
11: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Clustering
astore 6
start local 6 12: aload 2
invokevirtual org.apache.cassandra.db.PartitionColumns.iterator:()Ljava/util/Iterator;
astore 9
goto 15
StackMap locals: org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.PartitionColumns java.util.SortedSet long org.apache.cassandra.db.Clustering java.util.Iterator top java.util.Iterator
StackMap stack:
13: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 8
start local 8 14: lload 4
aload 1
aload 6
aload 8
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
aconst_null
invokestatic org.apache.cassandra.db.LegacyLayout.encodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/ClusteringPrefix;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithShortLength:(Ljava/nio/ByteBuffer;)I
i2l
ladd
lstore 4
end local 8 15: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
end local 6 16: StackMap locals: org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.PartitionColumns java.util.SortedSet long top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
17: StackMap locals: org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.PartitionColumns java.util.SortedSet long
StackMap stack:
lload 4
iconst_1
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(Z)I
i2l
ladd
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 filter Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;
0 18 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 18 2 fetchedColumns Lorg/apache/cassandra/db/PartitionColumns;
1 18 3 requestedRows Ljava/util/SortedSet<Lorg/apache/cassandra/db/Clustering;>;
2 18 4 size J
6 7 6 column Lorg/apache/cassandra/config/ColumnDefinition;
12 16 6 clustering Lorg/apache/cassandra/db/Clustering;
14 15 8 column Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
filter
metadata
fetchedColumns
private org.apache.cassandra.db.SinglePartitionReadCommand deserializeNamesCommand(org.apache.cassandra.io.util.DataInputPlus, boolean, org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.DecoratedKey, int, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;ZLorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;II)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
aload 3
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.deserializeNamesSelectionAndFilter:(Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/utils/Pair;
astore 7
start local 7 1: iload 2
iload 6
aload 3
iload 5
aload 7
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.db.filter.ColumnFilter
aload 4
aload 7
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
invokestatic org.apache.cassandra.db.SinglePartitionReadCommand.legacyNamesCommand:(ZILorg/apache/cassandra/config/CFMetaData;ILorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
areturn
end local 7 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 2 0 this Lorg/apache/cassandra/db/ReadCommand$LegacyReadCommandSerializer;
0 2 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 2 2 isDigest Z
0 2 3 metadata Lorg/apache/cassandra/config/CFMetaData;
0 2 4 key Lorg/apache/cassandra/db/DecoratedKey;
0 2 5 nowInSeconds I
0 2 6 version I
1 2 7 selectionAndFilter Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
isDigest
metadata
key
nowInSeconds
version
static org.apache.cassandra.utils.Pair<org.apache.cassandra.db.filter.ColumnFilter, org.apache.cassandra.db.filter.ClusteringIndexNamesFilter> deserializeNamesSelectionAndFilter(org.apache.cassandra.io.util.DataInputPlus, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/utils/Pair;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readInt:()I
istore 2
start local 2 1: new java.util.TreeSet
dup
aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 3
start local 3 2: invokestatic org.apache.cassandra.db.filter.ColumnFilter.selectionBuilder:()Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 22
5: StackMap locals: org.apache.cassandra.io.util.DataInputPlus org.apache.cassandra.config.CFMetaData int java.util.NavigableSet org.apache.cassandra.db.filter.ColumnFilter$Builder int
StackMap stack:
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
astore 6
start local 6 6: aload 1
aload 6
invokestatic org.apache.cassandra.db.LegacyLayout.decodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
astore 7
start local 7 7: goto 15
end local 7 8: StackMap locals: org.apache.cassandra.io.util.DataInputPlus org.apache.cassandra.config.CFMetaData int java.util.NavigableSet org.apache.cassandra.db.filter.ColumnFilter$Builder int java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.db.UnknownColumnException
pop
9: new org.apache.cassandra.db.UnknownColumnFamilyException
dup
10: new java.lang.StringBuilder
dup
ldc "Received legacy range read command with names filter for unrecognized column name. Fill name in filter (hex): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 6
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: aload 1
getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
14: invokespecial org.apache.cassandra.db.UnknownColumnFamilyException.<init>:(Ljava/lang/String;Ljava/util/UUID;)V
athrow
start local 7 15: StackMap locals: org.apache.cassandra.db.LegacyLayout$LegacyCellName
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isStaticCompactTable:()Z
ifeq 19
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 19
16: aload 3
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
aastore
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
invokeinterface java.util.NavigableSet.add:(Ljava/lang/Object;)Z
pop
17: aload 4
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.compactValueColumn:()Lorg/apache/cassandra/config/ColumnDefinition;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
18: goto 20
19: StackMap locals:
StackMap stack:
aload 3
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
invokeinterface java.util.NavigableSet.add:(Ljava/lang/Object;)Z
pop
20: StackMap locals:
StackMap stack:
aload 4
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.column:Lorg/apache/cassandra/config/ColumnDefinition;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
end local 7 end local 6 21: iinc 5 1
StackMap locals:
StackMap stack:
22: iload 5
iload 2
if_icmplt 5
end local 5 23: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isStaticCompactTable:()Z
ifeq 25
aload 3
invokeinterface java.util.NavigableSet.isEmpty:()Z
ifeq 25
24: aload 4
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.addAll:(Ljava/lang/Iterable;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
25: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readBoolean:()Z
pop
26: new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
aload 3
iconst_0
invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
astore 5
start local 5 27: aload 4
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.build:()Lorg/apache/cassandra/db/filter/ColumnFilter;
aload 5
invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
areturn
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 28 0 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 28 1 metadata Lorg/apache/cassandra/config/CFMetaData;
1 28 2 numCellNames I
2 28 3 clusterings Ljava/util/NavigableSet<Lorg/apache/cassandra/db/Clustering;>;
3 28 4 selectionBuilder Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
4 23 5 i I
6 21 6 buffer Ljava/nio/ByteBuffer;
7 8 7 cellName Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
15 21 7 cellName Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
27 28 5 filter Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;
Exception table:
from to target type
6 7 8 Class org.apache.cassandra.db.UnknownColumnException
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;>;
MethodParameters:
Name Flags
in
metadata
private long serializedNamesCommandSize(org.apache.cassandra.db.SinglePartitionReadCommand);
descriptor: (Lorg/apache/cassandra/db/SinglePartitionReadCommand;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
checkcast org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
astore 2
start local 2 1: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.columnFilter:()Lorg/apache/cassandra/db/filter/ColumnFilter;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter.fetchedColumns:()Lorg/apache/cassandra/db/PartitionColumns;
astore 3
start local 3 2: aload 2
aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
aload 3
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializedNamesFilterSize:(Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/PartitionColumns;)J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ReadCommand$LegacyReadCommandSerializer;
0 3 1 command Lorg/apache/cassandra/db/SinglePartitionReadCommand;
1 3 2 filter Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;
2 3 3 columns Lorg/apache/cassandra/db/PartitionColumns;
MethodParameters:
Name Flags
command
private void serializeSliceCommand(org.apache.cassandra.db.SinglePartitionReadCommand, org.apache.cassandra.io.util.DataOutputPlus);
descriptor: (Lorg/apache/cassandra/db/SinglePartitionReadCommand;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
astore 3
start local 3 1: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
checkcast org.apache.cassandra.db.filter.ClusteringIndexSliceFilter
astore 4
start local 4 2: aload 4
invokevirtual org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.requestedSlices:()Lorg/apache/cassandra/db/Slices;
astore 5
start local 5 3: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.columnFilter:()Lorg/apache/cassandra/db/filter/ColumnFilter;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter.fetchedColumns:()Lorg/apache/cassandra/db/PartitionColumns;
getfield org.apache.cassandra.db.PartitionColumns.statics:Lorg/apache/cassandra/db/Columns;
invokevirtual org.apache.cassandra.db.Columns.isEmpty:()Z
ifne 4
aload 5
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
invokevirtual org.apache.cassandra.db.Slices.selects:(Lorg/apache/cassandra/db/Clustering;)Z
ifne 4
iconst_1
goto 5
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.filter.ClusteringIndexSliceFilter org.apache.cassandra.db.Slices
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 6
start local 6 6: aload 2
aload 5
aload 4
invokevirtual org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.isReversed:()Z
iload 6
aload 3
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializeSlices:(Lorg/apache/cassandra/io/util/DataOutputPlus;Lorg/apache/cassandra/db/Slices;ZZLorg/apache/cassandra/config/CFMetaData;)V
7: aload 2
aload 4
invokevirtual org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.isReversed:()Z
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeBoolean:(Z)V
8: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.columnFilter:()Lorg/apache/cassandra/db/filter/ColumnFilter;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter.fetchedColumns:()Lorg/apache/cassandra/db/PartitionColumns;
getfield org.apache.cassandra.db.PartitionColumns.statics:Lorg/apache/cassandra/db/Columns;
invokevirtual org.apache.cassandra.db.Columns.isEmpty:()Z
ifeq 9
aload 5
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
invokevirtual org.apache.cassandra.db.Slices.selects:(Lorg/apache/cassandra/db/Clustering;)Z
ifne 9
iconst_0
goto 10
StackMap locals: int
StackMap stack:
9: iconst_1
StackMap locals:
StackMap stack: int
10: istore 7
start local 7 11: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.limits:()Lorg/apache/cassandra/db/filter/DataLimits;
astore 8
start local 8 12: aload 8
invokevirtual org.apache.cassandra.db.filter.DataLimits.isDistinct:()Z
ifeq 14
13: aload 2
iconst_1
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
goto 15
14: StackMap locals: int org.apache.cassandra.db.filter.DataLimits
StackMap stack:
aload 2
aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.limits:()Lorg/apache/cassandra/db/filter/DataLimits;
invokevirtual org.apache.cassandra.db.filter.DataLimits.count:()I
aload 4
invokevirtual org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.requestedSlices:()Lorg/apache/cassandra/db/Slices;
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.updateLimitForQuery:(ILorg/apache/cassandra/db/Slices;)I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
15: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.filter.DataLimits.kind:()Lorg/apache/cassandra/db/filter/DataLimits$Kind;
getstatic org.apache.cassandra.db.filter.DataLimits$Kind.THRIFT_LIMIT:Lorg/apache/cassandra/db/filter/DataLimits$Kind;
if_acmpeq 16
aload 3
invokevirtual org.apache.cassandra.config.CFMetaData.isDense:()Z
ifeq 18
16: StackMap locals:
StackMap stack:
iconst_m1
istore 9
start local 9 17: goto 22
end local 9 18: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.db.filter.DataLimits.isDistinct:()Z
ifeq 21
iload 7
ifne 21
19: bipush -2
istore 9
start local 9 20: goto 22
end local 9 21: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 9
start local 9 22: StackMap locals: int
StackMap stack:
aload 2
iload 9
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
23: return
end local 9 end local 8 end local 7 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 24 0 this Lorg/apache/cassandra/db/ReadCommand$LegacyReadCommandSerializer;
0 24 1 command Lorg/apache/cassandra/db/SinglePartitionReadCommand;
0 24 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
1 24 3 metadata Lorg/apache/cassandra/config/CFMetaData;
2 24 4 filter Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;
3 24 5 slices Lorg/apache/cassandra/db/Slices;
6 24 6 makeStaticSlice Z
11 24 7 selectsStatics Z
12 24 8 limits Lorg/apache/cassandra/db/filter/DataLimits;
17 18 9 compositesToGroup I
20 21 9 compositesToGroup I
22 24 9 compositesToGroup I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
command
out
private org.apache.cassandra.db.SinglePartitionReadCommand deserializeSliceCommand(org.apache.cassandra.io.util.DataInputPlus, boolean, org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.DecoratedKey, int, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;ZLorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;II)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=14, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
aload 3
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.deserializeSlicePartitionFilter:(Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/utils/Pair;
astore 7
start local 7 1: aload 7
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.db.filter.ClusteringIndexSliceFilter
astore 8
start local 8 2: aload 7
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 9
start local 9 3: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readInt:()I
istore 10
start local 10 4: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readInt:()I
istore 11
start local 11 5: iload 9
iload 11
aload 3
invokestatic org.apache.cassandra.db.ReadCommand$LegacyRangeSliceCommandSerializer.getColumnSelectionForSlice:(ZILorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 12
start local 12 6: iload 11
bipush -2
if_icmpne 9
7: iload 10
invokestatic org.apache.cassandra.db.filter.DataLimits.distinctLimits:(I)Lorg/apache/cassandra/db/filter/DataLimits;
astore 13
start local 13 8: goto 13
end local 13 9: StackMap locals: org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer org.apache.cassandra.io.util.DataInputPlus int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.DecoratedKey int int org.apache.cassandra.utils.Pair org.apache.cassandra.db.filter.ClusteringIndexSliceFilter int int int org.apache.cassandra.db.filter.ColumnFilter
StackMap stack:
iload 11
iconst_m1
if_icmpne 12
10: iconst_1
iload 10
invokestatic org.apache.cassandra.db.filter.DataLimits.thriftLimits:(II)Lorg/apache/cassandra/db/filter/DataLimits;
astore 13
start local 13 11: goto 13
end local 13 12: StackMap locals:
StackMap stack:
iload 10
invokestatic org.apache.cassandra.db.filter.DataLimits.cqlLimits:(I)Lorg/apache/cassandra/db/filter/DataLimits;
astore 13
start local 13 13: StackMap locals: org.apache.cassandra.db.filter.DataLimits
StackMap stack:
iload 2
iload 6
aload 3
iload 5
aload 12
aload 13
aload 4
aload 8
invokestatic org.apache.cassandra.db.SinglePartitionReadCommand.legacySliceCommand:(ZILorg/apache/cassandra/config/CFMetaData;ILorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/filter/DataLimits;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
areturn
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 14 0 this Lorg/apache/cassandra/db/ReadCommand$LegacyReadCommandSerializer;
0 14 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 14 2 isDigest Z
0 14 3 metadata Lorg/apache/cassandra/config/CFMetaData;
0 14 4 key Lorg/apache/cassandra/db/DecoratedKey;
0 14 5 nowInSeconds I
0 14 6 version I
1 14 7 p Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;Ljava/lang/Boolean;>;
2 14 8 filter Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;
3 14 9 selectsStatics Z
4 14 10 count I
5 14 11 compositesToGroup I
6 14 12 columnFilter Lorg/apache/cassandra/db/filter/ColumnFilter;
8 9 13 limits Lorg/apache/cassandra/db/filter/DataLimits;
11 12 13 limits Lorg/apache/cassandra/db/filter/DataLimits;
13 14 13 limits Lorg/apache/cassandra/db/filter/DataLimits;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
isDigest
metadata
key
nowInSeconds
version
private long serializedSliceCommandSize(org.apache.cassandra.db.SinglePartitionReadCommand);
descriptor: (Lorg/apache/cassandra/db/SinglePartitionReadCommand;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
astore 2
start local 2 1: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
checkcast org.apache.cassandra.db.filter.ClusteringIndexSliceFilter
astore 3
start local 3 2: aload 3
invokevirtual org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.requestedSlices:()Lorg/apache/cassandra/db/Slices;
astore 4
start local 4 3: aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.columnFilter:()Lorg/apache/cassandra/db/filter/ColumnFilter;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter.fetchedColumns:()Lorg/apache/cassandra/db/PartitionColumns;
getfield org.apache.cassandra.db.PartitionColumns.statics:Lorg/apache/cassandra/db/Columns;
invokevirtual org.apache.cassandra.db.Columns.isEmpty:()Z
ifne 4
aload 4
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
invokevirtual org.apache.cassandra.db.Slices.selects:(Lorg/apache/cassandra/db/Clustering;)Z
ifne 4
iconst_1
goto 5
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.filter.ClusteringIndexSliceFilter org.apache.cassandra.db.Slices
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 5
start local 5 6: aload 4
iload 5
aload 2
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializedSlicesSize:(Lorg/apache/cassandra/db/Slices;ZLorg/apache/cassandra/config/CFMetaData;)J
lstore 6
start local 6 7: lload 6
aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
invokeinterface org.apache.cassandra.db.filter.ClusteringIndexFilter.isReversed:()Z
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(Z)I
i2l
ladd
lstore 6
8: lload 6
aload 1
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.limits:()Lorg/apache/cassandra/db/filter/DataLimits;
invokevirtual org.apache.cassandra.db.filter.DataLimits.count:()I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
i2l
ladd
lstore 6
9: lload 6
iconst_0
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
i2l
ladd
lreturn
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/db/ReadCommand$LegacyReadCommandSerializer;
0 10 1 command Lorg/apache/cassandra/db/SinglePartitionReadCommand;
1 10 2 metadata Lorg/apache/cassandra/config/CFMetaData;
2 10 3 filter Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;
3 10 4 slices Lorg/apache/cassandra/db/Slices;
6 10 5 makeStaticSlice Z
7 10 6 size J
MethodParameters:
Name Flags
command
static void serializeSlices(org.apache.cassandra.io.util.DataOutputPlus, org.apache.cassandra.db.Slices, boolean, boolean, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/io/util/DataOutputPlus;Lorg/apache/cassandra/db/Slices;ZZLorg/apache/cassandra/config/CFMetaData;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual org.apache.cassandra.db.Slices.size:()I
iload 3
ifeq 1
iconst_1
goto 2
StackMap locals: org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.Slices int int org.apache.cassandra.config.CFMetaData
StackMap stack: org.apache.cassandra.io.util.DataOutputPlus int
1: iconst_0
StackMap locals: org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.Slices int int org.apache.cassandra.config.CFMetaData
StackMap stack: org.apache.cassandra.io.util.DataOutputPlus int int
2: iadd
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
3: iload 2
ifeq 12
4: aload 1
invokevirtual org.apache.cassandra.db.Slices.size:()I
iconst_1
isub
istore 5
start local 5 5: goto 8
6: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 5
invokevirtual org.apache.cassandra.db.Slices.get:(I)Lorg/apache/cassandra/db/Slice;
iconst_1
aload 4
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializeSlice:(Lorg/apache/cassandra/io/util/DataOutputPlus;Lorg/apache/cassandra/db/Slice;ZLorg/apache/cassandra/config/CFMetaData;)V
7: iinc 5 -1
StackMap locals:
StackMap stack:
8: iload 5
ifge 6
end local 5 9: iload 3
ifeq 18
10: aload 0
iconst_1
aload 4
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializeStaticSlice:(Lorg/apache/cassandra/io/util/DataOutputPlus;ZLorg/apache/cassandra/config/CFMetaData;)V
11: goto 18
12: StackMap locals:
StackMap stack:
iload 3
ifeq 14
13: aload 0
iconst_0
aload 4
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializeStaticSlice:(Lorg/apache/cassandra/io/util/DataOutputPlus;ZLorg/apache/cassandra/config/CFMetaData;)V
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.db.Slices.iterator:()Ljava/util/Iterator;
astore 6
goto 17
StackMap locals: org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.Slices int int org.apache.cassandra.config.CFMetaData top java.util.Iterator
StackMap stack:
15: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice
astore 5
start local 5 16: aload 0
aload 5
iconst_0
aload 4
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializeSlice:(Lorg/apache/cassandra/io/util/DataOutputPlus;Lorg/apache/cassandra/db/Slice;ZLorg/apache/cassandra/config/CFMetaData;)V
end local 5 17: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: StackMap locals: org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.Slices int int org.apache.cassandra.config.CFMetaData
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 19 1 slices Lorg/apache/cassandra/db/Slices;
0 19 2 isReversed Z
0 19 3 makeStaticSlice Z
0 19 4 metadata Lorg/apache/cassandra/config/CFMetaData;
5 9 5 i I
16 17 5 slice Lorg/apache/cassandra/db/Slice;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
slices
isReversed
makeStaticSlice
metadata
static long serializedSlicesSize(org.apache.cassandra.db.Slices, boolean, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/db/Slices;ZLorg/apache/cassandra/config/CFMetaData;)J
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.cassandra.db.Slices.size:()I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
i2l
lstore 3
start local 3 1: aload 0
invokevirtual org.apache.cassandra.db.Slices.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.apache.cassandra.db.Slices int org.apache.cassandra.config.CFMetaData long top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice
astore 5
start local 5 3: aload 2
aload 5
invokevirtual org.apache.cassandra.db.Slice.start:()Lorg/apache/cassandra/db/ClusteringBound;
iconst_1
invokestatic org.apache.cassandra.db.LegacyLayout.encodeBound:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/ClusteringBound;Z)Ljava/nio/ByteBuffer;
astore 7
start local 7 4: lload 3
aload 7
invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithShortLength:(Ljava/nio/ByteBuffer;)I
i2l
ladd
lstore 3
5: aload 2
aload 5
invokevirtual org.apache.cassandra.db.Slice.end:()Lorg/apache/cassandra/db/ClusteringBound;
iconst_0
invokestatic org.apache.cassandra.db.LegacyLayout.encodeBound:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/ClusteringBound;Z)Ljava/nio/ByteBuffer;
astore 8
start local 8 6: lload 3
aload 8
invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithShortLength:(Ljava/nio/ByteBuffer;)I
i2l
ladd
lstore 3
end local 8 end local 7 end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: iload 1
ifeq 10
9: lload 3
aload 2
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializedStaticSliceSize:(Lorg/apache/cassandra/config/CFMetaData;)J
ladd
lstore 3
10: StackMap locals: org.apache.cassandra.db.Slices int org.apache.cassandra.config.CFMetaData long
StackMap stack:
lload 3
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 slices Lorg/apache/cassandra/db/Slices;
0 11 1 makeStaticSlice Z
0 11 2 metadata Lorg/apache/cassandra/config/CFMetaData;
1 11 3 size J
3 7 5 slice Lorg/apache/cassandra/db/Slice;
4 7 7 sliceStart Ljava/nio/ByteBuffer;
6 7 8 sliceEnd Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
slices
makeStaticSlice
metadata
static long serializedStaticSliceSize(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)J
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.db.ClusteringBound.BOTTOM:Lorg/apache/cassandra/db/ClusteringBound;
iconst_0
invokestatic org.apache.cassandra.db.LegacyLayout.encodeBound:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/ClusteringBound;Z)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithShortLength:(Ljava/nio/ByteBuffer;)I
i2l
lstore 2
start local 2 2: lload 2
aload 0
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
iconst_3
imul
iconst_2
iadd
i2s
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(S)I
i2l
ladd
lstore 2
3: lload 2
iconst_m1
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(S)I
i2l
ladd
lstore 2
4: iconst_0
istore 4
start local 4 5: goto 9
6: StackMap locals: java.nio.ByteBuffer long int
StackMap stack:
lload 2
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.serializedSizeWithShortLength:(Ljava/nio/ByteBuffer;)I
i2l
ladd
lstore 2
7: lload 2
lconst_1
ladd
lstore 2
8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 0
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
if_icmplt 6
end local 4 10: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 metadata Lorg/apache/cassandra/config/CFMetaData;
1 11 1 sliceStart Ljava/nio/ByteBuffer;
2 11 2 size J
5 10 4 i I
MethodParameters:
Name Flags
metadata
private static void serializeSlice(org.apache.cassandra.io.util.DataOutputPlus, org.apache.cassandra.db.Slice, boolean, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/io/util/DataOutputPlus;Lorg/apache/cassandra/db/Slice;ZLorg/apache/cassandra/config/CFMetaData;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
iload 2
ifeq 1
aload 1
invokevirtual org.apache.cassandra.db.Slice.end:()Lorg/apache/cassandra/db/ClusteringBound;
goto 2
StackMap locals:
StackMap stack: org.apache.cassandra.config.CFMetaData
1: aload 1
invokevirtual org.apache.cassandra.db.Slice.start:()Lorg/apache/cassandra/db/ClusteringBound;
StackMap locals: org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.Slice int org.apache.cassandra.config.CFMetaData
StackMap stack: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ClusteringBound
2: iload 2
ifeq 3
iconst_0
goto 4
StackMap locals: org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.Slice int org.apache.cassandra.config.CFMetaData
StackMap stack: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ClusteringBound
3: iconst_1
StackMap locals: org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.Slice int org.apache.cassandra.config.CFMetaData
StackMap stack: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ClusteringBound int
4: invokestatic org.apache.cassandra.db.LegacyLayout.encodeBound:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/ClusteringBound;Z)Ljava/nio/ByteBuffer;
astore 4
start local 4 5: aload 4
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
6: aload 3
iload 2
ifeq 7
aload 1
invokevirtual org.apache.cassandra.db.Slice.start:()Lorg/apache/cassandra/db/ClusteringBound;
goto 8
StackMap locals: org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.Slice int org.apache.cassandra.config.CFMetaData java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.config.CFMetaData
7: aload 1
invokevirtual org.apache.cassandra.db.Slice.end:()Lorg/apache/cassandra/db/ClusteringBound;
StackMap locals: org.apache.cassandra.io.util.DataOutputPlus org.apache.cassandra.db.Slice int org.apache.cassandra.config.CFMetaData java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ClusteringBound
8: iload 2
invokestatic org.apache.cassandra.db.LegacyLayout.encodeBound:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/ClusteringBound;Z)Ljava/nio/ByteBuffer;
astore 5
start local 5 9: aload 5
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
10: return
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 11 0 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 11 1 slice Lorg/apache/cassandra/db/Slice;
0 11 2 isReversed Z
0 11 3 metadata Lorg/apache/cassandra/config/CFMetaData;
5 11 4 sliceStart Ljava/nio/ByteBuffer;
9 11 5 sliceEnd Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
slice
isReversed
metadata
private static void serializeStaticSlice(org.apache.cassandra.io.util.DataOutputPlus, boolean, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/io/util/DataOutputPlus;ZLorg/apache/cassandra/config/CFMetaData;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 3
1: aload 2
getstatic org.apache.cassandra.db.ClusteringBound.BOTTOM:Lorg/apache/cassandra/db/ClusteringBound;
iconst_0
invokestatic org.apache.cassandra.db.LegacyLayout.encodeBound:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/ClusteringBound;Z)Ljava/nio/ByteBuffer;
astore 3
start local 3 2: aload 3
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
end local 3 3: StackMap locals:
StackMap stack:
aload 0
iconst_2
aload 2
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
iconst_3
imul
iadd
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeShort:(I)V
4: aload 0
ldc 65535
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeShort:(I)V
5: iconst_0
istore 3
start local 3 6: goto 12
7: StackMap locals: int
StackMap stack:
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
8: aload 0
iload 3
aload 2
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
iconst_1
isub
if_icmpne 9
iconst_1
goto 10
StackMap locals:
StackMap stack: org.apache.cassandra.io.util.DataOutputPlus
9: iconst_0
StackMap locals: org.apache.cassandra.io.util.DataOutputPlus int org.apache.cassandra.config.CFMetaData int
StackMap stack: org.apache.cassandra.io.util.DataOutputPlus int
10: invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeByte:(I)V
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 2
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
if_icmplt 7
end local 3 13: iload 1
ifeq 16
14: aload 2
getstatic org.apache.cassandra.db.ClusteringBound.BOTTOM:Lorg/apache/cassandra/db/ClusteringBound;
iconst_0
invokestatic org.apache.cassandra.db.LegacyLayout.encodeBound:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/ClusteringBound;Z)Ljava/nio/ByteBuffer;
astore 3
start local 3 15: aload 3
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 17 1 isReversed Z
0 17 2 metadata Lorg/apache/cassandra/config/CFMetaData;
2 3 3 sliceStart Ljava/nio/ByteBuffer;
6 13 3 i I
15 16 3 sliceStart Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
isReversed
metadata
static org.apache.cassandra.utils.Pair<org.apache.cassandra.db.filter.ClusteringIndexSliceFilter, java.lang.Boolean> deserializeSlicePartitionFilter(org.apache.cassandra.io.util.DataInputPlus, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/utils/Pair;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readInt:()I
istore 2
start local 2 1: iload 2
anewarray java.nio.ByteBuffer
astore 3
start local 3 2: iload 2
anewarray java.nio.ByteBuffer
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 8
5: StackMap locals: org.apache.cassandra.io.util.DataInputPlus org.apache.cassandra.config.CFMetaData int java.nio.ByteBuffer[] java.nio.ByteBuffer[] int
StackMap stack:
aload 3
iload 5
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
aastore
6: aload 4
iload 5
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength:(Ljava/io/DataInput;)Ljava/nio/ByteBuffer;
aastore
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 2
if_icmplt 5
end local 5 9: aload 0
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readBoolean:()Z
istore 5
start local 5 10: iload 5
ifeq 14
11: aload 4
astore 6
start local 6 12: aload 3
astore 4
13: aload 6
astore 3
end local 6 14: StackMap locals: org.apache.cassandra.io.util.DataInputPlus org.apache.cassandra.config.CFMetaData int java.nio.ByteBuffer[] java.nio.ByteBuffer[] int
StackMap stack:
iconst_0
istore 6
start local 6 15: new org.apache.cassandra.db.Slices$Builder
dup
aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokespecial org.apache.cassandra.db.Slices$Builder.<init>:(Lorg/apache/cassandra/db/ClusteringComparator;)V
astore 7
start local 7 16: iconst_0
istore 8
start local 8 17: goto 31
18: StackMap locals: int org.apache.cassandra.db.Slices$Builder int
StackMap stack:
aload 1
aload 3
iload 8
aaload
iconst_1
invokestatic org.apache.cassandra.db.LegacyLayout.decodeSliceBound:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Z)Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
astore 9
start local 9 19: aload 1
aload 4
iload 8
aaload
iconst_0
invokestatic org.apache.cassandra.db.LegacyLayout.decodeSliceBound:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Z)Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
astore 10
start local 10 20: aload 9
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.isStatic:Z
ifeq 25
21: getstatic org.apache.cassandra.db.LegacyLayout$LegacyBound.BOTTOM:Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
astore 9
22: aload 9
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.isInclusive:()Z
ifeq 27
23: iconst_1
istore 6
24: goto 27
25: StackMap locals: org.apache.cassandra.db.LegacyLayout$LegacyBound org.apache.cassandra.db.LegacyLayout$LegacyBound
StackMap stack:
aload 9
getstatic org.apache.cassandra.db.LegacyLayout$LegacyBound.BOTTOM:Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
if_acmpne 27
26: iconst_1
istore 6
27: StackMap locals:
StackMap stack:
aload 10
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.isStatic:Z
ifeq 29
28: getstatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$assertionsDisabled:Z
ifne 30
aload 10
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.isInclusive:()Z
ifne 30
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
29: StackMap locals:
StackMap stack:
aload 7
aload 9
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
aload 10
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokestatic org.apache.cassandra.db.Slice.make:(Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;)Lorg/apache/cassandra/db/Slice;
invokevirtual org.apache.cassandra.db.Slices$Builder.add:(Lorg/apache/cassandra/db/Slice;)Lorg/apache/cassandra/db/Slices$Builder;
pop
end local 10 end local 9 30: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
31: iload 8
iload 2
if_icmplt 18
end local 8 32: new org.apache.cassandra.db.filter.ClusteringIndexSliceFilter
dup
aload 7
invokevirtual org.apache.cassandra.db.Slices$Builder.build:()Lorg/apache/cassandra/db/Slices;
iload 5
invokespecial org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.<init>:(Lorg/apache/cassandra/db/Slices;Z)V
iload 6
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
areturn
end local 7 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 33 0 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 33 1 metadata Lorg/apache/cassandra/config/CFMetaData;
1 33 2 numSlices I
2 33 3 startBuffers [Ljava/nio/ByteBuffer;
3 33 4 finishBuffers [Ljava/nio/ByteBuffer;
4 9 5 i I
10 33 5 reversed Z
12 14 6 tmp [Ljava/nio/ByteBuffer;
15 33 6 selectsStatics Z
16 33 7 slicesBuilder Lorg/apache/cassandra/db/Slices$Builder;
17 32 8 i I
19 30 9 start Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
20 30 10 finish Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;Ljava/lang/Boolean;>;
MethodParameters:
Name Flags
in
metadata
private static org.apache.cassandra.db.SinglePartitionReadCommand maybeConvertNamesToSlice(org.apache.cassandra.db.SinglePartitionReadCommand);
descriptor: (Lorg/apache/cassandra/db/SinglePartitionReadCommand;)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
invokeinterface org.apache.cassandra.db.filter.ClusteringIndexFilter.kind:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter$Kind;
getstatic org.apache.cassandra.db.filter.ClusteringIndexFilter$Kind.NAMES:Lorg/apache/cassandra/db/filter/ClusteringIndexFilter$Kind;
if_acmpeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.metadata:()Lorg/apache/cassandra/config/CFMetaData;
astore 1
start local 1 3: aload 1
aload 0
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.columnFilter:()Lorg/apache/cassandra/db/filter/ColumnFilter;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter.fetchedColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.shouldConvertNamesToSlice:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/PartitionColumns;)Z
ifne 5
4: aload 0
areturn
5: StackMap locals: org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.clusteringIndexFilter:()Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
checkcast org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
astore 2
start local 2 6: aload 2
aload 1
invokestatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.convertNamesFilterToSliceFilter:(Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;
astore 3
start local 3 7: aload 0
aload 3
invokevirtual org.apache.cassandra.db.SinglePartitionReadCommand.withUpdatedClusteringIndexFilter:(Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 command Lorg/apache/cassandra/db/SinglePartitionReadCommand;
3 8 1 metadata Lorg/apache/cassandra/config/CFMetaData;
6 8 2 filter Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;
7 8 3 sliceFilter Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;
MethodParameters:
Name Flags
command
static boolean shouldConvertNamesToSlice(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.PartitionColumns);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/PartitionColumns;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.isDense:()Z
ifne 2
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.isCompound:()Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.db.PartitionColumns.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.PartitionColumns top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 2
start local 2 4: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isMultiCell:()Z
ifeq 6
5: iconst_1
ireturn
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 metadata Lorg/apache/cassandra/config/CFMetaData;
0 8 1 columns Lorg/apache/cassandra/db/PartitionColumns;
4 6 2 column Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
metadata
columns
private static org.apache.cassandra.db.filter.ClusteringIndexSliceFilter convertNamesFilterToSliceFilter(org.apache.cassandra.db.filter.ClusteringIndexNamesFilter, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.requestedRows:()Ljava/util/NavigableSet;
astore 2
start local 2 1: aload 2
invokeinterface java.util.SortedSet.isEmpty:()Z
ifeq 4
2: getstatic org.apache.cassandra.db.Slices.NONE:Lorg/apache/cassandra/db/Slices;
astore 3
start local 3 3: goto 13
end local 3 4: StackMap locals: java.util.SortedSet
StackMap stack:
aload 2
invokeinterface java.util.SortedSet.size:()I
iconst_1
if_icmpne 7
aload 2
invokeinterface java.util.SortedSet.first:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Clustering
invokeinterface org.apache.cassandra.db.Clustering.size:()I
ifne 7
5: getstatic org.apache.cassandra.db.Slices.ALL:Lorg/apache/cassandra/db/Slices;
astore 3
start local 3 6: goto 13
end local 3 7: StackMap locals:
StackMap stack:
new org.apache.cassandra.db.Slices$Builder
dup
aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokespecial org.apache.cassandra.db.Slices$Builder.<init>:(Lorg/apache/cassandra/db/ClusteringComparator;)V
astore 4
start local 4 8: aload 2
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.config.CFMetaData java.util.SortedSet top org.apache.cassandra.db.Slices$Builder top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Clustering
astore 5
start local 5 10: aload 4
aload 5
invokestatic org.apache.cassandra.db.ClusteringBound.inclusiveStartOf:(Lorg/apache/cassandra/db/ClusteringPrefix;)Lorg/apache/cassandra/db/ClusteringBound;
aload 5
invokestatic org.apache.cassandra.db.ClusteringBound.inclusiveEndOf:(Lorg/apache/cassandra/db/ClusteringPrefix;)Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.Slices$Builder.add:(Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;)Lorg/apache/cassandra/db/Slices$Builder;
pop
end local 5 11: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: aload 4
invokevirtual org.apache.cassandra.db.Slices$Builder.build:()Lorg/apache/cassandra/db/Slices;
astore 3
end local 4 start local 3 13: StackMap locals: org.apache.cassandra.db.filter.ClusteringIndexNamesFilter org.apache.cassandra.config.CFMetaData java.util.SortedSet org.apache.cassandra.db.Slices
StackMap stack:
new org.apache.cassandra.db.filter.ClusteringIndexSliceFilter
dup
aload 3
aload 0
invokevirtual org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.isReversed:()Z
invokespecial org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.<init>:(Lorg/apache/cassandra/db/Slices;Z)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 filter Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;
0 14 1 metadata Lorg/apache/cassandra/config/CFMetaData;
1 14 2 requestedRows Ljava/util/SortedSet<Lorg/apache/cassandra/db/Clustering;>;
3 4 3 slices Lorg/apache/cassandra/db/Slices;
6 7 3 slices Lorg/apache/cassandra/db/Slices;
13 14 3 slices Lorg/apache/cassandra/db/Slices;
8 13 4 slicesBuilder Lorg/apache/cassandra/db/Slices$Builder;
10 11 5 clustering Lorg/apache/cassandra/db/Clustering;
MethodParameters:
Name Flags
filter
metadata
static int updateLimitForQuery(int, org.apache.cassandra.db.Slices);
descriptor: (ILorg/apache/cassandra/db/Slices;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.cassandra.db.Slices.hasLowerBound:()Z
ifne 2
aload 1
invokevirtual org.apache.cassandra.db.Slices.hasUpperBound:()Z
ifne 2
1: iload 0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.db.Slices.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: int org.apache.cassandra.db.Slices top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice
astore 2
start local 2 4: iload 0
ldc 2147483647
if_icmpne 6
5: iload 0
ireturn
6: StackMap locals: int org.apache.cassandra.db.Slices org.apache.cassandra.db.Slice java.util.Iterator
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.db.Slice.start:()Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.isInclusive:()Z
ifne 8
7: iinc 0 1
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.db.Slice.end:()Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.isInclusive:()Z
ifne 10
9: iinc 0 1
end local 2 10: StackMap locals: int org.apache.cassandra.db.Slices top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: iload 0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 limit I
0 12 1 slices Lorg/apache/cassandra/db/Slices;
4 10 2 slice Lorg/apache/cassandra/db/Slice;
MethodParameters:
Name Flags
limit
slices
public void serialize(java.lang.Object, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/io/util/DataOutputPlus;I)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.db.ReadCommand
aload 2
iload 3
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serialize:(Lorg/apache/cassandra/db/ReadCommand;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public long serializedSize(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)J
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.db.ReadCommand
iload 2
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.serializedSize:(Lorg/apache/cassandra/db/ReadCommand;I)J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object deserialize(org.apache.cassandra.io.util.DataInputPlus, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
iload 2
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/db/ReadCommand;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
static int[] $SWITCH_TABLE$org$apache$cassandra$db$ReadCommand$LegacyType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$SWITCH_TABLE$org$apache$cassandra$db$ReadCommand$LegacyType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.db.ReadCommand$LegacyType.values:()[Lorg/apache/cassandra/db/ReadCommand$LegacyType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.db.ReadCommand$LegacyType.GET_BY_NAMES:Lorg/apache/cassandra/db/ReadCommand$LegacyType;
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.db.ReadCommand$LegacyType.GET_SLICES:Lorg/apache/cassandra/db/ReadCommand$LegacyType;
invokevirtual org.apache.cassandra.db.ReadCommand$LegacyType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
dup
putstatic org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer.$SWITCH_TABLE$org$apache$cassandra$db$ReadCommand$LegacyType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/io/IVersionedSerializer<Lorg/apache/cassandra/db/ReadCommand;>;
SourceFile: "ReadCommand.java"
NestHost: org.apache.cassandra.db.ReadCommand
InnerClasses:
public LegacyBound = org.apache.cassandra.db.LegacyLayout$LegacyBound of org.apache.cassandra.db.LegacyLayout
public LegacyCellName = org.apache.cassandra.db.LegacyLayout$LegacyCellName of org.apache.cassandra.db.LegacyLayout
protected final Kind = org.apache.cassandra.db.ReadCommand$Kind of org.apache.cassandra.db.ReadCommand
private LegacyRangeSliceCommandSerializer = org.apache.cassandra.db.ReadCommand$LegacyRangeSliceCommandSerializer of org.apache.cassandra.db.ReadCommand
LegacyReadCommandSerializer = org.apache.cassandra.db.ReadCommand$LegacyReadCommandSerializer of org.apache.cassandra.db.ReadCommand
private final LegacyType = org.apache.cassandra.db.ReadCommand$LegacyType of org.apache.cassandra.db.ReadCommand
public Builder = org.apache.cassandra.db.Slices$Builder of org.apache.cassandra.db.Slices
public final Kind = org.apache.cassandra.db.filter.ClusteringIndexFilter$Kind of org.apache.cassandra.db.filter.ClusteringIndexFilter
public Builder = org.apache.cassandra.db.filter.ColumnFilter$Builder of org.apache.cassandra.db.filter.ColumnFilter
public final Kind = org.apache.cassandra.db.filter.DataLimits$Kind of org.apache.cassandra.db.filter.DataLimits