public class org.apache.cassandra.cql3.restrictions.IndexRestrictions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.restrictions.IndexRestrictions
super_class: java.lang.Object
{
public static final java.lang.String INDEX_NOT_FOUND;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Invalid index expression, index %s not found for %s.%s"
public static final java.lang.String INVALID_INDEX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Target index %s cannot be used to query %s.%s"
public static final java.lang.String CUSTOM_EXPRESSION_NOT_SUPPORTED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Index %s does not support custom expressions"
public static final java.lang.String NON_CUSTOM_INDEX_IN_EXPRESSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Only CUSTOM indexes may be used in custom index expressions, %s is not valid"
public static final java.lang.String MULTIPLE_EXPRESSIONS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Multiple custom index expressions in a single query are not supported"
private final java.util.List<org.apache.cassandra.cql3.restrictions.Restrictions> regularRestrictions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/cql3/restrictions/Restrictions;>;
private final java.util.List<org.apache.cassandra.cql3.restrictions.CustomIndexExpression> customExpressions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.cql3.restrictions.IndexRestrictions.regularRestrictions:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.cql3.restrictions.IndexRestrictions.customExpressions:Ljava/util/List;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
public void add(org.apache.cassandra.cql3.restrictions.Restrictions);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/Restrictions;)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.IndexRestrictions.regularRestrictions:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
0 2 1 restrictions Lorg/apache/cassandra/cql3/restrictions/Restrictions;
MethodParameters:
Name Flags
restrictions
public void add(org.apache.cassandra.cql3.restrictions.CustomIndexExpression);
descriptor: (Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;)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.IndexRestrictions.customExpressions:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
0 2 1 expression Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;
MethodParameters:
Name Flags
expression
public boolean isEmpty();
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.IndexRestrictions.regularRestrictions:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
aload 0
getfield org.apache.cassandra.cql3.restrictions.IndexRestrictions.customExpressions:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 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/IndexRestrictions;
public java.util.List<org.apache.cassandra.cql3.restrictions.Restrictions> getRestrictions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.IndexRestrictions.regularRestrictions:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
Signature: ()Ljava/util/List<Lorg/apache/cassandra/cql3/restrictions/Restrictions;>;
public java.util.List<org.apache.cassandra.cql3.restrictions.CustomIndexExpression> getCustomIndexExpressions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.restrictions.IndexRestrictions.customExpressions:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/restrictions/IndexRestrictions;
Signature: ()Ljava/util/List<Lorg/apache/cassandra/cql3/restrictions/CustomIndexExpression;>;
static org.apache.cassandra.exceptions.InvalidRequestException invalidIndex(org.apache.cassandra.cql3.IndexName, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/cql3/IndexName;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Target index %s cannot be used to query %s.%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.cassandra.cql3.IndexName.getIdx:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aastore
dup
iconst_2
aload 1
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aastore
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
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 indexName Lorg/apache/cassandra/cql3/IndexName;
0 1 1 cfm Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
indexName
cfm
static org.apache.cassandra.exceptions.InvalidRequestException indexNotFound(org.apache.cassandra.cql3.IndexName, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/cql3/IndexName;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid index expression, index %s not found for %s.%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.cassandra.cql3.IndexName.getIdx:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aastore
dup
iconst_2
aload 1
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aastore
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
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 indexName Lorg/apache/cassandra/cql3/IndexName;
0 1 1 cfm Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
indexName
cfm
static org.apache.cassandra.exceptions.InvalidRequestException nonCustomIndexInExpression(org.apache.cassandra.cql3.IndexName);
descriptor: (Lorg/apache/cassandra/cql3/IndexName;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Only CUSTOM indexes may be used in custom index expressions, %s is not valid"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.cassandra.cql3.IndexName.getIdx:()Ljava/lang/String;
aastore
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
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 indexName Lorg/apache/cassandra/cql3/IndexName;
MethodParameters:
Name Flags
indexName
static org.apache.cassandra.exceptions.InvalidRequestException customExpressionNotSupported(org.apache.cassandra.cql3.IndexName);
descriptor: (Lorg/apache/cassandra/cql3/IndexName;)Lorg/apache/cassandra/exceptions/InvalidRequestException;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Index %s does not support custom expressions"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.cassandra.cql3.IndexName.getIdx:()Ljava/lang/String;
aastore
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
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 indexName Lorg/apache/cassandra/cql3/IndexName;
MethodParameters:
Name Flags
indexName
}
SourceFile: "IndexRestrictions.java"