public final class org.apache.cassandra.cql3.statements.TableAttributes 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.TableAttributes
super_class: org.apache.cassandra.cql3.statements.PropertyDefinitions
{
private static final java.lang.String KW_ID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "id"
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;>;
private static boolean loggedReadRepairChanceDeprecationWarnings;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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.TableParams$Option.values:()[Lorg/apache/cassandra/schema/TableParams$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.TableParams$Option[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 0
aload 1
invokevirtual org.apache.cassandra.schema.TableParams$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
ldc "id"
invokevirtual com.google.common.collect.ImmutableSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder;
pop
7: aload 0
invokevirtual com.google.common.collect.ImmutableSet$Builder.build:()Lcom/google/common/collect/ImmutableSet;
putstatic org.apache.cassandra.cql3.statements.TableAttributes.validKeywords:Ljava/util/Set;
8: invokestatic com.google.common.collect.ImmutableSet.of:()Lcom/google/common/collect/ImmutableSet;
putstatic org.apache.cassandra.cql3.statements.TableAttributes.obsoleteKeywords:Ljava/util/Set;
end local 0 9: return
LocalVariableTable:
Start End Slot Name Signature
1 9 0 validBuilder Lcom/google/common/collect/ImmutableSet$Builder<Ljava/lang/String;>;
3 4 1 option Lorg/apache/cassandra/schema/TableParams$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/TableAttributes;
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.TableAttributes.validKeywords:Ljava/util/Set;
getstatic org.apache.cassandra.cql3.statements.TableAttributes.obsoleteKeywords:Ljava/util/Set;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.validate:(Ljava/util/Set;Ljava/util/Set;)V
1: aload 0
invokestatic org.apache.cassandra.schema.TableParams.builder:()Lorg/apache/cassandra/schema/TableParams$Builder;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.build:(Lorg/apache/cassandra/schema/TableParams$Builder;)Lorg/apache/cassandra/schema/TableParams;
invokevirtual org.apache.cassandra.schema.TableParams.validate:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
public org.apache.cassandra.schema.TableParams asNewTableParams();
descriptor: ()Lorg/apache/cassandra/schema/TableParams;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.schema.TableParams.builder:()Lorg/apache/cassandra/schema/TableParams$Builder;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.build:(Lorg/apache/cassandra/schema/TableParams$Builder;)Lorg/apache/cassandra/schema/TableParams;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
public org.apache.cassandra.schema.TableParams asAlteredTableParams(org.apache.cassandra.schema.TableParams);
descriptor: (Lorg/apache/cassandra/schema/TableParams;)Lorg/apache/cassandra/schema/TableParams;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getId:()Ljava/util/UUID;
ifnull 2
1: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Cannot alter table id."
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.apache.cassandra.schema.TableParams.builder:(Lorg/apache/cassandra/schema/TableParams;)Lorg/apache/cassandra/schema/TableParams$Builder;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.build:(Lorg/apache/cassandra/schema/TableParams$Builder;)Lorg/apache/cassandra/schema/TableParams;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
0 3 1 previous Lorg/apache/cassandra/schema/TableParams;
MethodParameters:
Name Flags
previous
public java.util.UUID getId();
descriptor: ()Ljava/util/UUID;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
ldc "id"
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getSimple:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokestatic java.util.UUID.fromString:(Ljava/lang/String;)Ljava/util/UUID;
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.util.UUID
3: areturn
4: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 2
start local 2 5: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Invalid table id"
aload 2
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
1 6 1 id Ljava/lang/String;
5 6 2 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
1 3 4 Class java.lang.IllegalArgumentException
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
private org.apache.cassandra.schema.TableParams build(org.apache.cassandra.schema.TableParams$Builder);
descriptor: (Lorg/apache/cassandra/schema/TableParams$Builder;)Lorg/apache/cassandra/schema/TableParams;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.BLOOM_FILTER_FP_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 2
1: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.BLOOM_FILTER_FP_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getDouble:(Lorg/apache/cassandra/schema/TableParams$Option;)D
invokevirtual org.apache.cassandra.schema.TableParams$Builder.bloomFilterFpChance:(D)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.CACHING:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 4
3: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.CACHING:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getMap:(Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/util/Map;
invokestatic org.apache.cassandra.schema.CachingParams.fromMap:(Ljava/util/Map;)Lorg/apache/cassandra/schema/CachingParams;
invokevirtual org.apache.cassandra.schema.TableParams$Builder.caching:(Lorg/apache/cassandra/schema/CachingParams;)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
4: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.COMMENT:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 6
5: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.COMMENT:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getString:(Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/lang/String;
invokevirtual org.apache.cassandra.schema.TableParams$Builder.comment:(Ljava/lang/String;)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
6: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.COMPACTION:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 8
7: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.COMPACTION:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getMap:(Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/util/Map;
invokestatic org.apache.cassandra.schema.CompactionParams.fromMap:(Ljava/util/Map;)Lorg/apache/cassandra/schema/CompactionParams;
invokevirtual org.apache.cassandra.schema.TableParams$Builder.compaction:(Lorg/apache/cassandra/schema/CompactionParams;)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
8: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.COMPRESSION:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 14
9: aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.COMPRESSION:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getMap:(Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/util/Map;
astore 2
start local 2 10: aload 2
getstatic org.apache.cassandra.schema.TableParams$Option.CRC_CHECK_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.schema.TableParams$Option.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
aload 2
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getDeprecatedCrcCheckChance:(Ljava/util/Map;)Ljava/lang/Double;
astore 3
start local 3 12: aload 1
aload 3
invokevirtual java.lang.Double.doubleValue:()D
invokevirtual org.apache.cassandra.schema.TableParams$Builder.crcCheckChance:(D)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
end local 3 13: StackMap locals: java.util.Map
StackMap stack:
aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.COMPRESSION:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getMap:(Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/util/Map;
invokestatic org.apache.cassandra.schema.CompressionParams.fromMap:(Ljava/util/Map;)Lorg/apache/cassandra/schema/CompressionParams;
invokevirtual org.apache.cassandra.schema.TableParams$Builder.compression:(Lorg/apache/cassandra/schema/CompressionParams;)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
end local 2 14: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.DCLOCAL_READ_REPAIR_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 20
15: aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.DCLOCAL_READ_REPAIR_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getDouble:(Lorg/apache/cassandra/schema/TableParams$Option;)D
dstore 2
start local 2 16: dload 2
dconst_0
dcmpl
ifeq 19
17: getstatic org.apache.cassandra.service.ClientWarn.instance:Lorg/apache/cassandra/service/ClientWarn;
ldc "dclocal_read_repair_chance table option has been deprecated and will be removed in version 4.0"
invokevirtual org.apache.cassandra.service.ClientWarn.warn:(Ljava/lang/String;)V
18: aload 0
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.maybeLogReadRepairChanceDeprecationWarning:()V
19: StackMap locals: double
StackMap stack:
aload 1
dload 2
invokevirtual org.apache.cassandra.schema.TableParams$Builder.dcLocalReadRepairChance:(D)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
end local 2 20: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.DEFAULT_TIME_TO_LIVE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 22
21: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.DEFAULT_TIME_TO_LIVE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getInt:(Lorg/apache/cassandra/schema/TableParams$Option;)I
invokevirtual org.apache.cassandra.schema.TableParams$Builder.defaultTimeToLive:(I)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
22: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.GC_GRACE_SECONDS:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 24
23: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.GC_GRACE_SECONDS:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getInt:(Lorg/apache/cassandra/schema/TableParams$Option;)I
invokevirtual org.apache.cassandra.schema.TableParams$Builder.gcGraceSeconds:(I)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
24: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.MAX_INDEX_INTERVAL:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 26
25: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.MAX_INDEX_INTERVAL:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getInt:(Lorg/apache/cassandra/schema/TableParams$Option;)I
invokevirtual org.apache.cassandra.schema.TableParams$Builder.maxIndexInterval:(I)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
26: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.MEMTABLE_FLUSH_PERIOD_IN_MS:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 28
27: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.MEMTABLE_FLUSH_PERIOD_IN_MS:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getInt:(Lorg/apache/cassandra/schema/TableParams$Option;)I
invokevirtual org.apache.cassandra.schema.TableParams$Builder.memtableFlushPeriodInMs:(I)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
28: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.MIN_INDEX_INTERVAL:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 30
29: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.MIN_INDEX_INTERVAL:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getInt:(Lorg/apache/cassandra/schema/TableParams$Option;)I
invokevirtual org.apache.cassandra.schema.TableParams$Builder.minIndexInterval:(I)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
30: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.READ_REPAIR_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 36
31: aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.READ_REPAIR_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getDouble:(Lorg/apache/cassandra/schema/TableParams$Option;)D
dstore 2
start local 2 32: dload 2
dconst_0
dcmpl
ifeq 35
33: getstatic org.apache.cassandra.service.ClientWarn.instance:Lorg/apache/cassandra/service/ClientWarn;
ldc "read_repair_chance table option has been deprecated and will be removed in version 4.0"
invokevirtual org.apache.cassandra.service.ClientWarn.warn:(Ljava/lang/String;)V
34: aload 0
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.maybeLogReadRepairChanceDeprecationWarning:()V
35: StackMap locals: double
StackMap stack:
aload 1
dload 2
invokevirtual org.apache.cassandra.schema.TableParams$Builder.readRepairChance:(D)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
end local 2 36: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.SPECULATIVE_RETRY:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 38
37: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.SPECULATIVE_RETRY:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getString:(Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/lang/String;
invokestatic org.apache.cassandra.schema.SpeculativeRetryParam.fromString:(Ljava/lang/String;)Lorg/apache/cassandra/schema/SpeculativeRetryParam;
invokevirtual org.apache.cassandra.schema.TableParams$Builder.speculativeRetry:(Lorg/apache/cassandra/schema/SpeculativeRetryParam;)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
38: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.CRC_CHECK_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 40
39: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.CRC_CHECK_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getDouble:(Lorg/apache/cassandra/schema/TableParams$Option;)D
invokevirtual org.apache.cassandra.schema.TableParams$Builder.crcCheckChance:(D)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
40: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.CDC:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasOption:(Lorg/apache/cassandra/schema/TableParams$Option;)Z
ifeq 42
41: aload 1
aload 0
getstatic org.apache.cassandra.schema.TableParams$Option.CDC:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.schema.TableParams$Option.toString:()Ljava/lang/String;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual org.apache.cassandra.schema.TableParams$Builder.cdc:(Z)Lorg/apache/cassandra/schema/TableParams$Builder;
pop
42: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.schema.TableParams$Builder.build:()Lorg/apache/cassandra/schema/TableParams;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
0 43 1 builder Lorg/apache/cassandra/schema/TableParams$Builder;
10 14 2 compressionOpts Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
12 13 3 crcCheckChance Ljava/lang/Double;
16 20 2 chance D
32 36 2 chance D
MethodParameters:
Name Flags
builder
private void maybeLogReadRepairChanceDeprecationWarning();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.cql3.statements.TableAttributes.loggedReadRepairChanceDeprecationWarnings:Z
ifne 3
1: getstatic org.apache.cassandra.cql3.statements.TableAttributes.logger:Lorg/slf4j/Logger;
ldc "dclocal_read_repair_chance and read_repair_chance table options have been deprecated and will be removed in version 4.0"
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;)V
2: iconst_1
putstatic org.apache.cassandra.cql3.statements.TableAttributes.loggedReadRepairChanceDeprecationWarnings:Z
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
private java.lang.Double getDeprecatedCrcCheckChance(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Ljava/lang/Double;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.apache.cassandra.schema.TableParams$Option.CRC_CHECK_CHANCE:Lorg/apache/cassandra/schema/TableParams$Option;
invokevirtual org.apache.cassandra.schema.TableParams$Option.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
invokestatic java.lang.Double.valueOf:(Ljava/lang/String;)Ljava/lang/Double;
2: areturn
3: StackMap locals: org.apache.cassandra.cql3.statements.TableAttributes java.util.Map java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
4: new org.apache.cassandra.exceptions.SyntaxException
dup
ldc "Invalid double value %s for crc_check_chance.'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.SyntaxException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
0 5 1 compressionOpts Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 5 2 value Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljava/lang/Double;
MethodParameters:
Name Flags
compressionOpts
private double getDouble(org.apache.cassandra.schema.TableParams$Option);
descriptor: (Lorg/apache/cassandra/schema/TableParams$Option;)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getString:(Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
2: dreturn
3: StackMap locals: org.apache.cassandra.cql3.statements.TableAttributes org.apache.cassandra.schema.TableParams$Option java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
4: new org.apache.cassandra.exceptions.SyntaxException
dup
ldc "Invalid double value %s for '%s'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.SyntaxException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
0 5 1 option Lorg/apache/cassandra/schema/TableParams$Option;
1 5 2 value Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
option
private int getInt(org.apache.cassandra.schema.TableParams$Option);
descriptor: (Lorg/apache/cassandra/schema/TableParams$Option;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getString:(Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
2: ireturn
3: StackMap locals: org.apache.cassandra.cql3.statements.TableAttributes org.apache.cassandra.schema.TableParams$Option java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
4: new org.apache.cassandra.exceptions.SyntaxException
dup
ldc "Invalid integer value %s for '%s'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.SyntaxException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
0 5 1 option Lorg/apache/cassandra/schema/TableParams$Option;
1 5 2 value Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
option
private java.lang.String getString(org.apache.cassandra.schema.TableParams$Option);
descriptor: (Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.schema.TableParams$Option.toString:()Ljava/lang/String;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getSimple:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalStateException
dup
ldc "Option '%s' is absent"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
0 4 1 option Lorg/apache/cassandra/schema/TableParams$Option;
1 4 2 value Ljava/lang/String;
MethodParameters:
Name Flags
option
private java.util.Map<java.lang.String, java.lang.String> getMap(org.apache.cassandra.schema.TableParams$Option);
descriptor: (Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.schema.TableParams$Option.toString:()Ljava/lang/String;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.getMap:(Ljava/lang/String;)Ljava/util/Map;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalStateException
dup
ldc "Option '%s' is absent"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.util.Map
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
0 4 1 option Lorg/apache/cassandra/schema/TableParams$Option;
1 4 2 value Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Lorg/apache/cassandra/schema/TableParams$Option;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
option
private boolean hasOption(org.apache.cassandra.schema.TableParams$Option);
descriptor: (Lorg/apache/cassandra/schema/TableParams$Option;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.schema.TableParams$Option.toString:()Ljava/lang/String;
invokevirtual org.apache.cassandra.cql3.statements.TableAttributes.hasProperty:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/statements/TableAttributes;
0 1 1 option Lorg/apache/cassandra/schema/TableParams$Option;
MethodParameters:
Name Flags
option
}
SourceFile: "TableAttributes.java"
InnerClasses:
public Builder = com.google.common.collect.ImmutableSet$Builder of com.google.common.collect.ImmutableSet
public final Builder = org.apache.cassandra.schema.TableParams$Builder of org.apache.cassandra.schema.TableParams
public final Option = org.apache.cassandra.schema.TableParams$Option of org.apache.cassandra.schema.TableParams