public final class org.apache.cassandra.cql3.statements.KeyspaceAttributes extends org.apache.cassandra.cql3.statements.PropertyDefinitions
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.KeyspaceAttributes
super_class: org.apache.cassandra.cql3.statements.PropertyDefinitions
{
private static final java.util.Set<java.lang.String> validKeywords;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> obsoleteKeywords;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=0
0: invokestatic com.google.common.collect.ImmutableSet.builder:()Lcom/google/common/collect/ImmutableSet$Builder;
astore 0
start local 0 1: invokestatic org.apache.cassandra.schema.KeyspaceParams$Option.values:()[Lorg/apache/cassandra/schema/KeyspaceParams$Option;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: com.google.common.collect.ImmutableSet$Builder top int int org.apache.cassandra.schema.KeyspaceParams$Option[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 0
aload 1
invokevirtual org.apache.cassandra.schema.KeyspaceParams$Option.toString:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder;
pop
end local 1 4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 2
6: aload 0
invokevirtual com.google.common.collect.ImmutableSet$Builder.build:()Lcom/google/common/collect/ImmutableSet;
putstatic org.apache.cassandra.cql3.statements.KeyspaceAttributes.validKeywords:Ljava/util/Set;
7: invokestatic com.google.common.collect.ImmutableSet.of:()Lcom/google/common/collect/ImmutableSet;
putstatic org.apache.cassandra.cql3.statements.KeyspaceAttributes.obsoleteKeywords:Ljava/util/Set;
end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
1 8 0 validBuilder Lcom/google/common/collect/ImmutableSet$Builder<Ljava/lang/String;>;
3 4 1 option Lorg/apache/cassandra/schema/KeyspaceParams$Option;
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/KeyspaceAttributes;
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.cql3.statements.KeyspaceAttributes.validKeywords:Ljava/util/Set;
getstatic org.apache.cassandra.cql3.statements.KeyspaceAttributes.obsoleteKeywords:Ljava/util/Set;
invokevirtual org.apache.cassandra.cql3.statements.KeyspaceAttributes.validate:(Ljava/util/Set;Ljava/util/Set;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/KeyspaceAttributes;
public java.lang.String getReplicationStrategyClass();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.cql3.statements.KeyspaceAttributes.getAllReplicationOptions:()Ljava/util/Map;
ldc "class"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/KeyspaceAttributes;
public java.util.Map<java.lang.String, java.lang.String> getReplicationOptions();
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.KeyspaceAttributes.getAllReplicationOptions:()Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 1
start local 1 1: aload 1
ldc "class"
invokeinterface java.util.Map.remove:(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/KeyspaceAttributes;
1 3 1 replication Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.util.Map<java.lang.String, java.lang.String> getAllReplicationOptions();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.schema.KeyspaceParams$Option.REPLICATION:Lorg/apache/cassandra/schema/KeyspaceParams$Option;
invokevirtual org.apache.cassandra.schema.KeyspaceParams$Option.toString:()Ljava/lang/String;
invokevirtual org.apache.cassandra.cql3.statements.KeyspaceAttributes.getMap:(Ljava/lang/String;)Ljava/util/Map;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
goto 4
3: StackMap locals: java.util.Map
StackMap stack:
aload 1
4: StackMap locals:
StackMap stack: java.util.Map
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/statements/KeyspaceAttributes;
1 5 1 replication Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public org.apache.cassandra.schema.KeyspaceParams asNewKeyspaceParams();
descriptor: ()Lorg/apache/cassandra/schema/KeyspaceParams;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.schema.KeyspaceParams$Option.DURABLE_WRITES:Lorg/apache/cassandra/schema/KeyspaceParams$Option;
invokevirtual org.apache.cassandra.schema.KeyspaceParams$Option.toString:()Ljava/lang/String;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.apache.cassandra.cql3.statements.KeyspaceAttributes.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 1
start local 1 1: iload 1
aload 0
invokevirtual org.apache.cassandra.cql3.statements.KeyspaceAttributes.getAllReplicationOptions:()Ljava/util/Map;
invokestatic org.apache.cassandra.schema.KeyspaceParams.create:(ZLjava/util/Map;)Lorg/apache/cassandra/schema/KeyspaceParams;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/KeyspaceAttributes;
1 2 1 durableWrites Z
public org.apache.cassandra.schema.KeyspaceParams asAlteredKeyspaceParams(org.apache.cassandra.schema.KeyspaceParams);
descriptor: (Lorg/apache/cassandra/schema/KeyspaceParams;)Lorg/apache/cassandra/schema/KeyspaceParams;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.apache.cassandra.schema.KeyspaceParams$Option.DURABLE_WRITES:Lorg/apache/cassandra/schema/KeyspaceParams$Option;
invokevirtual org.apache.cassandra.schema.KeyspaceParams$Option.toString:()Ljava/lang/String;
aload 1
getfield org.apache.cassandra.schema.KeyspaceParams.durableWrites:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.apache.cassandra.cql3.statements.KeyspaceAttributes.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 2
start local 2 1: aload 0
invokevirtual org.apache.cassandra.cql3.statements.KeyspaceAttributes.getReplicationStrategyClass:()Ljava/lang/String;
ifnonnull 3
2: aload 1
getfield org.apache.cassandra.schema.KeyspaceParams.replication:Lorg/apache/cassandra/schema/ReplicationParams;
goto 4
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.cql3.statements.KeyspaceAttributes.getAllReplicationOptions:()Ljava/util/Map;
invokestatic org.apache.cassandra.schema.ReplicationParams.fromMap:(Ljava/util/Map;)Lorg/apache/cassandra/schema/ReplicationParams;
4: StackMap locals:
StackMap stack: org.apache.cassandra.schema.ReplicationParams
astore 3
start local 3 5: new org.apache.cassandra.schema.KeyspaceParams
dup
iload 2
aload 3
invokespecial org.apache.cassandra.schema.KeyspaceParams.<init>:(ZLorg/apache/cassandra/schema/ReplicationParams;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/statements/KeyspaceAttributes;
0 6 1 previous Lorg/apache/cassandra/schema/KeyspaceParams;
1 6 2 durableWrites Z
5 6 3 replication Lorg/apache/cassandra/schema/ReplicationParams;
MethodParameters:
Name Flags
previous
}
SourceFile: "KeyspaceAttributes.java"
InnerClasses:
public Builder = com.google.common.collect.ImmutableSet$Builder of com.google.common.collect.ImmutableSet
public final Option = org.apache.cassandra.schema.KeyspaceParams$Option of org.apache.cassandra.schema.KeyspaceParams