public class org.apache.cassandra.cql3.statements.SelectStatement$RawStatement extends org.apache.cassandra.cql3.statements.CFStatement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement
super_class: org.apache.cassandra.cql3.statements.CFStatement
{
public final org.apache.cassandra.cql3.statements.SelectStatement$Parameters parameters;
descriptor: Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.util.List<org.apache.cassandra.cql3.selection.RawSelector> selectClause;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/cql3/selection/RawSelector;>;
public final org.apache.cassandra.cql3.WhereClause whereClause;
descriptor: Lorg/apache/cassandra/cql3/WhereClause;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.cql3.Term$Raw limit;
descriptor: Lorg/apache/cassandra/cql3/Term$Raw;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.cql3.Term$Raw perPartitionLimit;
descriptor: Lorg/apache/cassandra/cql3/Term$Raw;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/cql3/statements/SelectStatement;
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.cql3.statements.SelectStatement$RawStatement.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.cql3.CFName, org.apache.cassandra.cql3.statements.SelectStatement$Parameters, java.util.List<org.apache.cassandra.cql3.selection.RawSelector>, org.apache.cassandra.cql3.WhereClause, org.apache.cassandra.cql3.Term$Raw, org.apache.cassandra.cql3.Term$Raw);
descriptor: (Lorg/apache/cassandra/cql3/CFName;Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;Ljava/util/List;Lorg/apache/cassandra/cql3/WhereClause;Lorg/apache/cassandra/cql3/Term$Raw;Lorg/apache/cassandra/cql3/Term$Raw;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, 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 0
aload 1
invokespecial org.apache.cassandra.cql3.statements.CFStatement.<init>:(Lorg/apache/cassandra/cql3/CFName;)V
1: aload 0
aload 2
putfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
2: aload 0
aload 3
putfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.selectClause:Ljava/util/List;
3: aload 0
aload 4
putfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.whereClause:Lorg/apache/cassandra/cql3/WhereClause;
4: aload 0
aload 5
putfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.limit:Lorg/apache/cassandra/cql3/Term$Raw;
5: aload 0
aload 6
putfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.perPartitionLimit:Lorg/apache/cassandra/cql3/Term$Raw;
6: return
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 7 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 7 1 cfName Lorg/apache/cassandra/cql3/CFName;
0 7 2 parameters Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
0 7 3 selectClause Ljava/util/List<Lorg/apache/cassandra/cql3/selection/RawSelector;>;
0 7 4 whereClause Lorg/apache/cassandra/cql3/WhereClause;
0 7 5 limit Lorg/apache/cassandra/cql3/Term$Raw;
0 7 6 perPartitionLimit Lorg/apache/cassandra/cql3/Term$Raw;
Signature: (Lorg/apache/cassandra/cql3/CFName;Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;Ljava/util/List<Lorg/apache/cassandra/cql3/selection/RawSelector;>;Lorg/apache/cassandra/cql3/WhereClause;Lorg/apache/cassandra/cql3/Term$Raw;Lorg/apache/cassandra/cql3/Term$Raw;)V
MethodParameters:
Name Flags
cfName
parameters
selectClause
whereClause
limit
perPartitionLimit
public org.apache.cassandra.cql3.statements.ParsedStatement$Prepared prepare(org.apache.cassandra.service.ClientState);
descriptor: (Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 1
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare:(ZLorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 1 1 clientState Lorg/apache/cassandra/service/ClientState;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
clientState
public org.apache.cassandra.cql3.statements.ParsedStatement$Prepared prepare(boolean, org.apache.cassandra.service.ClientState);
descriptor: (ZLorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
flags: (0x0001) ACC_PUBLIC
Code:
stack=16, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.keyspace:()Ljava/lang/String;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.columnFamily:()Ljava/lang/String;
aload 2
invokevirtual org.apache.cassandra.service.ClientState.isNoCompactMode:()Z
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamilyWithCompactMode:(Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/cassandra/config/CFMetaData;
astore 3
start local 3 1: aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.getBoundVariables:()Lorg/apache/cassandra/cql3/VariableSpecifications;
astore 4
start local 4 2: aload 0
aload 3
aload 4
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepareSelection:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/selection/Selection;
astore 5
start local 5 3: aload 0
aload 3
aload 4
aload 5
iload 1
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepareRestrictions:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/selection/Selection;Z)Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
astore 6
start local 6 4: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.isDistinct:Z
ifeq 7
5: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.perPartitionLimit:Lorg/apache/cassandra/cql3/Term$Raw;
ldc "PER PARTITION LIMIT is not allowed with SELECT DISTINCT queries"
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
6: aload 3
aload 5
aload 6
invokestatic org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.validateDistinctSelection:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;)V
7: StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement int org.apache.cassandra.service.ClientState org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.VariableSpecifications org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions
StackMap stack:
aload 0
aload 3
8: aload 5
9: aload 6
10: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.isDistinct:Z
11: invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.getAggregationSpecification:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;Z)Lorg/apache/cassandra/db/aggregation/AggregationSpecification;
astore 7
start local 7 12: aload 7
getstatic org.apache.cassandra.db.aggregation.AggregationSpecification.AGGREGATE_EVERYTHING:Lorg/apache/cassandra/db/aggregation/AggregationSpecification;
if_acmpne 13
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.perPartitionLimit:Lorg/apache/cassandra/cql3/Term$Raw;
ifnull 13
iconst_1
goto 14
StackMap locals: org.apache.cassandra.db.aggregation.AggregationSpecification
StackMap stack:
13: iconst_0
14: StackMap locals:
StackMap stack: int
ldc "PER PARTITION LIMIT is not allowed with aggregate queries."
15: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
16: aconst_null
astore 8
start local 8 17: iconst_0
istore 9
start local 9 18: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.orderings:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 25
19: getstatic org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.$assertionsDisabled:Z
ifne 20
iload 1
ifeq 20
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
20: StackMap locals: java.util.Comparator int
StackMap stack:
aload 6
invokestatic org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.verifyOrderingIsAllowed:(Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;)V
21: aload 0
aload 3
aload 5
aload 6
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.isJson:Z
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.getOrderingComparator:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;Z)Ljava/util/Comparator;
astore 8
22: aload 0
aload 3
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.isReversed:(Lorg/apache/cassandra/config/CFMetaData;)Z
istore 9
23: iload 9
ifeq 25
24: aload 8
invokestatic java.util.Collections.reverseOrder:(Ljava/util/Comparator;)Ljava/util/Comparator;
astore 8
25: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.checkNeedsFiltering:(Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;)V
26: new org.apache.cassandra.cql3.statements.SelectStatement
dup
aload 3
27: aload 4
invokevirtual org.apache.cassandra.cql3.VariableSpecifications.size:()I
28: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
29: aload 5
30: aload 6
31: iload 9
32: aload 7
33: aload 8
34: aload 0
aload 4
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.limit:Lorg/apache/cassandra/cql3/Term$Raw;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.keyspace:()Ljava/lang/String;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.limitReceiver:()Lorg/apache/cassandra/cql3/ColumnSpecification;
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepareLimit:(Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/Term$Raw;Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
35: aload 0
aload 4
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.perPartitionLimit:Lorg/apache/cassandra/cql3/Term$Raw;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.keyspace:()Ljava/lang/String;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.perPartitionLimitReceiver:()Lorg/apache/cassandra/cql3/ColumnSpecification;
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepareLimit:(Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/Term$Raw;Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
36: invokespecial org.apache.cassandra.cql3.statements.SelectStatement.<init>:(Lorg/apache/cassandra/config/CFMetaData;ILorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;Lorg/apache/cassandra/cql3/selection/Selection;Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;ZLorg/apache/cassandra/db/aggregation/AggregationSpecification;Ljava/util/Comparator;Lorg/apache/cassandra/cql3/Term;Lorg/apache/cassandra/cql3/Term;)V
astore 10
start local 10 37: new org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
dup
aload 10
aload 4
aload 4
aload 3
invokevirtual org.apache.cassandra.cql3.VariableSpecifications.getPartitionKeyBindIndexes:(Lorg/apache/cassandra/config/CFMetaData;)[S
invokespecial org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.<init>:(Lorg/apache/cassandra/cql3/CQLStatement;Lorg/apache/cassandra/cql3/VariableSpecifications;[S)V
areturn
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 38 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 38 1 forView Z
0 38 2 clientState Lorg/apache/cassandra/service/ClientState;
1 38 3 cfm Lorg/apache/cassandra/config/CFMetaData;
2 38 4 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
3 38 5 selection Lorg/apache/cassandra/cql3/selection/Selection;
4 38 6 restrictions Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
12 38 7 aggregationSpec Lorg/apache/cassandra/db/aggregation/AggregationSpecification;
17 38 8 orderingComparator Ljava/util/Comparator<Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
18 38 9 isReversed Z
37 38 10 stmt Lorg/apache/cassandra/cql3/statements/SelectStatement;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
forView
clientState
private org.apache.cassandra.cql3.selection.Selection prepareSelection(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.VariableSpecifications);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/selection/Selection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.groups:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.selectClause:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 7
4: iload 3
ifeq 5
aload 1
aload 2
invokestatic org.apache.cassandra.cql3.selection.Selection.wildcardWithGroupBy:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/selection/Selection;
goto 6
StackMap locals: int
StackMap stack:
5: aload 1
invokestatic org.apache.cassandra.cql3.selection.Selection.wildcard:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/cql3/selection/Selection;
StackMap locals:
StackMap stack: org.apache.cassandra.cql3.selection.Selection
6: areturn
7: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.selectClause:Ljava/util/List;
aload 2
iload 3
invokestatic org.apache.cassandra.cql3.selection.Selection.fromSelectors:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;Lorg/apache/cassandra/cql3/VariableSpecifications;Z)Lorg/apache/cassandra/cql3/selection/Selection;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 8 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 8 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
3 8 3 hasGroupBy Z
MethodParameters:
Name Flags
cfm
boundNames
private org.apache.cassandra.cql3.restrictions.StatementRestrictions prepareRestrictions(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.VariableSpecifications, org.apache.cassandra.cql3.selection.Selection, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/selection/Selection;Z)Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.apache.cassandra.cql3.restrictions.StatementRestrictions
dup
getstatic org.apache.cassandra.cql3.statements.StatementType.SELECT:Lorg/apache/cassandra/cql3/statements/StatementType;
1: aload 1
2: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.whereClause:Lorg/apache/cassandra/cql3/WhereClause;
3: aload 2
4: aload 3
invokevirtual org.apache.cassandra.cql3.selection.Selection.containsOnlyStaticColumns:()Z
5: aload 3
invokevirtual org.apache.cassandra.cql3.selection.Selection.containsAComplexColumn:()Z
6: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.allowFiltering:Z
7: iload 4
8: invokespecial org.apache.cassandra.cql3.restrictions.StatementRestrictions.<init>:(Lorg/apache/cassandra/cql3/statements/StatementType;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/WhereClause;Lorg/apache/cassandra/cql3/VariableSpecifications;ZZZZ)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 9 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 9 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
0 9 3 selection Lorg/apache/cassandra/cql3/selection/Selection;
0 9 4 forView Z
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
boundNames
selection
forView
private org.apache.cassandra.cql3.Term prepareLimit(org.apache.cassandra.cql3.VariableSpecifications, org.apache.cassandra.cql3.Term$Raw, java.lang.String, org.apache.cassandra.cql3.ColumnSpecification);
descriptor: (Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/Term$Raw;Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
aload 3
aload 4
invokevirtual org.apache.cassandra.cql3.Term$Raw.prepare:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
astore 5
start local 5 3: aload 5
aload 1
invokeinterface org.apache.cassandra.cql3.Term.collectMarkerSpecification:(Lorg/apache/cassandra/cql3/VariableSpecifications;)V
4: aload 5
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 5 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 5 1 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
0 5 2 limit Lorg/apache/cassandra/cql3/Term$Raw;
0 5 3 keyspace Ljava/lang/String;
0 5 4 limitReceiver Lorg/apache/cassandra/cql3/ColumnSpecification;
3 5 5 prepLimit Lorg/apache/cassandra/cql3/Term;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
boundNames
limit
keyspace
limitReceiver
private static void verifyOrderingIsAllowed(org.apache.cassandra.cql3.restrictions.StatementRestrictions);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:()Z
ldc "ORDER BY with 2ndary indexes is not supported."
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
1: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.isKeyRange:()Z
ldc "ORDER BY is only supported when the partition key is restricted by an EQ or an IN."
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 restrictions Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
restrictions
private static void validateDistinctSelection(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.selection.Selection, org.apache.cassandra.cql3.restrictions.StatementRestrictions);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasClusteringColumnsRestrictions:()Z
ifne 3
1: aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasNonPrimaryKeyRestrictions:()Z
ifeq 2
aload 2
iconst_1
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPKRestrictedColumns:(Z)Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/apache/cassandra/config/ColumnDefinition.isStatic()Z (5)
(Lorg/apache/cassandra/config/ColumnDefinition;)Z
invokeinterface java.util.stream.Stream.allMatch:(Ljava/util/function/Predicate;)Z
ifeq 3
StackMap locals:
StackMap stack:
2: iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
4: StackMap locals:
StackMap stack: int
ldc "SELECT DISTINCT with WHERE clause only supports restriction by partition key and/or static columns."
5: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
6: aload 1
invokevirtual org.apache.cassandra.cql3.selection.Selection.getColumns:()Ljava/util/List;
astore 3
start local 3 7: aload 3
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions java.util.Collection top java.util.Iterator
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 4
start local 4 9: aload 4
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPartitionKey:()Z
ifne 10
aload 4
invokevirtual org.apache.cassandra.config.ColumnDefinition.isStatic:()Z
ifne 10
iconst_1
goto 11
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions java.util.Collection org.apache.cassandra.config.ColumnDefinition java.util.Iterator
StackMap stack:
10: iconst_0
11: StackMap locals:
StackMap stack: int
ldc "SELECT DISTINCT queries must only request partition key columns and/or static columns (not %s)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
12: aload 4
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
13: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;[Ljava/lang/Object;)V
end local 4 14: StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions java.util.Collection top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
15: aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.isKeyRange:()Z
ifne 17
16: return
17: StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions java.util.Collection
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionKeyColumns:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 22
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions java.util.Collection top java.util.Iterator
StackMap stack:
18: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 4
start local 4 19: aload 3
aload 4
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
20: ldc "SELECT DISTINCT queries must request all the partition key columns (missing %s)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
21: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
end local 4 22: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
23: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 cfm Lorg/apache/cassandra/config/CFMetaData;
0 24 1 selection Lorg/apache/cassandra/cql3/selection/Selection;
0 24 2 restrictions Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
7 24 3 requestedColumns Ljava/util/Collection<Lorg/apache/cassandra/config/ColumnDefinition;>;
9 14 4 def Lorg/apache/cassandra/config/ColumnDefinition;
19 22 4 def Lorg/apache/cassandra/config/ColumnDefinition;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
selection
restrictions
private org.apache.cassandra.db.aggregation.AggregationSpecification getAggregationSpecification(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.selection.Selection, org.apache.cassandra.cql3.restrictions.StatementRestrictions, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;Z)Lorg/apache/cassandra/db/aggregation/AggregationSpecification;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.groups:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
1: aload 2
invokevirtual org.apache.cassandra.cql3.selection.Selection.isAggregate:()Z
ifeq 2
getstatic org.apache.cassandra.db.aggregation.AggregationSpecification.AGGREGATE_EVERYTHING:Lorg/apache/cassandra/db/aggregation/AggregationSpecification;
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: org.apache.cassandra.db.aggregation.AggregationSpecification
areturn
4: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 5: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.primaryKeyColumns:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
start local 6 6: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.groups:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 25
StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions int int java.util.Iterator top java.util.Iterator
StackMap stack:
7: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition$Raw
astore 7
start local 7 8: aload 7
aload 1
invokevirtual org.apache.cassandra.config.ColumnDefinition$Raw.prepare:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/config/ColumnDefinition;
astore 9
start local 9 9: aload 9
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPartitionKey:()Z
ifne 10
aload 9
invokevirtual org.apache.cassandra.config.ColumnDefinition.isClusteringColumn:()Z
ifne 10
iconst_0
goto 11
StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions int int java.util.Iterator org.apache.cassandra.config.ColumnDefinition$Raw java.util.Iterator org.apache.cassandra.config.ColumnDefinition
StackMap stack:
10: iconst_1
11: StackMap locals:
StackMap stack: int
ldc "Group by is currently only supported on the columns of the PRIMARY KEY, got %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
12: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
14: ldc "Group by currently only support groups of columns following their declared order in the PRIMARY KEY"
15: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;)V
16: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 10
start local 10 17: aload 10
invokevirtual org.apache.cassandra.config.ColumnDefinition.isClusteringColumn:()Z
ifeq 19
18: iinc 5 1
19: StackMap locals: org.apache.cassandra.config.ColumnDefinition
StackMap stack:
aload 10
aload 9
invokevirtual org.apache.cassandra.config.ColumnDefinition.equals:(Ljava/lang/Object;)Z
ifeq 21
20: goto 25
21: StackMap locals:
StackMap stack:
aload 3
aload 10
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.isColumnRestrictedByEq:(Lorg/apache/cassandra/config/ColumnDefinition;)Z
22: ldc "Group by currently only support groups of columns following their declared order in the PRIMARY KEY"
23: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;)V
end local 10 24: goto 13
end local 9 end local 7 25: StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions int int java.util.Iterator top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
26: aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 27
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPartitionKey:()Z
ifeq 27
iconst_1
goto 28
StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions int int java.util.Iterator
StackMap stack:
27: iconst_0
28: StackMap locals:
StackMap stack: int
ldc "Group by is not supported on only a part of the partition key"
29: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
30: iload 5
ifle 31
iload 4
ifeq 31
iconst_1
goto 32
StackMap locals:
StackMap stack:
31: iconst_0
32: StackMap locals:
StackMap stack: int
ldc "Grouping on clustering columns is not allowed for SELECT DISTINCT queries"
33: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
34: aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
iload 5
invokestatic org.apache.cassandra.db.aggregation.AggregationSpecification.aggregatePkPrefix:(Lorg/apache/cassandra/db/ClusteringComparator;I)Lorg/apache/cassandra/db/aggregation/AggregationSpecification;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 35 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 35 2 selection Lorg/apache/cassandra/cql3/selection/Selection;
0 35 3 restrictions Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 35 4 isDistinct Z
5 35 5 clusteringPrefixSize I
6 35 6 pkColumns Ljava/util/Iterator<Lorg/apache/cassandra/config/ColumnDefinition;>;
8 25 7 raw Lorg/apache/cassandra/config/ColumnDefinition$Raw;
9 25 9 def Lorg/apache/cassandra/config/ColumnDefinition;
17 24 10 pkColumn Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
cfm
selection
restrictions
isDistinct
private java.util.Comparator<java.util.List<java.nio.ByteBuffer>> getOrderingComparator(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.selection.Selection, org.apache.cassandra.cql3.restrictions.StatementRestrictions, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;Z)Ljava/util/Comparator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.keyIsInRelation:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 4
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.getOrderingIndex:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Z)Ljava/util/Map;
astore 5
start local 5 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 5: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.orderings:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 10
StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions int java.util.Map java.util.List java.util.List top java.util.Iterator
StackMap stack:
6: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition$Raw
astore 8
start local 8 7: aload 8
aload 1
invokevirtual org.apache.cassandra.config.ColumnDefinition$Raw.prepare:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/config/ColumnDefinition;
astore 10
start local 10 8: aload 6
aload 5
aload 10
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 7
aload 10
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 8 10: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: aload 6
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 12
new org.apache.cassandra.cql3.statements.SelectStatement$SingleColumnComparator
dup
aload 6
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 7
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.Comparator
invokespecial org.apache.cassandra.cql3.statements.SelectStatement$SingleColumnComparator.<init>:(ILjava/util/Comparator;)V
goto 13
12: StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection org.apache.cassandra.cql3.restrictions.StatementRestrictions int java.util.Map java.util.List java.util.List
StackMap stack:
new org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator
dup
aload 7
aload 6
invokespecial org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator.<init>:(Ljava/util/List;Ljava/util/List;)V
13: StackMap locals:
StackMap stack: org.apache.cassandra.cql3.statements.SelectStatement$ColumnComparator
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 14 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 14 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 14 2 selection Lorg/apache/cassandra/cql3/selection/Selection;
0 14 3 restrictions Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 14 4 isJson Z
3 14 5 orderingIndexes Ljava/util/Map<Lorg/apache/cassandra/config/ColumnDefinition;Ljava/lang/Integer;>;
4 14 6 idToSort Ljava/util/List<Ljava/lang/Integer;>;
5 14 7 sorters Ljava/util/List<Ljava/util/Comparator<Ljava/nio/ByteBuffer;>;>;
7 10 8 raw Lorg/apache/cassandra/config/ColumnDefinition$Raw;
8 10 10 orderingColumn Lorg/apache/cassandra/config/ColumnDefinition;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;Z)Ljava/util/Comparator<Ljava/util/List<Ljava/nio/ByteBuffer;>;>;
MethodParameters:
Name Flags
cfm
selection
restrictions
isJson
private java.util.Map<org.apache.cassandra.config.ColumnDefinition, java.lang.Integer> getOrderingIndex(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.selection.Selection, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Z)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.orderings:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.selection.Selection int top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition$Raw
astore 4
start local 4 2: aload 4
aload 1
invokevirtual org.apache.cassandra.config.ColumnDefinition$Raw.prepare:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/config/ColumnDefinition;
astore 6
start local 6 3: aload 2
aload 6
invokevirtual org.apache.cassandra.cql3.selection.Selection.addColumnForOrdering:(Lorg/apache/cassandra/config/ColumnDefinition;)V
end local 6 end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aload 2
iload 3
invokevirtual org.apache.cassandra.cql3.selection.Selection.getOrderingIndex:(Z)Ljava/util/Map;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 6 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 6 2 selection Lorg/apache/cassandra/cql3/selection/Selection;
0 6 3 isJson Z
2 4 4 raw Lorg/apache/cassandra/config/ColumnDefinition$Raw;
3 4 6 def Lorg/apache/cassandra/config/ColumnDefinition;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/selection/Selection;Z)Ljava/util/Map<Lorg/apache/cassandra/config/ColumnDefinition;Ljava/lang/Integer;>;
MethodParameters:
Name Flags
cfm
selection
isJson
private boolean isReversed(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray java.lang.Boolean
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.orderings:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData java.lang.Boolean[] int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 4: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition$Raw
aload 1
invokevirtual org.apache.cassandra.config.ColumnDefinition$Raw.prepare:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/config/ColumnDefinition;
astore 6
start local 6 5: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 7
start local 7 6: aload 6
invokevirtual org.apache.cassandra.config.ColumnDefinition.isClusteringColumn:()Z
7: ldc "Order by is currently only supported on the clustered columns of the PRIMARY KEY, got %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
8: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
9: iload 3
iinc 3 1
aload 6
invokevirtual org.apache.cassandra.config.ColumnDefinition.position:()I
if_icmpne 10
iconst_1
goto 11
StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData java.lang.Boolean[] int java.util.Map$Entry java.util.Iterator org.apache.cassandra.config.ColumnDefinition int
StackMap stack:
10: iconst_0
11: StackMap locals:
StackMap stack: int
ldc "Order by currently only support the ordering of columns following their declared order in the PRIMARY KEY"
12: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;)V
13: aload 2
aload 6
invokevirtual org.apache.cassandra.config.ColumnDefinition.position:()I
iload 7
aload 6
invokevirtual org.apache.cassandra.config.ColumnDefinition.isReversedType:()Z
ixor
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
end local 7 end local 6 end local 4 14: StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData java.lang.Boolean[] int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
15: aconst_null
astore 4
start local 4 16: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 25
StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData java.lang.Boolean[] int java.lang.Boolean top int int java.lang.Boolean[]
StackMap stack:
17: aload 8
iload 6
aaload
astore 5
start local 5 18: aload 5
ifnonnull 20
19: goto 24
20: StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData java.lang.Boolean[] int java.lang.Boolean java.lang.Boolean int int java.lang.Boolean[]
StackMap stack:
aload 4
ifnonnull 23
21: aload 5
astore 4
22: goto 24
23: StackMap locals:
StackMap stack:
aload 4
aload 5
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ldc "Unsupported order by relation"
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;)V
end local 5 24: StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData java.lang.Boolean[] int java.lang.Boolean top int int java.lang.Boolean[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
25: iload 6
iload 7
if_icmplt 17
26: getstatic org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.$assertionsDisabled:Z
ifne 27
aload 4
ifnonnull 27
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
27: StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement$RawStatement org.apache.cassandra.config.CFMetaData java.lang.Boolean[] int java.lang.Boolean
StackMap stack:
aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 28 1 cfm Lorg/apache/cassandra/config/CFMetaData;
1 28 2 reversedMap [Ljava/lang/Boolean;
2 28 3 i I
4 14 4 entry Ljava/util/Map$Entry<Lorg/apache/cassandra/config/ColumnDefinition$Raw;Ljava/lang/Boolean;>;
5 14 6 def Lorg/apache/cassandra/config/ColumnDefinition;
6 14 7 reversed Z
16 28 4 isReversed Ljava/lang/Boolean;
18 24 5 b Ljava/lang/Boolean;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
private void checkNeedsFiltering(org.apache.cassandra.cql3.restrictions.StatementRestrictions);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.allowFiltering:Z
ifne 2
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.isKeyRange:()Z
ifne 1
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.needFiltering:()Z
ldc "Cannot execute this query as it might involve data filtering and thus may have unpredictable performance. If you want to execute this query despite the performance unpredictability, use ALLOW FILTERING"
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
0 3 1 restrictions Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
restrictions
private org.apache.cassandra.cql3.ColumnSpecification limitReceiver();
descriptor: ()Lorg/apache/cassandra/cql3/ColumnSpecification;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.cql3.ColumnSpecification
dup
aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.keyspace:()Ljava/lang/String;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.columnFamily:()Ljava/lang/String;
new org.apache.cassandra.cql3.ColumnIdentifier
dup
ldc "[limit]"
iconst_1
invokespecial org.apache.cassandra.cql3.ColumnIdentifier.<init>:(Ljava/lang/String;Z)V
getstatic org.apache.cassandra.db.marshal.Int32Type.instance:Lorg/apache/cassandra/db/marshal/Int32Type;
invokespecial org.apache.cassandra.cql3.ColumnSpecification.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnIdentifier;Lorg/apache/cassandra/db/marshal/AbstractType;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
private org.apache.cassandra.cql3.ColumnSpecification perPartitionLimitReceiver();
descriptor: ()Lorg/apache/cassandra/cql3/ColumnSpecification;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.cql3.ColumnSpecification
dup
aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.keyspace:()Ljava/lang/String;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.columnFamily:()Ljava/lang/String;
new org.apache.cassandra.cql3.ColumnIdentifier
dup
ldc "[per_partition_limit]"
iconst_1
invokespecial org.apache.cassandra.cql3.ColumnIdentifier.<init>:(Ljava/lang/String;Z)V
getstatic org.apache.cassandra.db.marshal.Int32Type.instance:Lorg/apache/cassandra/db/marshal/Int32Type;
invokespecial org.apache.cassandra.cql3.ColumnSpecification.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnIdentifier;Lorg/apache/cassandra/db/marshal/AbstractType;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
1: ldc "name"
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.cfName:Lorg/apache/cassandra/cql3/CFName;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
2: ldc "selectClause"
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.selectClause:Ljava/util/List;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
3: ldc "whereClause"
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.whereClause:Lorg/apache/cassandra/cql3/WhereClause;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
4: ldc "isDistinct"
aload 0
getfield org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.parameters:Lorg/apache/cassandra/cql3/statements/SelectStatement$Parameters;
getfield org.apache.cassandra.cql3.statements.SelectStatement$Parameters.isDistinct:Z
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Z)Lcom/google/common/base/MoreObjects$ToStringHelper;
5: invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
6: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/statements/SelectStatement$RawStatement;
}
SourceFile: "SelectStatement.java"
NestHost: org.apache.cassandra.cql3.statements.SelectStatement
InnerClasses:
public final ToStringHelper = com.google.common.base.MoreObjects$ToStringHelper of com.google.common.base.MoreObjects
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public abstract Raw = org.apache.cassandra.config.ColumnDefinition$Raw of org.apache.cassandra.config.ColumnDefinition
public abstract Raw = org.apache.cassandra.cql3.Term$Raw of org.apache.cassandra.cql3.Term
public Prepared = org.apache.cassandra.cql3.statements.ParsedStatement$Prepared of org.apache.cassandra.cql3.statements.ParsedStatement
private CompositeComparator = org.apache.cassandra.cql3.statements.SelectStatement$CompositeComparator of org.apache.cassandra.cql3.statements.SelectStatement
public Parameters = org.apache.cassandra.cql3.statements.SelectStatement$Parameters of org.apache.cassandra.cql3.statements.SelectStatement
public RawStatement = org.apache.cassandra.cql3.statements.SelectStatement$RawStatement of org.apache.cassandra.cql3.statements.SelectStatement
private SingleColumnComparator = org.apache.cassandra.cql3.statements.SelectStatement$SingleColumnComparator of org.apache.cassandra.cql3.statements.SelectStatement