public final class org.apache.cassandra.schema.CompressionParams
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.schema.CompressionParams
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile boolean hasLoggedSsTableCompressionWarning;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile boolean hasLoggedChunkLengthWarning;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile boolean hasLoggedCrcCheckChanceWarning;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
public static final int DEFAULT_CHUNK_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 65536
public static final org.apache.cassandra.io.IVersionedSerializer<org.apache.cassandra.schema.CompressionParams> serializer;
descriptor: Lorg/apache/cassandra/io/IVersionedSerializer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/apache/cassandra/io/IVersionedSerializer<Lorg/apache/cassandra/schema/CompressionParams;>;
public static final java.lang.String CLASS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "class"
public static final java.lang.String CHUNK_LENGTH_IN_KB;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "chunk_length_in_kb"
public static final java.lang.String ENABLED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "enabled"
public static final org.apache.cassandra.schema.CompressionParams DEFAULT;
descriptor: Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String CRC_CHECK_CHANCE_WARNING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "The option crc_check_chance was deprecated as a compression option. You should specify it as a top-level table option instead"
public static final java.lang.String SSTABLE_COMPRESSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "sstable_compression"
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final java.lang.String CHUNK_LENGTH_KB;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "chunk_length_kb"
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final java.lang.String CRC_CHECK_CHANCE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "crc_check_chance"
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private final org.apache.cassandra.io.compress.ICompressor sstableCompressor;
descriptor: Lorg/apache/cassandra/io/compress/ICompressor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Integer chunkLength;
descriptor: Ljava/lang/Integer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.google.common.collect.ImmutableMap<java.lang.String, java.lang.String> otherOptions;
descriptor: Lcom/google/common/collect/ImmutableMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableMap<Ljava/lang/String;Ljava/lang/String;>;
private volatile double crcCheckChance;
descriptor: D
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/schema/CompressionParams;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.schema.CompressionParams.logger:Lorg/slf4j/Logger;
1: new org.apache.cassandra.schema.CompressionParams$Serializer
dup
invokespecial org.apache.cassandra.schema.CompressionParams$Serializer.<init>:()V
putstatic org.apache.cassandra.schema.CompressionParams.serializer:Lorg/apache/cassandra/io/IVersionedSerializer;
2: new org.apache.cassandra.schema.CompressionParams
dup
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokestatic org.apache.cassandra.io.compress.LZ4Compressor.create:(Ljava/util/Map;)Lorg/apache/cassandra/io/compress/LZ4Compressor;
3: ldc 65536
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
4: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
5: invokespecial org.apache.cassandra.schema.CompressionParams.<init>:(Lorg/apache/cassandra/io/compress/ICompressor;Ljava/lang/Integer;Ljava/util/Map;)V
putstatic org.apache.cassandra.schema.CompressionParams.DEFAULT:Lorg/apache/cassandra/schema/CompressionParams;
6: return
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.schema.CompressionParams fromMap(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.schema.CompressionParams.copyOptions:(Ljava/util/Map;)Ljava/util/Map;
astore 1
start local 1 1: aload 0
invokeinterface java.util.Map.isEmpty:()Z
ifne 3
aload 0
invokestatic org.apache.cassandra.schema.CompressionParams.isEnabled:(Ljava/util/Map;)Z
ifeq 3
aload 0
invokestatic org.apache.cassandra.schema.CompressionParams.containsSstableCompressionClass:(Ljava/util/Map;)Z
ifne 3
2: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Missing sub-option '%s' for the 'compression' option."
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "class"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.util.Map
StackMap stack:
aload 1
invokestatic org.apache.cassandra.schema.CompressionParams.removeEnabled:(Ljava/util/Map;)Z
ifne 7
4: aconst_null
astore 2
start local 2 5: aload 1
invokeinterface java.util.Map.isEmpty:()Z
ifne 8
6: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "If the '%s' option is set to false no other options must be specified"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "enabled"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.cassandra.schema.CompressionParams.removeSstableCompressionClass:(Ljava/util/Map;)Ljava/lang/String;
astore 2
start local 2 8: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic org.apache.cassandra.schema.CompressionParams.removeChunkLength:(Ljava/util/Map;)Ljava/lang/Integer;
astore 3
start local 3 9: new org.apache.cassandra.schema.CompressionParams
dup
aload 2
aload 3
aload 1
invokespecial org.apache.cassandra.schema.CompressionParams.<init>:(Ljava/lang/String;Ljava/lang/Integer;Ljava/util/Map;)V
astore 4
start local 4 10: aload 4
invokevirtual org.apache.cassandra.schema.CompressionParams.validate:()V
11: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 opts Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 12 1 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 7 2 sstableCompressionClass Ljava/lang/String;
8 12 2 sstableCompressionClass Ljava/lang/String;
9 12 3 chunkLength Ljava/lang/Integer;
10 12 4 cp Lorg/apache/cassandra/schema/CompressionParams;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/apache/cassandra/schema/CompressionParams;
MethodParameters:
Name Flags
opts
public java.lang.Class<? extends org.apache.cassandra.io.compress.ICompressor> klass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompressionParams.sstableCompressor:Lorg/apache/cassandra/io/compress/ICompressor;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompressionParams;
Signature: ()Ljava/lang/Class<+Lorg/apache/cassandra/io/compress/ICompressor;>;
public static org.apache.cassandra.schema.CompressionParams noCompression();
descriptor: ()Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new org.apache.cassandra.schema.CompressionParams
dup
aconst_null
ldc 65536
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokespecial org.apache.cassandra.schema.CompressionParams.<init>:(Lorg/apache/cassandra/io/compress/ICompressor;Ljava/lang/Integer;Ljava/util/Map;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.schema.CompressionParams snappy();
descriptor: ()Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
invokestatic org.apache.cassandra.schema.CompressionParams.snappy:(Ljava/lang/Integer;)Lorg/apache/cassandra/schema/CompressionParams;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.schema.CompressionParams snappy(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.schema.CompressionParams
dup
getstatic org.apache.cassandra.io.compress.SnappyCompressor.instance:Lorg/apache/cassandra/io/compress/SnappyCompressor;
aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokespecial org.apache.cassandra.schema.CompressionParams.<init>:(Lorg/apache/cassandra/io/compress/ICompressor;Ljava/lang/Integer;Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 chunkLength Ljava/lang/Integer;
MethodParameters:
Name Flags
chunkLength
public static org.apache.cassandra.schema.CompressionParams deflate();
descriptor: ()Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
invokestatic org.apache.cassandra.schema.CompressionParams.deflate:(Ljava/lang/Integer;)Lorg/apache/cassandra/schema/CompressionParams;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.schema.CompressionParams deflate(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.schema.CompressionParams
dup
getstatic org.apache.cassandra.io.compress.DeflateCompressor.instance:Lorg/apache/cassandra/io/compress/DeflateCompressor;
aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokespecial org.apache.cassandra.schema.CompressionParams.<init>:(Lorg/apache/cassandra/io/compress/ICompressor;Ljava/lang/Integer;Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 chunkLength Ljava/lang/Integer;
MethodParameters:
Name Flags
chunkLength
public static org.apache.cassandra.schema.CompressionParams lz4();
descriptor: ()Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
invokestatic org.apache.cassandra.schema.CompressionParams.lz4:(Ljava/lang/Integer;)Lorg/apache/cassandra/schema/CompressionParams;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.schema.CompressionParams lz4(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.schema.CompressionParams
dup
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokestatic org.apache.cassandra.io.compress.LZ4Compressor.create:(Ljava/util/Map;)Lorg/apache/cassandra/io/compress/LZ4Compressor;
aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokespecial org.apache.cassandra.schema.CompressionParams.<init>:(Lorg/apache/cassandra/io/compress/ICompressor;Ljava/lang/Integer;Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 chunkLength Ljava/lang/Integer;
MethodParameters:
Name Flags
chunkLength
public void <init>(java.lang.String, java.lang.Integer, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/lang/Integer;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokestatic org.apache.cassandra.schema.CompressionParams.parseCompressorClass:(Ljava/lang/String;)Ljava/lang/Class;
aload 3
invokestatic org.apache.cassandra.schema.CompressionParams.createCompressor:(Ljava/lang/Class;Ljava/util/Map;)Lorg/apache/cassandra/io/compress/ICompressor;
aload 2
aload 3
invokespecial org.apache.cassandra.schema.CompressionParams.<init>:(Lorg/apache/cassandra/io/compress/ICompressor;Ljava/lang/Integer;Ljava/util/Map;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/schema/CompressionParams;
0 2 1 sstableCompressorClass Ljava/lang/String;
0 2 2 chunkLength Ljava/lang/Integer;
0 2 3 otherOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
Signature: (Ljava/lang/String;Ljava/lang/Integer;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
sstableCompressorClass
chunkLength
otherOptions
private void <init>(org.apache.cassandra.io.compress.ICompressor, java.lang.Integer, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Lorg/apache/cassandra/io/compress/ICompressor;Ljava/lang/Integer;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, 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
dconst_1
putfield org.apache.cassandra.schema.CompressionParams.crcCheckChance:D
2: aload 0
aload 1
putfield org.apache.cassandra.schema.CompressionParams.sstableCompressor:Lorg/apache/cassandra/io/compress/ICompressor;
3: aload 0
aload 2
putfield org.apache.cassandra.schema.CompressionParams.chunkLength:Ljava/lang/Integer;
4: aload 0
aload 3
invokestatic com.google.common.collect.ImmutableMap.copyOf:(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;
putfield org.apache.cassandra.schema.CompressionParams.otherOptions:Lcom/google/common/collect/ImmutableMap;
5: return
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/schema/CompressionParams;
0 6 1 sstableCompressor Lorg/apache/cassandra/io/compress/ICompressor;
0 6 2 chunkLength Ljava/lang/Integer;
0 6 3 otherOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
Signature: (Lorg/apache/cassandra/io/compress/ICompressor;Ljava/lang/Integer;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
sstableCompressor
chunkLength
otherOptions
public org.apache.cassandra.schema.CompressionParams copy();
descriptor: ()Lorg/apache/cassandra/schema/CompressionParams;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.schema.CompressionParams
dup
aload 0
getfield org.apache.cassandra.schema.CompressionParams.sstableCompressor:Lorg/apache/cassandra/io/compress/ICompressor;
aload 0
getfield org.apache.cassandra.schema.CompressionParams.chunkLength:Ljava/lang/Integer;
aload 0
getfield org.apache.cassandra.schema.CompressionParams.otherOptions:Lcom/google/common/collect/ImmutableMap;
invokespecial org.apache.cassandra.schema.CompressionParams.<init>:(Lorg/apache/cassandra/io/compress/ICompressor;Ljava/lang/Integer;Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompressionParams;
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompressionParams.sstableCompressor:Lorg/apache/cassandra/io/compress/ICompressor;
ifnull 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/schema/CompressionParams;
public org.apache.cassandra.io.compress.ICompressor getSstableCompressor();
descriptor: ()Lorg/apache/cassandra/io/compress/ICompressor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompressionParams.sstableCompressor:Lorg/apache/cassandra/io/compress/ICompressor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompressionParams;
public com.google.common.collect.ImmutableMap<java.lang.String, java.lang.String> getOtherOptions();
descriptor: ()Lcom/google/common/collect/ImmutableMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompressionParams.otherOptions:Lcom/google/common/collect/ImmutableMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompressionParams;
Signature: ()Lcom/google/common/collect/ImmutableMap<Ljava/lang/String;Ljava/lang/String;>;
public int chunkLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompressionParams.chunkLength:Ljava/lang/Integer;
ifnonnull 1
ldc 65536
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.cassandra.schema.CompressionParams.chunkLength:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/CompressionParams;
private static java.lang.Class<?> parseCompressorClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 3
aload 0
goto 4
StackMap locals:
StackMap stack:
3: new java.lang.StringBuilder
dup
ldc "org.apache.cassandra.io.compress."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: astore 0
5: aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 8: new org.apache.cassandra.exceptions.ConfigurationException
dup
new java.lang.StringBuilder
dup
ldc "Could not create Compression for type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 className Ljava/lang/String;
8 9 1 e Ljava/lang/Exception;
Exception table:
from to target type
5 6 7 Class java.lang.Exception
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
private static org.apache.cassandra.io.compress.ICompressor createCompressor(java.lang.Class<?>, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/Class;Ljava/util/Map;)Lorg/apache/cassandra/io/compress/ICompressor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 4
1: aload 1
invokeinterface java.util.Map.isEmpty:()Z
ifne 3
2: new org.apache.cassandra.exceptions.ConfigurationException
dup
new java.lang.StringBuilder
dup
ldc "Unknown compression options ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") since no compression class found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "crc_check_chance"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 9
5: getstatic org.apache.cassandra.schema.CompressionParams.hasLoggedCrcCheckChanceWarning:Z
ifne 8
6: getstatic org.apache.cassandra.schema.CompressionParams.logger:Lorg/slf4j/Logger;
ldc "The option crc_check_chance was deprecated as a compression option. You should specify it as a top-level table option instead"
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;)V
7: iconst_1
putstatic org.apache.cassandra.schema.CompressionParams.hasLoggedCrcCheckChanceWarning:Z
8: StackMap locals:
StackMap stack:
aload 1
ldc "crc_check_chance"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals:
StackMap stack:
aload 0
ldc "create"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/util/Map;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 2
start local 2 10: aload 2
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.io.compress.ICompressor
astore 3
start local 3 11: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 15
StackMap locals: java.lang.Class java.util.Map java.lang.reflect.Method org.apache.cassandra.io.compress.ICompressor top java.util.Iterator
StackMap stack:
12: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 13: aload 3
invokeinterface org.apache.cassandra.io.compress.ICompressor.supportedOptions:()Ljava/util/Set;
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 15
14: new org.apache.cassandra.exceptions.ConfigurationException
dup
new java.lang.StringBuilder
dup
ldc "Unknown compression options "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 15: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
16: aload 3
17: areturn
end local 3 end local 2 18: StackMap locals: java.lang.Class java.util.Map
StackMap stack: java.lang.NoSuchMethodException
astore 2
start local 2 19: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "create method not found"
aload 2
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 20: StackMap locals:
StackMap stack: java.lang.SecurityException
astore 2
start local 2 21: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Access forbiden"
aload 2
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 22: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 2
start local 2 23: new org.apache.cassandra.exceptions.ConfigurationException
dup
new java.lang.StringBuilder
dup
ldc "Cannot access method create in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 24: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 25: aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
instanceof org.apache.cassandra.exceptions.ConfigurationException
ifeq 27
26: aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
checkcast org.apache.cassandra.exceptions.ConfigurationException
athrow
27: StackMap locals: java.lang.reflect.InvocationTargetException
StackMap stack:
aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
ifnonnull 29
28: aload 2
goto 30
29: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
30: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 31: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "%s.create() threw an error: %s %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
32: aload 0
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
33: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
34: aload 3
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
aastore
35: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
36: aload 2
37: invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 38: StackMap locals: java.lang.Class java.util.Map
StackMap stack: java.lang.ExceptionInInitializerError
pop
39: new org.apache.cassandra.exceptions.ConfigurationException
dup
new java.lang.StringBuilder
dup
ldc "Cannot initialize class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 compressorClass Ljava/lang/Class<*>;
0 40 1 compressionOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
10 18 2 method Ljava/lang/reflect/Method;
11 18 3 compressor Lorg/apache/cassandra/io/compress/ICompressor;
13 15 4 provided Ljava/lang/String;
19 20 2 e Ljava/lang/NoSuchMethodException;
21 22 2 e Ljava/lang/SecurityException;
23 24 2 e Ljava/lang/IllegalAccessException;
25 38 2 e Ljava/lang/reflect/InvocationTargetException;
31 38 3 cause Ljava/lang/Throwable;
Exception table:
from to target type
9 17 18 Class java.lang.NoSuchMethodException
9 17 20 Class java.lang.SecurityException
9 17 22 Class java.lang.IllegalAccessException
9 17 24 Class java.lang.reflect.InvocationTargetException
9 17 38 Class java.lang.ExceptionInInitializerError
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
Signature: (Ljava/lang/Class<*>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/apache/cassandra/io/compress/ICompressor;
MethodParameters:
Name Flags
compressorClass
compressionOptions
public static org.apache.cassandra.io.compress.ICompressor createCompressor(org.apache.cassandra.config.ParameterizedClass);
descriptor: (Lorg/apache/cassandra/config/ParameterizedClass;)Lorg/apache/cassandra/io/compress/ICompressor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.config.ParameterizedClass.class_name:Ljava/lang/String;
invokestatic org.apache.cassandra.schema.CompressionParams.parseCompressorClass:(Ljava/lang/String;)Ljava/lang/Class;
aload 0
getfield org.apache.cassandra.config.ParameterizedClass.parameters:Ljava/util/Map;
invokestatic org.apache.cassandra.schema.CompressionParams.copyOptions:(Ljava/util/Map;)Ljava/util/Map;
invokestatic org.apache.cassandra.schema.CompressionParams.createCompressor:(Ljava/lang/Class;Ljava/util/Map;)Lorg/apache/cassandra/io/compress/ICompressor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 compression Lorg/apache/cassandra/config/ParameterizedClass;
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
MethodParameters:
Name Flags
compression
private static java.util.Map<java.lang.String, java.lang.String> copyOptions(java.util.Map<? extends java.lang.CharSequence, ? extends java.lang.CharSequence>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.Map.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 3: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 5: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.CharSequence
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.CharSequence
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 co Ljava/util/Map<+Ljava/lang/CharSequence;+Ljava/lang/CharSequence;>;
3 8 1 compressionOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 6 2 entry Ljava/util/Map$Entry<+Ljava/lang/CharSequence;+Ljava/lang/CharSequence;>;
Signature: (Ljava/util/Map<+Ljava/lang/CharSequence;+Ljava/lang/CharSequence;>;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
co
private static java.lang.Integer parseChunkLength(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Integer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 1
start local 1 3: iload 1
ldc 2097151
if_icmple 5
4: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Value of %s is too large (%s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "chunk_length_in_kb"
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
sipush 1024
iload 1
imul
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
6: areturn
end local 1 7: StackMap locals: java.lang.String
StackMap stack: java.lang.NumberFormatException
astore 1
start local 1 8: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Invalid value for chunk_length_in_kb"
aload 1
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 chLengthKB Ljava/lang/String;
3 7 1 parsed I
8 9 1 e Ljava/lang/NumberFormatException;
Exception table:
from to target type
2 6 7 Class java.lang.NumberFormatException
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
MethodParameters:
Name Flags
chLengthKB
private static java.lang.Integer removeChunkLength(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Ljava/lang/Integer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
ldc "chunk_length_in_kb"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 7
1: aload 0
ldc "chunk_length_kb"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
2: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "The '%s' option must not be used if the chunk length is already specified by the '%s' option"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: ldc "chunk_length_kb"
aastore
dup
iconst_1
4: ldc "chunk_length_in_kb"
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
ldc "chunk_length_in_kb"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.apache.cassandra.schema.CompressionParams.parseChunkLength:(Ljava/lang/String;)Ljava/lang/Integer;
areturn
7: StackMap locals:
StackMap stack:
aload 0
ldc "chunk_length_kb"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 15
8: getstatic org.apache.cassandra.schema.CompressionParams.hasLoggedChunkLengthWarning:Z
ifne 14
9: iconst_1
putstatic org.apache.cassandra.schema.CompressionParams.hasLoggedChunkLengthWarning:Z
10: getstatic org.apache.cassandra.schema.CompressionParams.logger:Lorg/slf4j/Logger;
ldc "The {} option has been deprecated. You should use {} instead"
11: ldc "chunk_length_kb"
12: ldc "chunk_length_in_kb"
13: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
aload 0
ldc "chunk_length_kb"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.apache.cassandra.schema.CompressionParams.parseChunkLength:(Ljava/lang/String;)Ljava/lang/Integer;
areturn
15: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljava/lang/Integer;
MethodParameters:
Name Flags
options
public static boolean containsSstableCompressionClass(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "class"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 1
aload 0
ldc "sstable_compression"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
options
private static java.lang.String removeSstableCompressionClass(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
ldc "class"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 10
1: aload 0
ldc "sstable_compression"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
2: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "The '%s' option must not be used if the compression algorithm is already specified by the '%s' option"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: ldc "sstable_compression"
aastore
dup
iconst_1
4: ldc "class"
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
ldc "class"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 7: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 9
8: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "The '%s' option must not be empty. To disable compression use 'enabled' : false"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "class"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 10: StackMap locals:
StackMap stack:
aload 0
ldc "sstable_compression"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 16
getstatic org.apache.cassandra.schema.CompressionParams.hasLoggedSsTableCompressionWarning:Z
ifne 16
11: iconst_1
putstatic org.apache.cassandra.schema.CompressionParams.hasLoggedSsTableCompressionWarning:Z
12: getstatic org.apache.cassandra.schema.CompressionParams.logger:Lorg/slf4j/Logger;
ldc "The {} option has been deprecated. You should use {} instead"
13: ldc "sstable_compression"
14: ldc "class"
15: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
aload 0
ldc "sstable_compression"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
7 10 1 clazz Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
options
public static boolean isEnabled(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "enabled"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifne 2
iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 3 1 enabled Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
options
private static boolean removeEnabled(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "enabled"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifne 2
iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 3 1 enabled Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
options
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompressionParams.chunkLength:Ljava/lang/Integer;
ifnull 12
1: aload 0
getfield org.apache.cassandra.schema.CompressionParams.chunkLength:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
ifgt 3
2: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Invalid negative or null chunk_length_in_kb"
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.schema.CompressionParams.chunkLength:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 1
start local 1 4: iconst_0
istore 2
start local 2 5: goto 11
6: StackMap locals: int int
StackMap stack:
iload 1
iconst_1
iand
ifeq 10
7: iload 2
ifeq 9
8: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "chunk_length_in_kb must be a power of 2"
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
iconst_1
istore 2
10: StackMap locals:
StackMap stack:
iload 1
iconst_1
ishr
istore 1
11: StackMap locals:
StackMap stack:
iload 1
ifne 6
end local 2 end local 1 12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/schema/CompressionParams;
4 12 1 c I
5 12 2 found Z
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
public java.util.Map<java.lang.String, java.lang.String> asMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.schema.CompressionParams.isEnabled:()Z
ifne 2
1: ldc "enabled"
ldc "false"
invokestatic java.util.Collections.singletonMap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
aload 0
getfield org.apache.cassandra.schema.CompressionParams.otherOptions:Lcom/google/common/collect/ImmutableMap;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 1
start local 1 3: aload 1
ldc "class"
aload 0
getfield org.apache.cassandra.schema.CompressionParams.sstableCompressor:Lorg/apache/cassandra/io/compress/ICompressor;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 1
ldc "chunk_length_in_kb"
aload 0
invokevirtual org.apache.cassandra.schema.CompressionParams.chunkLengthInKB:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/schema/CompressionParams;
3 6 1 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.lang.String chunkLengthInKB();
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.schema.CompressionParams.chunkLength:()I
sipush 1024
idiv
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompressionParams;
public void setCrcCheckChance(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
putfield org.apache.cassandra.schema.CompressionParams.crcCheckChance:D
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/schema/CompressionParams;
0 2 1 crcCheckChance D
MethodParameters:
Name Flags
crcCheckChance
public double getCrcCheckChance();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompressionParams.crcCheckChance:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompressionParams;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.schema.CompressionParams
astore 2
start local 2 5: new org.apache.commons.lang3.builder.EqualsBuilder
dup
invokespecial org.apache.commons.lang3.builder.EqualsBuilder.<init>:()V
6: aload 0
getfield org.apache.cassandra.schema.CompressionParams.sstableCompressor:Lorg/apache/cassandra/io/compress/ICompressor;
aload 2
getfield org.apache.cassandra.schema.CompressionParams.sstableCompressor:Lorg/apache/cassandra/io/compress/ICompressor;
invokevirtual org.apache.commons.lang3.builder.EqualsBuilder.append:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/lang3/builder/EqualsBuilder;
7: aload 0
invokevirtual org.apache.cassandra.schema.CompressionParams.chunkLength:()I
aload 2
invokevirtual org.apache.cassandra.schema.CompressionParams.chunkLength:()I
invokevirtual org.apache.commons.lang3.builder.EqualsBuilder.append:(II)Lorg/apache/commons/lang3/builder/EqualsBuilder;
8: aload 0
getfield org.apache.cassandra.schema.CompressionParams.otherOptions:Lcom/google/common/collect/ImmutableMap;
aload 2
getfield org.apache.cassandra.schema.CompressionParams.otherOptions:Lcom/google/common/collect/ImmutableMap;
invokevirtual org.apache.commons.lang3.builder.EqualsBuilder.append:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/lang3/builder/EqualsBuilder;
9: invokevirtual org.apache.commons.lang3.builder.EqualsBuilder.isEquals:()Z
10: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/schema/CompressionParams;
0 11 1 obj Ljava/lang/Object;
5 11 2 cp Lorg/apache/cassandra/schema/CompressionParams;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.apache.commons.lang3.builder.HashCodeBuilder
dup
bipush 29
sipush 1597
invokespecial org.apache.commons.lang3.builder.HashCodeBuilder.<init>:(II)V
1: aload 0
getfield org.apache.cassandra.schema.CompressionParams.sstableCompressor:Lorg/apache/cassandra/io/compress/ICompressor;
invokevirtual org.apache.commons.lang3.builder.HashCodeBuilder.append:(Ljava/lang/Object;)Lorg/apache/commons/lang3/builder/HashCodeBuilder;
2: aload 0
invokevirtual org.apache.cassandra.schema.CompressionParams.chunkLength:()I
invokevirtual org.apache.commons.lang3.builder.HashCodeBuilder.append:(I)Lorg/apache/commons/lang3/builder/HashCodeBuilder;
3: aload 0
getfield org.apache.cassandra.schema.CompressionParams.otherOptions:Lcom/google/common/collect/ImmutableMap;
invokevirtual org.apache.commons.lang3.builder.HashCodeBuilder.append:(Ljava/lang/Object;)Lorg/apache/commons/lang3/builder/HashCodeBuilder;
4: invokevirtual org.apache.commons.lang3.builder.HashCodeBuilder.toHashCode:()I
5: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/schema/CompressionParams;
}
SourceFile: "CompressionParams.java"
NestMembers:
org.apache.cassandra.schema.CompressionParams$Serializer
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
Serializer = org.apache.cassandra.schema.CompressionParams$Serializer of org.apache.cassandra.schema.CompressionParams