class org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator extends org.apache.cassandra.cql3.statements.SelectStatement$ColumnComparator<java.util.List<java.nio.ByteBuffer>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator
super_class: org.apache.cassandra.cql3.statements.SelectStatement$ColumnComparator
{
private final java.util.List<java.util.Comparator<java.nio.ByteBuffer>> orderTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/Comparator<Ljava/nio/ByteBuffer;>;>;
private final java.util.List<java.lang.Integer> positions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Integer;>;
private void <init>(java.util.List<java.util.Comparator<java.nio.ByteBuffer>>, java.util.List<java.lang.Integer>);
descriptor: (Ljava/util/List;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.cassandra.cql3.statements.SelectStatement$ColumnComparator.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator.orderTypes:Ljava/util/List;
2: aload 0
aload 2
putfield org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator.positions:Ljava/util/List;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$CompositeComparator;
0 4 1 orderTypes Ljava/util/List<Ljava/util/Comparator<Ljava/nio/ByteBuffer;>;>;
0 4 2 positions Ljava/util/List<Ljava/lang/Integer;>;
Signature: (Ljava/util/List<Ljava/util/Comparator<Ljava/nio/ByteBuffer;>;>;Ljava/util/List<Ljava/lang/Integer;>;)V
MethodParameters:
Name Flags
orderTypes
positions
public int compare(java.util.List<java.nio.ByteBuffer>, java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;Ljava/util/List;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 8
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator.orderTypes:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.Comparator
astore 4
start local 4 3: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator.positions:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 4: aload 0
aload 4
aload 1
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator.compare:(Ljava/util/Comparator;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
istore 6
start local 6 5: iload 6
ifeq 7
6: iload 6
ireturn
end local 6 end local 5 end local 4 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator.positions:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 2
end local 3 9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$CompositeComparator;
0 10 1 a Ljava/util/List<Ljava/nio/ByteBuffer;>;
0 10 2 b Ljava/util/List<Ljava/nio/ByteBuffer;>;
1 9 3 i I
3 7 4 type Ljava/util/Comparator<Ljava/nio/ByteBuffer;>;
4 7 5 columnPos I
5 7 6 comparison I
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;Ljava/util/List<Ljava/nio/ByteBuffer;>;)I
MethodParameters:
Name Flags
a
b
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.util.List
aload 2
checkcast java.util.List
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator.compare:(Ljava/util/List;Ljava/util/List;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/apache/cassandra/cql3/statements/SelectStatement$ColumnComparator<Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
SourceFile: "SelectStatement.java"
NestHost: org.apache.cassandra.cql3.statements.SelectStatement
InnerClasses:
private abstract ColumnComparator = org.apache.cassandra.cql3.statements.SelectStatement$ColumnComparator of org.apache.cassandra.cql3.statements.SelectStatement
private CompositeComparator = org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator of org.apache.cassandra.cql3.statements.SelectStatement