public final class org.apache.cassandra.cql3.restrictions.StatementRestrictions
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.cql3.restrictions.StatementRestrictions
super_class: java.lang.Object
{
public static final java.lang.String REQUIRES_ALLOW_FILTERING_MESSAGE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "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"
private final org.apache.cassandra.cql3.statements.StatementType type;
descriptor: Lorg/apache/cassandra/cql3/statements/StatementType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public final org.apache.cassandra.config.CFMetaData cfm;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions partitionKeyRestrictions;
descriptor: Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions clusteringColumnsRestrictions;
descriptor: Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.cql3.restrictions.RestrictionSet nonPrimaryKeyRestrictions;
descriptor: Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
flags: (0x0002) ACC_PRIVATE
private java.util.Set<org.apache.cassandra.config.ColumnDefinition> notNullColumns;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Lorg/apache/cassandra/config/ColumnDefinition;>;
private final org.apache.cassandra.cql3.restrictions.IndexRestrictions filterRestrictions;
descriptor: Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean usesSecondaryIndexing;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isKeyRange;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasRegularColumnsRestrictions;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.cql3.SuperColumnCompatibility$SuperColumnRestrictions cached;
descriptor: Lorg/apache/cassandra/cql3/SuperColumnCompatibility$SuperColumnRestrictions;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$config$ColumnDefinition$Kind;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
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/restrictions/StatementRestrictions;
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.restrictions.StatementRestrictions.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.cql3.restrictions.StatementRestrictions empty(org.apache.cassandra.cql3.statements.StatementType, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/cql3/statements/StatementType;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.cql3.restrictions.StatementRestrictions
dup
aload 0
aload 1
iconst_0
invokespecial org.apache.cassandra.cql3.restrictions.StatementRestrictions.<init>:(Lorg/apache/cassandra/cql3/statements/StatementType;Lorg/apache/cassandra/config/CFMetaData;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Lorg/apache/cassandra/cql3/statements/StatementType;
0 1 1 cfm Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
type
cfm
private void <init>(org.apache.cassandra.cql3.statements.StatementType, org.apache.cassandra.config.CFMetaData, boolean);
descriptor: (Lorg/apache/cassandra/cql3/statements/StatementType;Lorg/apache/cassandra/config/CFMetaData;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.apache.cassandra.cql3.restrictions.IndexRestrictions
dup
invokespecial org.apache.cassandra.cql3.restrictions.IndexRestrictions.<init>:()V
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
2: aload 0
aload 1
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.type:Lorg/apache/cassandra/cql3/statements/StatementType;
3: aload 0
aload 2
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
4: aload 0
new org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet
dup
aload 2
invokevirtual org.apache.cassandra.config.CFMetaData.getKeyValidatorAsClusteringComparator:()Lorg/apache/cassandra/db/ClusteringComparator;
invokespecial org.apache.cassandra.cql3.restrictions.PartitionKeySingleRestrictionSet.<init>:(Lorg/apache/cassandra/db/ClusteringComparator;)V
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
5: aload 0
new org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions
dup
aload 2
iload 3
invokespecial org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.<init>:(Lorg/apache/cassandra/config/CFMetaData;Z)V
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
6: aload 0
new org.apache.cassandra.cql3.restrictions.RestrictionSet
dup
invokespecial org.apache.cassandra.cql3.restrictions.RestrictionSet.<init>:()V
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
7: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.notNullColumns:Ljava/util/Set;
8: return
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/restrictions/StatementRestrictions;
0 9 1 type Lorg/apache/cassandra/cql3/statements/StatementType;
0 9 2 cfm Lorg/apache/cassandra/config/CFMetaData;
0 9 3 allowFiltering Z
MethodParameters:
Name Flags
type
cfm
allowFiltering
public void <init>(org.apache.cassandra.cql3.statements.StatementType, org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.WhereClause, org.apache.cassandra.cql3.VariableSpecifications, boolean, boolean, boolean, boolean);
descriptor: (Lorg/apache/cassandra/cql3/statements/StatementType;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/WhereClause;Lorg/apache/cassandra/cql3/VariableSpecifications;ZZZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=15, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
aload 2
iload 7
invokespecial org.apache.cassandra.cql3.restrictions.StatementRestrictions.<init>:(Lorg/apache/cassandra/cql3/statements/StatementType;Lorg/apache/cassandra/config/CFMetaData;Z)V
1: aconst_null
astore 10
start local 10 2: aload 1
invokevirtual org.apache.cassandra.cql3.statements.StatementType.allowUseOfSecondaryIndices:()Z
ifeq 5
3: aload 2
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
aload 2
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
astore 9
start local 9 4: aload 9
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
astore 10
end local 9 5: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.cql3.statements.StatementType org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.WhereClause org.apache.cassandra.cql3.VariableSpecifications int int int int top org.apache.cassandra.index.SecondaryIndexManager
StackMap stack:
aload 3
getfield org.apache.cassandra.cql3.WhereClause.relations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 26
StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.cql3.statements.StatementType org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.WhereClause org.apache.cassandra.cql3.VariableSpecifications int int int int top org.apache.cassandra.index.SecondaryIndexManager top java.util.Iterator
StackMap stack:
6: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.Relation
astore 11
start local 11 7: aload 11
invokevirtual org.apache.cassandra.cql3.Relation.operator:()Lorg/apache/cassandra/cql3/Operator;
getstatic org.apache.cassandra.cql3.Operator.IS_NOT:Lorg/apache/cassandra/cql3/Operator;
if_acmpne 15
8: iload 8
ifne 10
9: new org.apache.cassandra.exceptions.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported restriction: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.cql3.statements.StatementType org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.WhereClause org.apache.cassandra.cql3.VariableSpecifications int int int int top org.apache.cassandra.index.SecondaryIndexManager org.apache.cassandra.cql3.Relation java.util.Iterator
StackMap stack:
aload 11
aload 2
aload 4
invokevirtual org.apache.cassandra.cql3.Relation.toRestriction:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/restrictions/Restriction;
invokeinterface org.apache.cassandra.cql3.restrictions.Restriction.getColumnDefs:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
goto 13
StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.cql3.statements.StatementType org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.WhereClause org.apache.cassandra.cql3.VariableSpecifications int int int int top org.apache.cassandra.index.SecondaryIndexManager org.apache.cassandra.cql3.Relation java.util.Iterator top java.util.Iterator
StackMap stack:
11: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 13
start local 13 12: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.notNullColumns:Ljava/util/Set;
aload 13
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 13 13: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: goto 26
15: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.cql3.statements.StatementType org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.WhereClause org.apache.cassandra.cql3.VariableSpecifications int int int int top org.apache.cassandra.index.SecondaryIndexManager org.apache.cassandra.cql3.Relation java.util.Iterator
StackMap stack:
aload 11
invokevirtual org.apache.cassandra.cql3.Relation.isLIKE:()Z
ifeq 23
16: aload 11
aload 2
aload 4
invokevirtual org.apache.cassandra.cql3.Relation.toRestriction:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/restrictions/Restriction;
astore 13
start local 13 17: aload 1
invokevirtual org.apache.cassandra.cql3.statements.StatementType.allowUseOfSecondaryIndices:()Z
ifeq 18
aload 13
aload 10
invokeinterface org.apache.cassandra.cql3.restrictions.Restriction.hasSupportingIndex:(Lorg/apache/cassandra/index/SecondaryIndexManager;)Z
ifne 21
18: StackMap locals: org.apache.cassandra.cql3.restrictions.Restriction
StackMap stack:
new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "LIKE restriction is only supported on properly indexed columns. %s is not valid."
iconst_1
anewarray java.lang.Object
dup
iconst_0
19: aload 11
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
20: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 0
aload 13
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.addRestriction:(Lorg/apache/cassandra/cql3/restrictions/Restriction;)V
end local 13 22: goto 26
23: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 25
aload 2
invokevirtual org.apache.cassandra.config.CFMetaData.isDense:()Z
ifeq 25
aload 11
invokevirtual org.apache.cassandra.cql3.Relation.onToken:()Z
ifne 25
24: aload 0
aload 11
invokevirtual org.apache.cassandra.cql3.Relation.toSuperColumnAdapter:()Lorg/apache/cassandra/cql3/Relation;
aload 2
aload 4
invokevirtual org.apache.cassandra.cql3.Relation.toRestriction:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/restrictions/Restriction;
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.addRestriction:(Lorg/apache/cassandra/cql3/restrictions/Restriction;)V
goto 26
25: StackMap locals:
StackMap stack:
aload 0
aload 11
aload 2
aload 4
invokevirtual org.apache.cassandra.cql3.Relation.toRestriction:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/restrictions/Restriction;
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.addRestriction:(Lorg/apache/cassandra/cql3/restrictions/Restriction;)V
end local 11 26: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.cql3.statements.StatementType org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.WhereClause org.apache.cassandra.cql3.VariableSpecifications int int int int top org.apache.cassandra.index.SecondaryIndexManager top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
27: aload 0
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
getstatic org.apache.cassandra.config.ColumnDefinition$Kind.REGULAR:Lorg/apache/cassandra/config/ColumnDefinition$Kind;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.hasRestrictionFor:(Lorg/apache/cassandra/config/ColumnDefinition$Kind;)Z
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasRegularColumnsRestrictions:Z
28: iconst_0
istore 11
start local 11 29: iconst_0
istore 12
start local 12 30: aload 1
invokevirtual org.apache.cassandra.cql3.statements.StatementType.allowUseOfSecondaryIndices:()Z
ifeq 41
31: aload 3
invokevirtual org.apache.cassandra.cql3.WhereClause.containsCustomExpressions:()Z
ifeq 33
32: aload 0
aload 3
getfield org.apache.cassandra.cql3.WhereClause.expressions:Ljava/util/List;
aload 4
aload 10
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.processCustomIndexExpressions:(Ljava/util/List;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/index/SecondaryIndexManager;)V
33: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.cql3.statements.StatementType org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.WhereClause org.apache.cassandra.cql3.VariableSpecifications int int int int top org.apache.cassandra.index.SecondaryIndexManager int int
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
aload 10
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.hasSupportingIndex:(Lorg/apache/cassandra/index/SecondaryIndexManager;)Z
istore 11
34: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.getCustomIndexExpressions:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 39
35: iload 11
ifne 39
36: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 10
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.hasSupportingIndex:(Lorg/apache/cassandra/index/SecondaryIndexManager;)Z
ifne 39
37: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
aload 10
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.hasSupportingIndex:(Lorg/apache/cassandra/index/SecondaryIndexManager;)Z
ifne 39
38: iconst_0
goto 40
StackMap locals:
StackMap stack:
39: iconst_1
StackMap locals:
StackMap stack: int
40: istore 12
41: StackMap locals:
StackMap stack:
aload 0
iload 12
iload 7
iload 8
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.processPartitionKeyRestrictions:(ZZZ)V
42: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:Z
ifne 43
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 2
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.needFiltering:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifeq 44
43: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.add:(Lorg/apache/cassandra/cql3/restrictions/Restrictions;)V
44: StackMap locals:
StackMap stack:
iload 5
ifeq 51
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasClusteringColumnsRestrictions:()Z
ifeq 51
45: aload 1
invokevirtual org.apache.cassandra.cql3.statements.StatementType.isDelete:()Z
ifne 46
aload 1
invokevirtual org.apache.cassandra.cql3.statements.StatementType.isUpdate:()Z
ifeq 49
46: StackMap locals:
StackMap stack:
ldc "Invalid restrictions on clustering columns since the %s statement modifies only static columns"
iconst_1
anewarray java.lang.Object
dup
iconst_0
47: aload 1
aastore
48: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
49: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.cql3.statements.StatementType.isSelect:()Z
ifeq 51
50: ldc "Cannot restrict clustering columns when selecting only static columns"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
51: StackMap locals:
StackMap stack:
aload 0
iload 12
52: iload 5
53: iload 6
54: iload 8
55: iload 7
56: invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.processClusteringColumnsRestrictions:(ZZZZZ)V
57: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.isKeyRange:Z
ifeq 59
iload 11
ifeq 59
58: aload 0
iconst_1
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:Z
59: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:Z
ifne 60
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.needFiltering:()Z
ifeq 61
60: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.add:(Lorg/apache/cassandra/cql3/restrictions/Restrictions;)V
61: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.isEmpty:()Z
ifne 78
62: aload 1
invokevirtual org.apache.cassandra.cql3.statements.StatementType.allowNonPrimaryKeyInWhereClause:()Z
ifne 68
63: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.getColumnDefs:()Ljava/util/List;
invokestatic org.apache.cassandra.config.ColumnDefinition.toIdentifiers:(Ljava/util/Collection;)Ljava/util/Collection;
64: astore 13
start local 13 65: ldc "Non PRIMARY KEY columns found in where clause: %s "
iconst_1
anewarray java.lang.Object
dup
iconst_0
66: ldc ", "
invokestatic com.google.common.base.Joiner.on:(Ljava/lang/String;)Lcom/google/common/base/Joiner;
aload 13
invokevirtual com.google.common.base.Joiner.join:(Ljava/lang/Iterable;)Ljava/lang/String;
aastore
67: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
end local 13 68: StackMap locals:
StackMap stack:
iload 12
ifeq 71
69: aload 0
iconst_1
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:Z
70: goto 73
71: StackMap locals:
StackMap stack:
iload 7
ifne 73
aload 2
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifne 73
72: 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"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
73: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.isEmpty:()Z
ifeq 74
aload 2
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 74
iconst_1
goto 75
StackMap locals:
StackMap stack:
74: iconst_0
75: StackMap locals:
StackMap stack: int
ldc "Filtering is not supported on SuperColumn tables"
76: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
77: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.add:(Lorg/apache/cassandra/cql3/restrictions/Restrictions;)V
78: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:Z
ifeq 80
79: aload 0
iload 5
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.validateSecondaryIndexSelections:(Z)V
80: StackMap locals:
StackMap stack:
return
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 81 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 81 1 type Lorg/apache/cassandra/cql3/statements/StatementType;
0 81 2 cfm Lorg/apache/cassandra/config/CFMetaData;
0 81 3 whereClause Lorg/apache/cassandra/cql3/WhereClause;
0 81 4 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
0 81 5 selectsOnlyStaticColumns Z
0 81 6 selectsComplexColumn Z
0 81 7 allowFiltering Z
0 81 8 forView Z
4 5 9 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
2 81 10 secondaryIndexManager Lorg/apache/cassandra/index/SecondaryIndexManager;
7 26 11 relation Lorg/apache/cassandra/cql3/Relation;
12 13 13 def Lorg/apache/cassandra/config/ColumnDefinition;
17 22 13 restriction Lorg/apache/cassandra/cql3/restrictions/Restriction;
29 81 11 hasQueriableClusteringColumnIndex Z
30 81 12 hasQueriableIndex Z
65 68 13 nonPrimaryKeyColumns Ljava/util/Collection<Lorg/apache/cassandra/cql3/ColumnIdentifier;>;
MethodParameters:
Name Flags
type
cfm
whereClause
boundNames
selectsOnlyStaticColumns
selectsComplexColumn
allowFiltering
forView
private void addRestriction(org.apache.cassandra.cql3.restrictions.Restriction);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/Restriction;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.Restriction.getFirstColumn:()Lorg/apache/cassandra/config/ColumnDefinition;
astore 2
start local 2 1: aload 2
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPartitionKey:()Z
ifeq 3
2: aload 0
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.mergeWith:(Lorg/apache/cassandra/cql3/restrictions/Restriction;)Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
goto 6
3: StackMap locals: org.apache.cassandra.config.ColumnDefinition
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.config.ColumnDefinition.isClusteringColumn:()Z
ifeq 5
4: aload 0
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.mergeWith:(Lorg/apache/cassandra/cql3/restrictions/Restriction;)Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
aload 1
checkcast org.apache.cassandra.cql3.restrictions.SingleRestriction
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.addRestriction:(Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;)Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 7 1 restriction Lorg/apache/cassandra/cql3/restrictions/Restriction;
1 7 2 def Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
restriction
public void addFunctionsTo(java.util.List<org.apache.cassandra.cql3.functions.Function>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.addFunctionsTo:(Ljava/util/List;)V
1: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.addFunctionsTo:(Ljava/util/List;)V
2: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.addFunctionsTo:(Ljava/util/List;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 4 1 functions Ljava/util/List<Lorg/apache/cassandra/cql3/functions/Function;>;
Signature: (Ljava/util/List<Lorg/apache/cassandra/cql3/functions/Function;>;)V
MethodParameters:
Name Flags
functions
public org.apache.cassandra.cql3.restrictions.IndexRestrictions getIndexRestrictions();
descriptor: ()Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
public java.util.Set<org.apache.cassandra.config.ColumnDefinition> nonPKRestrictedColumns(boolean);
descriptor: (Z)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.getRestrictions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions int java.util.Set top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.restrictions.Restrictions
astore 3
start local 3 3: aload 3
invokeinterface org.apache.cassandra.cql3.restrictions.Restrictions.getColumnDefs:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions int java.util.Set org.apache.cassandra.cql3.restrictions.Restrictions java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 5
start local 5 5: aload 5
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPrimaryKeyColumn:()Z
ifne 7
6: aload 2
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 8: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions int java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: iload 1
ifeq 15
10: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.notNullColumns:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals:
StackMap stack:
11: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 3
start local 3 12: aload 3
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPrimaryKeyColumn:()Z
ifne 14
13: aload 2
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
15: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions int java.util.Set
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 16 1 includeNotNullRestrictions Z
1 16 2 columns Ljava/util/Set<Lorg/apache/cassandra/config/ColumnDefinition;>;
3 8 3 r Lorg/apache/cassandra/cql3/restrictions/Restrictions;
5 7 5 def Lorg/apache/cassandra/config/ColumnDefinition;
12 14 3 def Lorg/apache/cassandra/config/ColumnDefinition;
Signature: (Z)Ljava/util/Set<Lorg/apache/cassandra/config/ColumnDefinition;>;
MethodParameters:
Name Flags
includeNotNullRestrictions
public java.util.Set<org.apache.cassandra.config.ColumnDefinition> notNullColumns();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.notNullColumns:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
Signature: ()Ljava/util/Set<Lorg/apache/cassandra/config/ColumnDefinition;>;
public boolean isRestricted(org.apache.cassandra.config.ColumnDefinition);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.notNullColumns:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.apache.cassandra.config.ColumnDefinition.kind:Lorg/apache/cassandra/config/ColumnDefinition$Kind;
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getRestrictions:(Lorg/apache/cassandra/config/ColumnDefinition$Kind;)Lorg/apache/cassandra/cql3/restrictions/Restrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.Restrictions.getColumnDefs:()Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 3 1 column Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
column
public boolean keyIsInRelation();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.hasIN:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
public boolean isKeyRange();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.isKeyRange:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
public boolean isColumnRestrictedByEq(org.apache.cassandra.config.ColumnDefinition);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield org.apache.cassandra.config.ColumnDefinition.kind:Lorg/apache/cassandra/config/ColumnDefinition$Kind;
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getRestrictions:(Lorg/apache/cassandra/config/ColumnDefinition$Kind;)Lorg/apache/cassandra/cql3/restrictions/Restrictions;
aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.Restrictions.getRestrictions:(Lorg/apache/cassandra/config/ColumnDefinition;)Ljava/util/Set;
astore 2
start local 2 1: aload 2
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
2: ldc Lorg/apache/cassandra/cql3/restrictions/SingleRestriction;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic test(Ljava/lang/Class;)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
java/lang/Class.isInstance(Ljava/lang/Object;)Z (5)
(Lorg/apache/cassandra/cql3/restrictions/Restriction;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: 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/cql3/restrictions/StatementRestrictions.lambda$1(Lorg/apache/cassandra/cql3/restrictions/Restriction;)Z (6)
(Lorg/apache/cassandra/cql3/restrictions/Restriction;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
4: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 5 1 columnDef Lorg/apache/cassandra/config/ColumnDefinition;
1 5 2 restrictions Ljava/util/Set<Lorg/apache/cassandra/cql3/restrictions/Restriction;>;
MethodParameters:
Name Flags
columnDef
private org.apache.cassandra.cql3.restrictions.Restrictions getRestrictions(org.apache.cassandra.config.ColumnDefinition$Kind);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition$Kind;)Lorg/apache/cassandra/cql3/restrictions/Restrictions;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.apache.cassandra.cql3.restrictions.StatementRestrictions.$SWITCH_TABLE$org$apache$cassandra$config$ColumnDefinition$Kind:()[I
aload 1
invokevirtual org.apache.cassandra.config.ColumnDefinition$Kind.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 1
2: 2
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 4 1 kind Lorg/apache/cassandra/config/ColumnDefinition$Kind;
MethodParameters:
Name Flags
kind
public boolean usesSecondaryIndexing();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
private void processPartitionKeyRestrictions(boolean, boolean, boolean);
descriptor: (ZZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.type:Lorg/apache/cassandra/cql3/statements/StatementType;
invokevirtual org.apache.cassandra.cql3.statements.StatementType.allowPartitionKeyRanges:()Z
ifne 13
1: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isOnToken:()Z
2: ldc "The token function cannot be used in WHERE clauses for %s statements"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.type:Lorg/apache/cassandra/cql3/statements/StatementType;
aastore
3: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;[Ljava/lang/Object;)V
4: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.hasUnrestrictedPartitionKeyComponents:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifeq 8
5: ldc "Some partition key parts are missing: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
6: ldc ", "
invokestatic com.google.common.base.Joiner.on:(Ljava/lang/String;)Lcom/google/common/base/Joiner;
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getPartitionKeyUnrestrictedComponents:()Ljava/util/Collection;
invokevirtual com.google.common.base.Joiner.join:(Ljava/lang/Iterable;)Ljava/lang/String;
aastore
7: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.hasSlice:()Z
9: ldc "Only EQ and IN relation are supported on the partition key (unless you use the token() function) for %s statements"
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.type:Lorg/apache/cassandra/cql3/statements/StatementType;
aastore
11: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;[Ljava/lang/Object;)V
12: goto 25
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isOnToken:()Z
ifeq 15
14: aload 0
iconst_1
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.isKeyRange:Z
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isEmpty:()Z
ifeq 18
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.hasUnrestrictedPartitionKeyComponents:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifeq 18
16: aload 0
iconst_1
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.isKeyRange:Z
17: aload 0
iload 1
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:Z
18: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.needFiltering:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifeq 25
19: iload 2
ifne 21
iload 3
ifne 21
iload 1
ifne 21
20: new org.apache.cassandra.exceptions.InvalidRequestException
dup
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"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.hasIN:()Z
ifeq 23
22: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "IN restrictions are not supported when the query involves filtering"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.isKeyRange:Z
24: aload 0
iload 1
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:Z
25: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 26 1 hasQueriableIndex Z
0 26 2 allowFiltering Z
0 26 3 forView Z
MethodParameters:
Name Flags
hasQueriableIndex
allowFiltering
forView
public boolean hasPartitionKeyRestrictions();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
public boolean hasNonPrimaryKeyRestrictions();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
private java.util.Collection<org.apache.cassandra.cql3.ColumnIdentifier> getPartitionKeyUnrestrictedComponents();
descriptor: ()Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.partitionKeyColumns:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 1
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.getColumnDefs:()Ljava/util/List;
invokeinterface java.util.List.removeAll:(Ljava/util/Collection;)Z
pop
2: aload 1
invokestatic org.apache.cassandra.config.ColumnDefinition.toIdentifiers:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
1 3 1 list Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/cql3/ColumnIdentifier;>;
public boolean isPartitionKeyRestrictionsOnToken();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isOnToken:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
public boolean clusteringKeyRestrictionsHasIN();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.hasIN:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
private void processClusteringColumnsRestrictions(boolean, boolean, boolean, boolean, boolean);
descriptor: (ZZZZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.type:Lorg/apache/cassandra/cql3/statements/StatementType;
invokevirtual org.apache.cassandra.cql3.statements.StatementType.allowClusteringColumnSlices:()Z
ifne 1
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.hasSlice:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
2: StackMap locals:
StackMap stack: int
ldc "Slice restrictions are not supported on the clustering columns in %s statements"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.type:Lorg/apache/cassandra/cql3/statements/StatementType;
aastore
3: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;[Ljava/lang/Object;)V
4: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.type:Lorg/apache/cassandra/cql3/statements/StatementType;
invokevirtual org.apache.cassandra.cql3.statements.StatementType.allowClusteringColumnSlices:()Z
ifne 10
5: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isCompactTable:()Z
ifeq 6
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isCompactTable:()Z
ifeq 10
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasClusteringColumnsRestrictions:()Z
ifne 10
6: StackMap locals:
StackMap stack:
iload 2
ifne 37
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasUnrestrictedClusteringColumns:()Z
ifeq 37
7: ldc "Some clustering keys are missing: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
8: ldc ", "
invokestatic com.google.common.base.Joiner.on:(Ljava/lang/String;)Lcom/google/common/base/Joiner;
aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getUnrestrictedClusteringColumns:()Ljava/util/Collection;
invokevirtual com.google.common.base.Joiner.join:(Ljava/lang/Iterable;)Ljava/lang/String;
aastore
9: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.hasIN:()Z
ifeq 11
iload 3
ifeq 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
12: StackMap locals:
StackMap stack: int
ldc "Cannot restrict clustering columns by IN relations when a collection is selected by the query"
13: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
14: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.hasContains:()Z
ifeq 15
iload 1
ifne 15
iload 5
ifne 15
iconst_1
goto 16
StackMap locals:
StackMap stack:
15: iconst_0
16: StackMap locals:
StackMap stack: int
ldc "Clustering columns can only be restricted with CONTAINS with a secondary index or filtering"
17: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
18: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasClusteringColumnsRestrictions:()Z
ifeq 37
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.needFiltering:()Z
ifeq 37
19: iload 1
ifne 20
iload 4
ifeq 22
20: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.usesSecondaryIndexing:Z
21: goto 37
22: StackMap locals:
StackMap stack:
iload 5
ifne 37
23: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
astore 6
start local 6 24: new java.util.LinkedList
dup
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.getColumnDefs:()Ljava/util/List;
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
astore 7
start local 7 25: iconst_0
istore 8
start local 8 26: aload 7
invokeinterface java.util.List.size:()I
istore 9
start local 9 27: goto 36
28: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions int int int int int java.util.List java.util.List int int
StackMap stack:
aload 6
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 10
start local 10 29: aload 7
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 11
start local 11 30: aload 10
aload 11
invokevirtual org.apache.cassandra.config.ColumnDefinition.equals:(Ljava/lang/Object;)Z
ifne 35
31: ldc "PRIMARY KEY column \"%s\" cannot be restricted as preceding column \"%s\" is not restricted"
iconst_2
anewarray java.lang.Object
dup
iconst_0
32: aload 11
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
dup
iconst_1
33: aload 10
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
34: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest:(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
end local 11 end local 10 35: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
36: iload 8
iload 9
if_icmplt 28
end local 9 end local 8 end local 7 end local 6 37: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions int int int int int
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 38 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 38 1 hasQueriableIndex Z
0 38 2 selectsOnlyStaticColumns Z
0 38 3 selectsComplexColumn Z
0 38 4 forView Z
0 38 5 allowFiltering Z
24 37 6 clusteringColumns Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
25 37 7 restrictedColumns Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
26 37 8 i I
27 37 9 m I
29 35 10 clusteringColumn Lorg/apache/cassandra/config/ColumnDefinition;
30 35 11 restrictedColumn Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
hasQueriableIndex
selectsOnlyStaticColumns
selectsComplexColumn
forView
allowFiltering
private java.util.Collection<org.apache.cassandra.cql3.ColumnIdentifier> getUnrestrictedClusteringColumns();
descriptor: ()Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 1
new java.util.LinkedList
dup
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.getColumnDefs:()Ljava/util/List;
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
invokeinterface java.util.List.removeAll:(Ljava/util/Collection;)Z
pop
2: aload 1
invokestatic org.apache.cassandra.config.ColumnDefinition.toIdentifiers:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
1 3 1 missingClusteringColumns Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/cql3/ColumnIdentifier;>;
private boolean hasUnrestrictedClusteringColumns();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.size:()I
if_icmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
private void processCustomIndexExpressions(java.util.List<org.apache.cassandra.cql3.restrictions.CustomIndexExpression>, org.apache.cassandra.cql3.VariableSpecifications, org.apache.cassandra.index.SecondaryIndexManager);
descriptor: (Ljava/util/List;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/index/SecondaryIndexManager;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic org.apache.cassandra.net.MessagingService.instance:()Lorg/apache/cassandra/net/MessagingService;
invokevirtual org.apache.cassandra.net.MessagingService.areAllNodesAtLeast30:()Z
ifne 2
1: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Please upgrade all nodes to at least 3.0 before using custom index expressions"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 4
3: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Multiple custom index expressions in a single query are not supported"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.restrictions.CustomIndexExpression
astore 4
start local 4 5: aload 4
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
invokevirtual org.apache.cassandra.cql3.IndexName.getCfName:()Lorg/apache/cassandra/cql3/CFName;
astore 5
start local 5 6: aload 5
invokevirtual org.apache.cassandra.cql3.CFName.hasKeyspace:()Z
ifeq 9
7: aload 4
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
invokevirtual org.apache.cassandra.cql3.IndexName.getKeyspace:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
8: aload 4
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokestatic org.apache.cassandra.cql3.restrictions.IndexRestrictions.invalidIndex:(Lorg/apache/cassandra/cql3/IndexName;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
9: StackMap locals: org.apache.cassandra.cql3.restrictions.CustomIndexExpression org.apache.cassandra.cql3.CFName
StackMap stack:
aload 5
invokevirtual org.apache.cassandra.cql3.CFName.getColumnFamily:()Ljava/lang/String;
ifnull 11
aload 5
invokevirtual org.apache.cassandra.cql3.CFName.getColumnFamily:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
10: aload 4
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokestatic org.apache.cassandra.cql3.restrictions.IndexRestrictions.invalidIndex:(Lorg/apache/cassandra/cql3/IndexName;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.getIndexes:()Lorg/apache/cassandra/schema/Indexes;
aload 4
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
invokevirtual org.apache.cassandra.cql3.IndexName.getIdx:()Ljava/lang/String;
invokevirtual org.apache.cassandra.schema.Indexes.has:(Ljava/lang/String;)Z
ifne 13
12: aload 4
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokestatic org.apache.cassandra.cql3.restrictions.IndexRestrictions.indexNotFound:(Lorg/apache/cassandra/cql3/IndexName;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
13: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.getIndexes:()Lorg/apache/cassandra/schema/Indexes;
aload 4
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
invokevirtual org.apache.cassandra.cql3.IndexName.getIdx:()Ljava/lang/String;
invokevirtual org.apache.cassandra.schema.Indexes.get:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.schema.IndexMetadata
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.getIndex:(Lorg/apache/cassandra/schema/IndexMetadata;)Lorg/apache/cassandra/index/Index;
astore 6
start local 6 14: aload 6
invokeinterface org.apache.cassandra.index.Index.getIndexMetadata:()Lorg/apache/cassandra/schema/IndexMetadata;
invokevirtual org.apache.cassandra.schema.IndexMetadata.isCustom:()Z
ifne 16
15: aload 4
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
invokestatic org.apache.cassandra.cql3.restrictions.IndexRestrictions.nonCustomIndexInExpression:(Lorg/apache/cassandra/cql3/IndexName;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
16: StackMap locals: org.apache.cassandra.index.Index
StackMap stack:
aload 6
invokeinterface org.apache.cassandra.index.Index.customExpressionValueType:()Lorg/apache/cassandra/db/marshal/AbstractType;
astore 7
start local 7 17: aload 7
ifnonnull 19
18: aload 4
getfield org.apache.cassandra.cql3.restrictions.CustomIndexExpression.targetIndex:Lorg/apache/cassandra/cql3/IndexName;
invokestatic org.apache.cassandra.cql3.restrictions.IndexRestrictions.customExpressionNotSupported:(Lorg/apache/cassandra/cql3/IndexName;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
athrow
19: StackMap locals: org.apache.cassandra.db.marshal.AbstractType
StackMap stack:
aload 4
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
aload 7
aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.CustomIndexExpression.prepareValue:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/marshal/AbstractType;Lorg/apache/cassandra/cql3/VariableSpecifications;)V
20: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
aload 4
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.add:(Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;)V
21: return
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 22 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 22 1 expressions Ljava/util/List<Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;>;
0 22 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
0 22 3 indexManager Lorg/apache/cassandra/index/SecondaryIndexManager;
5 22 4 expression Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;
6 22 5 cfName Lorg/apache/cassandra/cql3/CFName;
14 22 6 index Lorg/apache/cassandra/index/Index;
17 22 7 expressionType Lorg/apache/cassandra/db/marshal/AbstractType<*>;
Signature: (Ljava/util/List<Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;>;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/index/SecondaryIndexManager;)V
MethodParameters:
Name Flags
expressions
boundNames
indexManager
public org.apache.cassandra.db.filter.RowFilter getRowFilter(org.apache.cassandra.index.SecondaryIndexManager, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/index/SecondaryIndexManager;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/db/filter/RowFilter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.isEmpty:()Z
ifeq 2
1: getstatic org.apache.cassandra.db.filter.RowFilter.NONE:Lorg/apache/cassandra/db/filter/RowFilter;
areturn
2: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.db.filter.RowFilter.create:()Lorg/apache/cassandra/db/filter/RowFilter;
astore 3
start local 3 3: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.getRestrictions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.index.SecondaryIndexManager org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.db.filter.RowFilter top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.restrictions.Restrictions
astore 4
start local 4 5: aload 4
aload 3
aload 1
aload 2
invokeinterface org.apache.cassandra.cql3.restrictions.Restrictions.addRowFilterTo:(Lorg/apache/cassandra/db/filter/RowFilter;Lorg/apache/cassandra/index/SecondaryIndexManager;Lorg/apache/cassandra/cql3/QueryOptions;)V
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.getCustomIndexExpressions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals:
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.restrictions.CustomIndexExpression
astore 4
start local 4 9: aload 4
aload 3
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.CustomIndexExpression.addToRowFilter:(Lorg/apache/cassandra/db/filter/RowFilter;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/QueryOptions;)V
end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 12 1 indexManager Lorg/apache/cassandra/index/SecondaryIndexManager;
0 12 2 options Lorg/apache/cassandra/cql3/QueryOptions;
3 12 3 filter Lorg/apache/cassandra/db/filter/RowFilter;
5 6 4 restrictions Lorg/apache/cassandra/cql3/restrictions/Restrictions;
9 10 4 expression Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;
MethodParameters:
Name Flags
indexManager
options
public java.util.List<java.nio.ByteBuffer> getPartitionKeys(org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.values:(Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 1 1 options Lorg/apache/cassandra/cql3/QueryOptions;
Signature: (Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/List<Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
options final
private java.nio.ByteBuffer getPartitionKeyBound(org.apache.cassandra.cql3.statements.Bound, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 1
aload 2
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.bounds:(Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 1 1 b Lorg/apache/cassandra/cql3/statements/Bound;
0 1 2 options Lorg/apache/cassandra/cql3/QueryOptions;
MethodParameters:
Name Flags
b
options
public org.apache.cassandra.dht.AbstractBounds<org.apache.cassandra.db.PartitionPosition> getPartitionKeyBounds(org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/dht/AbstractBounds;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isOnToken:()Z
ifeq 3
2: aload 0
aload 2
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getPartitionKeyBoundsForTokenRestrictions:(Lorg/apache/cassandra/dht/IPartitioner;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/dht/AbstractBounds;
areturn
3: StackMap locals: org.apache.cassandra.dht.IPartitioner
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getPartitionKeyBounds:(Lorg/apache/cassandra/dht/IPartitioner;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/dht/AbstractBounds;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 4 1 options Lorg/apache/cassandra/cql3/QueryOptions;
1 4 2 p Lorg/apache/cassandra/dht/IPartitioner;
Signature: (Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
MethodParameters:
Name Flags
options
private org.apache.cassandra.dht.AbstractBounds<org.apache.cassandra.db.PartitionPosition> getPartitionKeyBounds(org.apache.cassandra.dht.IPartitioner, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/dht/IPartitioner;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/dht/AbstractBounds;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.needFiltering:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifeq 2
1: new org.apache.cassandra.dht.Range
dup
aload 1
invokeinterface org.apache.cassandra.dht.IPartitioner.getMinimumToken:()Lorg/apache/cassandra/dht/Token;
invokevirtual org.apache.cassandra.dht.Token.minKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
aload 1
invokeinterface org.apache.cassandra.dht.IPartitioner.getMinimumToken:()Lorg/apache/cassandra/dht/Token;
invokevirtual org.apache.cassandra.dht.Token.maxKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
invokespecial org.apache.cassandra.dht.Range.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.cql3.statements.Bound.START:Lorg/apache/cassandra/cql3/statements/Bound;
aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getPartitionKeyBound:(Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
astore 3
start local 3 3: aload 0
getstatic org.apache.cassandra.cql3.statements.Bound.END:Lorg/apache/cassandra/cql3/statements/Bound;
aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getPartitionKeyBound:(Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
astore 4
start local 4 4: aload 3
aload 1
invokestatic org.apache.cassandra.db.PartitionPosition$ForKey.get:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/db/PartitionPosition;
astore 5
start local 5 5: aload 4
aload 1
invokestatic org.apache.cassandra.db.PartitionPosition$ForKey.get:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/db/PartitionPosition;
astore 6
start local 6 6: aload 5
aload 6
invokeinterface org.apache.cassandra.db.PartitionPosition.compareTo:(Ljava/lang/Object;)I
ifle 8
aload 6
invokeinterface org.apache.cassandra.db.PartitionPosition.isMinimum:()Z
ifne 8
7: aconst_null
areturn
8: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.dht.IPartitioner org.apache.cassandra.cql3.QueryOptions java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.db.PartitionPosition org.apache.cassandra.db.PartitionPosition
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
getstatic org.apache.cassandra.cql3.statements.Bound.START:Lorg/apache/cassandra/cql3/statements/Bound;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isInclusive:(Lorg/apache/cassandra/cql3/statements/Bound;)Z
ifeq 13
9: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
getstatic org.apache.cassandra.cql3.statements.Bound.END:Lorg/apache/cassandra/cql3/statements/Bound;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isInclusive:(Lorg/apache/cassandra/cql3/statements/Bound;)Z
ifeq 11
10: new org.apache.cassandra.dht.Bounds
dup
aload 5
aload 6
invokespecial org.apache.cassandra.dht.Bounds.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
goto 12
11: StackMap locals:
StackMap stack:
new org.apache.cassandra.dht.IncludingExcludingBounds
dup
aload 5
aload 6
invokespecial org.apache.cassandra.dht.IncludingExcludingBounds.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
12: StackMap locals:
StackMap stack: org.apache.cassandra.dht.AbstractBounds
areturn
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
getstatic org.apache.cassandra.cql3.statements.Bound.END:Lorg/apache/cassandra/cql3/statements/Bound;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isInclusive:(Lorg/apache/cassandra/cql3/statements/Bound;)Z
ifeq 15
14: new org.apache.cassandra.dht.Range
dup
aload 5
aload 6
invokespecial org.apache.cassandra.dht.Range.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
goto 16
15: StackMap locals:
StackMap stack:
new org.apache.cassandra.dht.ExcludingBounds
dup
aload 5
aload 6
invokespecial org.apache.cassandra.dht.ExcludingBounds.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
16: StackMap locals:
StackMap stack: org.apache.cassandra.dht.AbstractBounds
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 17 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 17 1 p Lorg/apache/cassandra/dht/IPartitioner;
0 17 2 options Lorg/apache/cassandra/cql3/QueryOptions;
3 17 3 startKeyBytes Ljava/nio/ByteBuffer;
4 17 4 finishKeyBytes Ljava/nio/ByteBuffer;
5 17 5 startKey Lorg/apache/cassandra/db/PartitionPosition;
6 17 6 finishKey Lorg/apache/cassandra/db/PartitionPosition;
Signature: (Lorg/apache/cassandra/dht/IPartitioner;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
MethodParameters:
Name Flags
p
options
private org.apache.cassandra.dht.AbstractBounds<org.apache.cassandra.db.PartitionPosition> getPartitionKeyBoundsForTokenRestrictions(org.apache.cassandra.dht.IPartitioner, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/dht/IPartitioner;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/dht/AbstractBounds;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.apache.cassandra.cql3.statements.Bound.START:Lorg/apache/cassandra/cql3/statements/Bound;
aload 2
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getTokenBound:(Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/dht/Token;
astore 3
start local 3 1: aload 0
getstatic org.apache.cassandra.cql3.statements.Bound.END:Lorg/apache/cassandra/cql3/statements/Bound;
aload 2
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.getTokenBound:(Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/dht/Token;
astore 4
start local 4 2: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
getstatic org.apache.cassandra.cql3.statements.Bound.START:Lorg/apache/cassandra/cql3/statements/Bound;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isInclusive:(Lorg/apache/cassandra/cql3/statements/Bound;)Z
istore 5
start local 5 3: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
getstatic org.apache.cassandra.cql3.statements.Bound.END:Lorg/apache/cassandra/cql3/statements/Bound;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.isInclusive:(Lorg/apache/cassandra/cql3/statements/Bound;)Z
istore 6
start local 6 4: aload 3
aload 4
invokevirtual org.apache.cassandra.dht.Token.compareTo:(Ljava/lang/Object;)I
istore 7
start local 7 5: aload 3
invokevirtual org.apache.cassandra.dht.Token.isMinimum:()Z
ifne 8
aload 4
invokevirtual org.apache.cassandra.dht.Token.isMinimum:()Z
ifne 8
6: iload 7
ifgt 7
iload 7
ifne 8
iload 5
ifeq 7
iload 6
ifne 8
7: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.dht.IPartitioner org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.dht.Token org.apache.cassandra.dht.Token int int int
StackMap stack:
aconst_null
areturn
8: StackMap locals:
StackMap stack:
iload 5
ifeq 9
aload 3
invokevirtual org.apache.cassandra.dht.Token.minKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
goto 10
StackMap locals:
StackMap stack:
9: aload 3
invokevirtual org.apache.cassandra.dht.Token.maxKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
StackMap locals:
StackMap stack: org.apache.cassandra.dht.Token$KeyBound
10: astore 8
start local 8 11: iload 6
ifeq 12
aload 4
invokevirtual org.apache.cassandra.dht.Token.maxKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
goto 13
StackMap locals: org.apache.cassandra.db.PartitionPosition
StackMap stack:
12: aload 4
invokevirtual org.apache.cassandra.dht.Token.minKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
StackMap locals:
StackMap stack: org.apache.cassandra.dht.Token$KeyBound
13: astore 9
start local 9 14: new org.apache.cassandra.dht.Range
dup
aload 8
aload 9
invokespecial org.apache.cassandra.dht.Range.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
areturn
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 15 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 15 1 p Lorg/apache/cassandra/dht/IPartitioner;
0 15 2 options Lorg/apache/cassandra/cql3/QueryOptions;
1 15 3 startToken Lorg/apache/cassandra/dht/Token;
2 15 4 endToken Lorg/apache/cassandra/dht/Token;
3 15 5 includeStart Z
4 15 6 includeEnd Z
5 15 7 cmp I
11 15 8 start Lorg/apache/cassandra/db/PartitionPosition;
14 15 9 end Lorg/apache/cassandra/db/PartitionPosition;
Signature: (Lorg/apache/cassandra/dht/IPartitioner;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
MethodParameters:
Name Flags
p
options
private org.apache.cassandra.dht.Token getTokenBound(org.apache.cassandra.cql3.statements.Bound, org.apache.cassandra.cql3.QueryOptions, org.apache.cassandra.dht.IPartitioner);
descriptor: (Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/dht/Token;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 1
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.hasBound:(Lorg/apache/cassandra/cql3/statements/Bound;)Z
ifne 2
1: aload 3
invokeinterface org.apache.cassandra.dht.IPartitioner.getMinimumToken:()Lorg/apache/cassandra/dht/Token;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 1
aload 2
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.bounds:(Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 4
start local 4 3: aload 4
ldc "Invalid null token value"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 3
invokeinterface org.apache.cassandra.dht.IPartitioner.getTokenFactory:()Lorg/apache/cassandra/dht/Token$TokenFactory;
aload 4
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromByteArray:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/dht/Token;
areturn
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/restrictions/StatementRestrictions;
0 5 1 b Lorg/apache/cassandra/cql3/statements/Bound;
0 5 2 options Lorg/apache/cassandra/cql3/QueryOptions;
0 5 3 p Lorg/apache/cassandra/dht/IPartitioner;
3 5 4 value Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
b
options
p
public boolean hasClusteringColumnsRestrictions();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
public java.util.NavigableSet<org.apache.cassandra.db.Clustering> getClusteringColumns(org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/NavigableSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isStaticCompactTable:()Z
ifeq 2
1: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokestatic org.apache.cassandra.utils.btree.BTreeSet.empty:(Ljava/util/Comparator;)Lorg/apache/cassandra/utils/btree/BTreeSet;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
aload 1
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.valuesAsClustering:(Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/NavigableSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 3 1 options Lorg/apache/cassandra/cql3/QueryOptions;
Signature: (Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/NavigableSet<Lorg/apache/cassandra/db/Clustering;>;
MethodParameters:
Name Flags
options
public java.util.NavigableSet<org.apache.cassandra.db.ClusteringBound> getClusteringColumnsBounds(org.apache.cassandra.cql3.statements.Bound, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/NavigableSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
aload 1
aload 2
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.boundsAsClustering:(Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/NavigableSet;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 1 1 b Lorg/apache/cassandra/cql3/statements/Bound;
0 1 2 options Lorg/apache/cassandra/cql3/QueryOptions;
Signature: (Lorg/apache/cassandra/cql3/statements/Bound;Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/util/NavigableSet<Lorg/apache/cassandra/db/ClusteringBound;>;
MethodParameters:
Name Flags
b
options
public boolean isColumnRange();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isStaticCompactTable:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokeinterface java.util.List.size:()I
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.size:()I
iload 1
if_icmplt 6
4: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.hasOnlyEqualityRestrictions:()Z
ifeq 6
5: iconst_0
ireturn
StackMap locals: int
StackMap stack:
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
3 7 1 numberOfClusteringColumns I
public boolean needFiltering();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.getCustomIndexExpressions:()Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 1
start local 1 1: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.filterRestrictions:Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.IndexRestrictions.getRestrictions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.restrictions.Restrictions
astore 2
start local 2 3: iload 1
aload 2
invokeinterface org.apache.cassandra.cql3.restrictions.Restrictions.size:()I
iadd
istore 1
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iload 1
iconst_1
if_icmpgt 10
6: iload 1
ifne 7
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.isEmpty:()Z
ifeq 10
7: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions int
StackMap stack:
iload 1
ifeq 9
8: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.hasMultipleContains:()Z
ifne 10
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
10: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
1 11 1 numberOfRestrictions I
3 4 2 restrictions Lorg/apache/cassandra/cql3/restrictions/Restrictions;
private void validateSecondaryIndexSelections(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.keyIsInRelation:()Z
1: ldc "Select on indexed columns and with IN clause for the PRIMARY KEY are not supported"
2: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
3: iload 1
ldc "Queries using 2ndary indexes don't support selecting only static columns"
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
0 5 1 selectsOnlyStaticColumns Z
MethodParameters:
Name Flags
selectsOnlyStaticColumns
public boolean hasAllPKColumnsRestrictedByEqualities();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.isPartitionKeyRestrictionsOnToken:()Z
ifne 6
1: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.hasUnrestrictedPartitionKeyComponents:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifne 6
2: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.partitionKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/PartitionKeyRestrictions;
invokeinterface org.apache.cassandra.cql3.restrictions.PartitionKeyRestrictions.hasOnlyEqualityRestrictions:()Z
ifeq 6
3: aload 0
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasUnrestrictedClusteringColumns:()Z
ifne 6
4: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.hasOnlyEqualityRestrictions:()Z
ifeq 6
5: iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
public boolean hasRegularColumnsRestrictions();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasRegularColumnsRestrictions:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
public org.apache.cassandra.cql3.SuperColumnCompatibility$SuperColumnRestrictions getSuperColumnRestrictions();
descriptor: ()Lorg/apache/cassandra/cql3/SuperColumnCompatibility$SuperColumnRestrictions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.cql3.restrictions.StatementRestrictions.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 1
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isDense:()Z
ifne 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cached:Lorg/apache/cassandra/cql3/SuperColumnCompatibility$SuperColumnRestrictions;
ifnonnull 6
3: aload 0
new org.apache.cassandra.cql3.SuperColumnCompatibility$SuperColumnRestrictions
dup
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.clusteringColumnsRestrictions:Lorg/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictions;
invokevirtual org.apache.cassandra.cql3.restrictions.ClusteringColumnRestrictions.iterator:()Ljava/util/Iterator;
4: aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.nonPrimaryKeyRestrictions:Lorg/apache/cassandra/cql3/restrictions/RestrictionSet;
invokevirtual org.apache.cassandra.cql3.restrictions.RestrictionSet.iterator:()Ljava/util/Iterator;
5: invokestatic com.google.common.collect.Iterators.concat:(Ljava/util/Iterator;Ljava/util/Iterator;)Ljava/util/Iterator;
invokespecial org.apache.cassandra.cql3.SuperColumnCompatibility$SuperColumnRestrictions.<init>:(Ljava/util/Iterator;)V
putfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cached:Lorg/apache/cassandra/cql3/SuperColumnCompatibility$SuperColumnRestrictions;
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.restrictions.StatementRestrictions.cached:Lorg/apache/cassandra/cql3/SuperColumnCompatibility$SuperColumnRestrictions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
static int[] $SWITCH_TABLE$org$apache$cassandra$config$ColumnDefinition$Kind();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.cql3.restrictions.StatementRestrictions.$SWITCH_TABLE$org$apache$cassandra$config$ColumnDefinition$Kind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.config.ColumnDefinition$Kind.values:()[Lorg/apache/cassandra/config/ColumnDefinition$Kind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.config.ColumnDefinition$Kind.CLUSTERING:Lorg/apache/cassandra/config/ColumnDefinition$Kind;
invokevirtual org.apache.cassandra.config.ColumnDefinition$Kind.ordinal:()I
iconst_2
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.config.ColumnDefinition$Kind.PARTITION_KEY:Lorg/apache/cassandra/config/ColumnDefinition$Kind;
invokevirtual org.apache.cassandra.config.ColumnDefinition$Kind.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.config.ColumnDefinition$Kind.REGULAR:Lorg/apache/cassandra/config/ColumnDefinition$Kind;
invokevirtual org.apache.cassandra.config.ColumnDefinition$Kind.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.apache.cassandra.config.ColumnDefinition$Kind.STATIC:Lorg/apache/cassandra/config/ColumnDefinition$Kind;
invokevirtual org.apache.cassandra.config.ColumnDefinition$Kind.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.apache.cassandra.cql3.restrictions.StatementRestrictions.$SWITCH_TABLE$org$apache$cassandra$config$ColumnDefinition$Kind:[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
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
private static boolean lambda$1(org.apache.cassandra.cql3.restrictions.Restriction);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/Restriction;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
checkcast org.apache.cassandra.cql3.restrictions.SingleRestriction
invokeinterface org.apache.cassandra.cql3.restrictions.SingleRestriction.isEQ:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p Lorg/apache/cassandra/cql3/restrictions/Restriction;
}
SourceFile: "StatementRestrictions.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Kind = org.apache.cassandra.config.ColumnDefinition$Kind of org.apache.cassandra.config.ColumnDefinition
public SuperColumnRestrictions = org.apache.cassandra.cql3.SuperColumnCompatibility$SuperColumnRestrictions of org.apache.cassandra.cql3.SuperColumnCompatibility
public final ForKey = org.apache.cassandra.db.PartitionPosition$ForKey of org.apache.cassandra.db.PartitionPosition
public KeyBound = org.apache.cassandra.dht.Token$KeyBound of org.apache.cassandra.dht.Token
public abstract TokenFactory = org.apache.cassandra.dht.Token$TokenFactory of org.apache.cassandra.dht.Token