public class org.apache.cassandra.cql3.statements.IndexPropDefs extends org.apache.cassandra.cql3.statements.PropertyDefinitions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.IndexPropDefs
super_class: org.apache.cassandra.cql3.statements.PropertyDefinitions
{
public static final java.lang.String KW_OPTIONS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "options"
public static final java.util.Set<java.lang.String> keywords;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> obsoleteKeywords;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public boolean isCustom;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
public java.lang.String customClass;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.apache.cassandra.cql3.statements.IndexPropDefs.keywords:Ljava/util/Set;
1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.apache.cassandra.cql3.statements.IndexPropDefs.obsoleteKeywords:Ljava/util/Set;
2: getstatic org.apache.cassandra.cql3.statements.IndexPropDefs.keywords:Ljava/util/Set;
ldc "options"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.cassandra.cql3.statements.PropertyDefinitions.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/IndexPropDefs;
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.cql3.statements.IndexPropDefs.keywords:Ljava/util/Set;
getstatic org.apache.cassandra.cql3.statements.IndexPropDefs.obsoleteKeywords:Ljava/util/Set;
invokevirtual org.apache.cassandra.cql3.statements.IndexPropDefs.validate:(Ljava/util/Set;Ljava/util/Set;)V
1: aload 0
getfield org.apache.cassandra.cql3.statements.IndexPropDefs.isCustom:Z
ifeq 3
aload 0
getfield org.apache.cassandra.cql3.statements.IndexPropDefs.customClass:Ljava/lang/String;
ifnonnull 3
2: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "CUSTOM index requires specifiying the index class"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.statements.IndexPropDefs.isCustom:Z
ifne 5
aload 0
getfield org.apache.cassandra.cql3.statements.IndexPropDefs.customClass:Ljava/lang/String;
ifnull 5
4: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot specify index class for a non-CUSTOM index"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.statements.IndexPropDefs.isCustom:Z
ifne 7
aload 0
getfield org.apache.cassandra.cql3.statements.IndexPropDefs.properties:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 7
6: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot specify options for a non-CUSTOM index"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.cql3.statements.IndexPropDefs.getRawOptions:()Ljava/util/Map;
ldc "class_name"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 11
8: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot specify %s as a CUSTOM option"
iconst_1
anewarray java.lang.Object
dup
iconst_0
9: ldc "class_name"
aastore
10: 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
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.cql3.statements.IndexPropDefs.getRawOptions:()Ljava/util/Map;
ldc "target"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 15
12: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot specify %s as a CUSTOM option"
iconst_1
anewarray java.lang.Object
dup
iconst_0
13: ldc "target"
aastore
14: 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
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/cql3/statements/IndexPropDefs;
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException
public java.util.Map<java.lang.String, java.lang.String> getRawOptions();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "options"
invokevirtual org.apache.cassandra.cql3.statements.IndexPropDefs.getMap:(Ljava/lang/String;)Ljava/util/Map;
astore 1
start local 1 1: aload 1
ifnonnull 2
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
goto 3
StackMap locals: java.util.Map
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.util.Map
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/statements/IndexPropDefs;
1 4 1 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws org.apache.cassandra.exceptions.SyntaxException
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.util.Map<java.lang.String, java.lang.String> getOptions();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.HashMap
dup
aload 0
invokevirtual org.apache.cassandra.cql3.statements.IndexPropDefs.getRawOptions:()Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 1
start local 1 1: aload 1
ldc "class_name"
aload 0
getfield org.apache.cassandra.cql3.statements.IndexPropDefs.customClass:Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/statements/IndexPropDefs;
1 3 1 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws org.apache.cassandra.exceptions.SyntaxException
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
}
SourceFile: "IndexPropDefs.java"