public class org.apache.cassandra.db.ColumnFamilyStoreCQLHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.ColumnFamilyStoreCQLHelper
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStoreCQLHelper;
public static java.util.List<java.lang.String> dumpReCreateStatements(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.getUserTypesAsCQL:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
aload 0
iconst_1
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.getCFMetadataAsCQL:(Lorg/apache/cassandra/config/CFMetaData;Z)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.getDroppedColumnsAsCQL:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: aload 1
aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.getIndexesAsCQL:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 metadata Lorg/apache/cassandra/config/CFMetaData;
1 6 1 l Ljava/util/List<Ljava/lang/String;>;
Signature: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
metadata
private static java.util.List<org.apache.cassandra.config.ColumnDefinition> getClusteringColumns(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.isStaticCompactTable:()Z
ifne 6
2: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 2
start local 2 4: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 metadata Lorg/apache/cassandra/config/CFMetaData;
1 7 1 cds Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
4 5 2 cd Lorg/apache/cassandra/config/ColumnDefinition;
Signature: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
MethodParameters:
Name Flags
metadata
private static java.util.List<org.apache.cassandra.config.ColumnDefinition> getPartitionColumns(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.PartitionColumns.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
getfield org.apache.cassandra.db.PartitionColumns.statics:Lorg/apache/cassandra/db/Columns;
invokevirtual org.apache.cassandra.db.Columns.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 2
start local 2 3: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.isDense:()Z
ifeq 12
6: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.PartitionColumns.withoutStatics:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.PartitionColumns.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals:
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 2
start local 2 8: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
getstatic org.apache.cassandra.db.marshal.EmptyType.instance:Lorg/apache/cassandra/db/marshal/EmptyType;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 10
9: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: goto 17
12: StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.isStaticCompactTable:()Z
ifne 17
13: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.PartitionColumns.withoutStatics:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.PartitionColumns.iterator:()Ljava/util/Iterator;
astore 3
goto 16
StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List top java.util.Iterator
StackMap stack:
14: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 2
start local 2 15: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 16: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
17: StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 metadata Lorg/apache/cassandra/config/CFMetaData;
1 18 1 cds Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
3 4 2 cd Lorg/apache/cassandra/config/ColumnDefinition;
8 10 2 cd Lorg/apache/cassandra/config/ColumnDefinition;
15 16 2 cd Lorg/apache/cassandra/config/ColumnDefinition;
Signature: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
MethodParameters:
Name Flags
metadata
public static java.lang.String getCFMetadataAsCQL(org.apache.cassandra.config.CFMetaData, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Z)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.isCqlCompatible:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifne 8
2: aload 2
ldc "/*\nWarning: Table %s.%s omitted because it has constructs not compatible with CQL (was created via legacy API).\n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aastore
dup
iconst_1
4: aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 2
ldc "\nApproximate structure, for reference:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 2
ldc "\n(this should not be used to reproduce this schema)\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 2
ldc "CREATE TABLE IF NOT EXISTS "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 2
aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionKeyColumns:()Ljava/util/List;
astore 3
start local 3 11: aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.getClusteringColumns:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
astore 4
start local 4 12: aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.getPartitionColumns:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
astore 5
start local 5 13: ldc "\n\t"
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.commaAppender:(Ljava/lang/String;)Ljava/util/function/Consumer;
astore 6
start local 6 14: aload 2
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 21
StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer top java.util.Iterator
StackMap stack:
16: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 7
start local 7 17: aload 6
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
18: aload 2
aload 7
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Lorg/apache/cassandra/config/ColumnDefinition;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 3
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 21
aload 4
invokeinterface java.util.List.size:()I
ifne 21
20: aload 2
ldc " PRIMARY KEY"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 21: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
22: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 26
StackMap locals:
StackMap stack:
23: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 7
start local 7 24: aload 6
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
25: aload 2
aload 7
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Lorg/apache/cassandra/config/ColumnDefinition;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 26: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
27: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 31
StackMap locals:
StackMap stack:
28: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 7
start local 7 29: aload 6
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
30: aload 2
aload 7
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.isStaticCompactTable:()Z
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Lorg/apache/cassandra/config/ColumnDefinition;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 31: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 28
32: iload 1
ifeq 43
33: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.getDroppedColumns:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 42
StackMap locals:
StackMap stack:
34: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 35: aload 0
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual org.apache.cassandra.config.CFMetaData.getColumnDefinition:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/config/ColumnDefinition;
ifnull 37
36: goto 42
37: StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.CFMetaData$DroppedColumn
astore 9
start local 9 38: aload 6
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
39: aload 2
aload 9
getfield org.apache.cassandra.config.CFMetaData$DroppedColumn.name:Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
40: aload 2
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
41: aload 2
aload 9
getfield org.apache.cassandra.config.CFMetaData$DroppedColumn.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 9 end local 7 42: StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
43: StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
ifgt 44
aload 3
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 61
44: StackMap locals:
StackMap stack:
aload 2
ldc ",\n\tPRIMARY KEY ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: aload 3
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 55
46: aload 2
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
47: ldc " "
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.commaAppender:(Ljava/lang/String;)Ljava/util/function/Consumer;
astore 7
start local 7 48: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 52
StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer java.util.function.Consumer top java.util.Iterator
StackMap stack:
49: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 8
start local 8 50: aload 7
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
51: aload 2
aload 8
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
invokevirtual org.apache.cassandra.cql3.ColumnIdentifier.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 52: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 49
53: aload 2
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 54: goto 56
55: StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer
StackMap stack:
aload 2
aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
invokevirtual org.apache.cassandra.cql3.ColumnIdentifier.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
56: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 59
StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer top java.util.Iterator
StackMap stack:
57: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 7
start local 7 58: aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
invokevirtual org.apache.cassandra.cql3.ColumnIdentifier.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 59: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 57
60: aload 2
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
61: StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer
StackMap stack:
aload 2
ldc ")\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
62: aload 2
ldc "WITH "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
63: aload 2
ldc "ID = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n\tAND "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
64: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.isCompactTable:()Z
ifeq 66
65: aload 2
ldc "COMPACT STORAGE\n\tAND "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
66: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
ifle 75
67: aload 2
ldc "CLUSTERING ORDER BY ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
68: ldc " "
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.commaAppender:(Ljava/lang/String;)Ljava/util/function/Consumer;
astore 7
start local 7 69: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 73
StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer java.util.function.Consumer top java.util.Iterator
StackMap stack:
70: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 8
start local 8 71: aload 7
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
72: aload 2
aload 8
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
invokevirtual org.apache.cassandra.cql3.ColumnIdentifier.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 8
invokevirtual org.apache.cassandra.config.ColumnDefinition.clusteringOrder:()Lorg/apache/cassandra/config/ColumnDefinition$ClusteringOrder;
invokevirtual org.apache.cassandra.config.ColumnDefinition$ClusteringOrder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 73: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 70
74: aload 2
ldc ")\n\tAND "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 75: StackMap locals: org.apache.cassandra.config.CFMetaData int java.lang.StringBuilder java.util.List java.util.List java.util.List java.util.function.Consumer
StackMap stack:
aload 2
aload 0
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Lorg/apache/cassandra/schema/TableParams;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
76: aload 2
ldc ";"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
77: aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.isCqlCompatible:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifne 79
78: aload 2
ldc "\n*/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
79: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 80 0 metadata Lorg/apache/cassandra/config/CFMetaData;
0 80 1 includeDroppedColumns Z
1 80 2 sb Ljava/lang/StringBuilder;
11 80 3 partitionKeyColumns Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
12 80 4 clusteringColumns Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
13 80 5 partitionColumns Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
14 80 6 cdCommaAppender Ljava/util/function/Consumer<Ljava/lang/StringBuilder;>;
17 21 7 cfd Lorg/apache/cassandra/config/ColumnDefinition;
24 26 7 cfd Lorg/apache/cassandra/config/ColumnDefinition;
29 31 7 cfd Lorg/apache/cassandra/config/ColumnDefinition;
35 42 7 entry Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Lorg/apache/cassandra/config/CFMetaData$DroppedColumn;>;
38 42 9 droppedColumn Lorg/apache/cassandra/config/CFMetaData$DroppedColumn;
48 54 7 pkCommaAppender Ljava/util/function/Consumer<Ljava/lang/StringBuilder;>;
50 52 8 cfd Lorg/apache/cassandra/config/ColumnDefinition;
58 59 7 cfd Lorg/apache/cassandra/config/ColumnDefinition;
69 75 7 cOrderCommaAppender Ljava/util/function/Consumer<Ljava/lang/StringBuilder;>;
71 73 8 cd Lorg/apache/cassandra/config/ColumnDefinition;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
metadata
includeDroppedColumns
public static java.util.List<java.lang.String> getUserTypesAsCQL(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 2: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionKeyColumns:()Ljava/util/List;
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List java.util.Set top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 3
start local 3 4: aload 3
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
astore 5
start local 5 5: aload 5
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isUDT:()Z
ifeq 7
6: aload 5
checkcast org.apache.cassandra.db.marshal.UserType
aload 2
aload 1
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.resolveUserType:(Lorg/apache/cassandra/db/marshal/UserType;Ljava/util/Set;Ljava/util/List;)V
end local 5 end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 9: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List java.util.Set java.util.List top java.util.Iterator
StackMap stack:
10: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.marshal.AbstractType
astore 4
start local 4 11: aload 3
aload 4
checkcast org.apache.cassandra.db.marshal.UserType
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Lorg/apache/cassandra/db/marshal/UserType;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 metadata Lorg/apache/cassandra/config/CFMetaData;
1 14 1 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType;>;
2 14 2 typeSet Ljava/util/Set<Lorg/apache/cassandra/db/marshal/AbstractType;>;
4 7 3 cd Lorg/apache/cassandra/config/ColumnDefinition;
5 7 5 type Lorg/apache/cassandra/db/marshal/AbstractType;
9 14 3 typeStrings Ljava/util/List<Ljava/lang/String;>;
11 12 4 type Lorg/apache/cassandra/db/marshal/AbstractType;
Signature: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List<Ljava/lang/String;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
metadata
public static java.util.List<java.lang.String> getDroppedColumnsAsCQL(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.getDroppedColumns:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.CFMetaData$DroppedColumn
astore 4
start local 4 4: aload 1
aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aload 4
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQLDrop:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/config/CFMetaData$DroppedColumn;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 0
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual org.apache.cassandra.config.CFMetaData.getColumnDefinition:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/config/ColumnDefinition;
ifnull 7
6: aload 1
aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aload 0
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual org.apache.cassandra.config.CFMetaData.getColumnDefinition:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/config/ColumnDefinition;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQLAdd:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/config/ColumnDefinition;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 metadata Lorg/apache/cassandra/config/CFMetaData;
1 9 1 droppedColumns Ljava/util/List<Ljava/lang/String;>;
3 7 2 entry Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Lorg/apache/cassandra/config/CFMetaData$DroppedColumn;>;
4 7 4 column Lorg/apache/cassandra/config/CFMetaData$DroppedColumn;
Signature: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List<Ljava/lang/String;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
metadata
public static java.util.List<java.lang.String> getIndexesAsCQL(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.getIndexes:()Lorg/apache/cassandra/schema/Indexes;
invokevirtual org.apache.cassandra.schema.Indexes.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.cassandra.config.CFMetaData java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.schema.IndexMetadata
astore 2
start local 2 3: aload 1
aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aload 2
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/schema/IndexMetadata;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 metadata Lorg/apache/cassandra/config/CFMetaData;
1 6 1 indexes Ljava/util/List<Ljava/lang/String;>;
3 4 2 indexMetadata Lorg/apache/cassandra/schema/IndexMetadata;
Signature: (Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List<Ljava/lang/String;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
metadata
private static java.lang.String toCQL(java.lang.String, java.lang.String, org.apache.cassandra.schema.IndexMetadata);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/schema/IndexMetadata;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.apache.cassandra.schema.IndexMetadata.isCustom:()Z
ifeq 13
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 2: aload 2
getfield org.apache.cassandra.schema.IndexMetadata.options:Ljava/util/Map;
aload 3
invokedynamic accept(Ljava/util/Map;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/apache/cassandra/db/ColumnFamilyStoreCQLHelper.lambda$0(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V (6)
(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
3: ldc "CREATE CUSTOM INDEX %s ON %s.%s (%s) USING '%s'%s;"
bipush 6
anewarray java.lang.Object
dup
iconst_0
4: aload 2
getfield org.apache.cassandra.schema.IndexMetadata.name:Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
5: aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
6: aload 1
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_3
7: aload 2
getfield org.apache.cassandra.schema.IndexMetadata.options:Ljava/util/Map;
ldc "target"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
dup
iconst_4
8: aload 2
getfield org.apache.cassandra.schema.IndexMetadata.options:Ljava/util/Map;
ldc "class_name"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
dup
iconst_5
9: aload 3
invokeinterface java.util.Map.isEmpty:()Z
ifeq 10
ldc ""
goto 11
StackMap locals: java.lang.String java.lang.String org.apache.cassandra.schema.IndexMetadata java.util.Map
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
10: new java.lang.StringBuilder
dup
ldc " WITH OPTIONS "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Ljava/util/Map;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: java.lang.String java.lang.String org.apache.cassandra.schema.IndexMetadata java.util.Map
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
11: aastore
12: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 13: StackMap locals:
StackMap stack:
ldc "CREATE INDEX %s ON %s.%s (%s);"
iconst_4
anewarray java.lang.Object
dup
iconst_0
14: aload 2
getfield org.apache.cassandra.schema.IndexMetadata.name:Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
15: aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
16: aload 1
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_3
17: aload 2
getfield org.apache.cassandra.schema.IndexMetadata.options:Ljava/util/Map;
ldc "target"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
18: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 keyspace Ljava/lang/String;
0 19 1 cf Ljava/lang/String;
0 19 2 indexMetadata Lorg/apache/cassandra/schema/IndexMetadata;
2 13 3 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
keyspace
cf
indexMetadata
private static java.lang.String toCQL(org.apache.cassandra.db.marshal.UserType);
descriptor: (Lorg/apache/cassandra/db/marshal/UserType;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "CREATE TYPE %s.%s("
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: aload 0
getfield org.apache.cassandra.db.marshal.UserType.keyspace:Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
3: aload 0
invokevirtual org.apache.cassandra.db.marshal.UserType.getNameAsString:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: ldc " "
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.commaAppender:(Ljava/lang/String;)Ljava/util/function/Consumer;
astore 2
start local 2 6: iconst_0
istore 3
start local 3 7: goto 14
8: StackMap locals: java.lang.StringBuilder java.util.function.Consumer int
StackMap stack:
aload 2
aload 1
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
9: aload 1
ldc "%s %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
10: aload 0
iload 3
invokevirtual org.apache.cassandra.db.marshal.UserType.fieldNameAsString:(I)Ljava/lang/String;
aastore
dup
iconst_1
11: aload 0
iload 3
invokevirtual org.apache.cassandra.db.marshal.UserType.fieldType:(I)Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
aastore
12: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
aload 0
invokevirtual org.apache.cassandra.db.marshal.UserType.size:()I
if_icmplt 8
end local 3 15: aload 1
ldc ");"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 userType Lorg/apache/cassandra/db/marshal/UserType;
1 17 1 sb Ljava/lang/StringBuilder;
6 17 2 commaAppender Ljava/util/function/Consumer<Ljava/lang/StringBuilder;>;
7 15 3 i I
MethodParameters:
Name Flags
userType
private static java.lang.String toCQL(org.apache.cassandra.schema.TableParams);
descriptor: (Lorg/apache/cassandra/schema/TableParams;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "bloom_filter_fp_chance = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.bloomFilterFpChance:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc "\n\tAND dclocal_read_repair_chance = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.dcLocalReadRepairChance:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc "\n\tAND crc_check_chance = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.crcCheckChance:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc "\n\tAND default_time_to_live = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.defaultTimeToLive:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc "\n\tAND gc_grace_seconds = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.gcGraceSeconds:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
6: aload 1
ldc "\n\tAND min_index_interval = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.minIndexInterval:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc "\n\tAND max_index_interval = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.maxIndexInterval:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
8: aload 1
ldc "\n\tAND memtable_flush_period_in_ms = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.memtableFlushPeriodInMs:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
9: aload 1
ldc "\n\tAND read_repair_chance = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.readRepairChance:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
10: aload 1
ldc "\n\tAND speculative_retry = '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.speculativeRetry:Lorg/apache/cassandra/schema/SpeculativeRetryParam;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
ldc "\n\tAND comment = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.comment:Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.singleQuote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 1
ldc "\n\tAND caching = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.caching:Lorg/apache/cassandra/schema/CachingParams;
invokevirtual org.apache.cassandra.schema.CachingParams.asMap:()Ljava/util/Map;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Ljava/util/Map;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
ldc "\n\tAND compaction = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.compaction:Lorg/apache/cassandra/schema/CompactionParams;
invokevirtual org.apache.cassandra.schema.CompactionParams.asMap:()Ljava/util/Map;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Ljava/util/Map;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 1
ldc "\n\tAND compression = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.compression:Lorg/apache/cassandra/schema/CompressionParams;
invokevirtual org.apache.cassandra.schema.CompressionParams.asMap:()Ljava/util/Map;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Ljava/util/Map;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 1
ldc "\n\tAND cdc = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.schema.TableParams.cdc:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
pop
16: aload 1
ldc "\n\tAND extensions = { "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: aload 0
getfield org.apache.cassandra.schema.TableParams.extensions:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.entrySet:()Lcom/google/common/collect/ImmutableSet;
invokevirtual com.google.common.collect.ImmutableSet.iterator:()Ljava/util/Iterator;
astore 3
goto 22
StackMap locals: org.apache.cassandra.schema.TableParams java.lang.StringBuilder top java.util.Iterator
StackMap stack:
18: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 19: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.singleQuote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 1
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: aload 1
ldc "0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 22: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
23: aload 1
ldc " }"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 tableParams Lorg/apache/cassandra/schema/TableParams;
1 25 1 builder Ljava/lang/StringBuilder;
19 22 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
tableParams
private static java.lang.String toCQL(java.util.Map<?, ?>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "{ "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: java.util.Map java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 4: iload 2
ifeq 6
5: iconst_0
istore 2
goto 7
6: StackMap locals: java.util.Map java.lang.StringBuilder int java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 1
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.singleQuote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.singleQuote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 10: StackMap locals: java.util.Map java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: aload 1
ldc " }"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 map Ljava/util/Map<**>;
1 13 1 builder Ljava/lang/StringBuilder;
2 13 2 isFirst Z
4 10 3 entry Ljava/util/Map$Entry;
Signature: (Ljava/util/Map<**>;)Ljava/lang/String;
MethodParameters:
Name Flags
map
private static java.lang.String toCQL(org.apache.cassandra.config.ColumnDefinition);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.toCQL:(Lorg/apache/cassandra/config/ColumnDefinition;Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cd Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
cd
private static java.lang.String toCQL(org.apache.cassandra.config.ColumnDefinition, boolean);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition;Z)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc "%s %s%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
invokevirtual org.apache.cassandra.cql3.ColumnIdentifier.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_2
3: aload 0
invokevirtual org.apache.cassandra.config.ColumnDefinition.isStatic:()Z
ifeq 4
iload 1
ifne 4
ldc " static"
goto 5
StackMap locals: org.apache.cassandra.config.ColumnDefinition int
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
4: ldc ""
StackMap locals: org.apache.cassandra.config.ColumnDefinition int
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
5: aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 cd Lorg/apache/cassandra/config/ColumnDefinition;
0 7 1 isStaticCompactTable Z
MethodParameters:
Name Flags
cd
isStaticCompactTable
private static java.lang.String toCQLAdd(java.lang.String, java.lang.String, org.apache.cassandra.config.ColumnDefinition);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/config/ColumnDefinition;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "ALTER TABLE %s.%s ADD %s %s%s;"
iconst_5
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
2: aload 1
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
3: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
invokevirtual org.apache.cassandra.cql3.ColumnIdentifier.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_3
4: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.asCQL3Type:()Lorg/apache/cassandra/cql3/CQL3Type;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
dup
iconst_4
5: aload 2
invokevirtual org.apache.cassandra.config.ColumnDefinition.isStatic:()Z
ifeq 6
ldc " static"
goto 7
StackMap locals: java.lang.String java.lang.String org.apache.cassandra.config.ColumnDefinition
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
6: ldc ""
StackMap locals: java.lang.String java.lang.String org.apache.cassandra.config.ColumnDefinition
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
7: aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 keyspace Ljava/lang/String;
0 9 1 cf Ljava/lang/String;
0 9 2 cd Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
keyspace
cf
cd
private static java.lang.String toCQLDrop(java.lang.String, java.lang.String, org.apache.cassandra.config.CFMetaData$DroppedColumn);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/config/CFMetaData$DroppedColumn;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "ALTER TABLE %s.%s DROP %s USING TIMESTAMP %s;"
iconst_4
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
2: aload 1
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
3: aload 2
getfield org.apache.cassandra.config.CFMetaData$DroppedColumn.name:Ljava/lang/String;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.quoteIdentifier:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_3
4: aload 2
getfield org.apache.cassandra.config.CFMetaData$DroppedColumn.droppedTime:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 keyspace Ljava/lang/String;
0 6 1 cf Ljava/lang/String;
0 6 2 droppedColumn Lorg/apache/cassandra/config/CFMetaData$DroppedColumn;
MethodParameters:
Name Flags
keyspace
cf
droppedColumn
private static void resolveUserType(org.apache.cassandra.db.marshal.UserType, java.util.Set<org.apache.cassandra.db.marshal.AbstractType>, java.util.List<org.apache.cassandra.db.marshal.AbstractType>);
descriptor: (Lorg/apache/cassandra/db/marshal/UserType;Ljava/util/Set;Ljava/util/List;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.cassandra.db.marshal.UserType.fieldTypes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.db.marshal.UserType java.util.Set java.util.List top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.marshal.AbstractType
astore 3
start local 3 2: aload 1
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 4
aload 3
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isUDT:()Z
ifeq 4
3: aload 3
checkcast org.apache.cassandra.db.marshal.UserType
aload 1
aload 2
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.resolveUserType:(Lorg/apache/cassandra/db/marshal/UserType;Ljava/util/Set;Ljava/util/List;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aload 1
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 8
6: aload 1
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: aload 2
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: StackMap locals: org.apache.cassandra.db.marshal.UserType java.util.Set java.util.List
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 type Lorg/apache/cassandra/db/marshal/UserType;
0 9 1 typeSet Ljava/util/Set<Lorg/apache/cassandra/db/marshal/AbstractType;>;
0 9 2 types Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType;>;
2 4 3 subType Lorg/apache/cassandra/db/marshal/AbstractType;
Signature: (Lorg/apache/cassandra/db/marshal/UserType;Ljava/util/Set<Lorg/apache/cassandra/db/marshal/AbstractType;>;Ljava/util/List<Lorg/apache/cassandra/db/marshal/AbstractType;>;)V
MethodParameters:
Name Flags
type
typeSet
types
private static java.lang.String singleQuote(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: ldc "'%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
ldc "'"
ldc "''"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private static java.util.function.Consumer<java.lang.StringBuilder> commaAppender(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/function/Consumer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
astore 1
start local 1 1: new org.apache.cassandra.db.ColumnFamilyStoreCQLHelper$1
dup
aload 1
aload 0
invokespecial org.apache.cassandra.db.ColumnFamilyStoreCQLHelper$1.<init>:(Ljava/util/concurrent/atomic/AtomicBoolean;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 afterComma Ljava/lang/String;
1 2 1 isFirst Ljava/util/concurrent/atomic/AtomicBoolean;
Signature: (Ljava/lang/String;)Ljava/util/function/Consumer<Ljava/lang/StringBuilder;>;
MethodParameters:
Name Flags
afterComma
private static java.lang.String quoteIdentifier(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.cql3.ColumnIdentifier.maybeQuote:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public static boolean isCqlCompatible(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.isCompactTable:()Z
ifeq 6
3: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.PartitionColumns.withoutStatics:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.PartitionColumns.size:()I
iconst_1
if_icmple 6
4: aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.clusteringColumns:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmplt 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 metaData Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
metaData
private static void lambda$0(java.util.Map, java.lang.String, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 1
ldc "target"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
aload 1
ldc "class_name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
1: aload 0
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 k Ljava/lang/String;
0 3 2 v Ljava/lang/String;
}
SourceFile: "ColumnFamilyStoreCQLHelper.java"
NestMembers:
org.apache.cassandra.db.ColumnFamilyStoreCQLHelper$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public DroppedColumn = org.apache.cassandra.config.CFMetaData$DroppedColumn of org.apache.cassandra.config.CFMetaData
public final ClusteringOrder = org.apache.cassandra.config.ColumnDefinition$ClusteringOrder of org.apache.cassandra.config.ColumnDefinition
org.apache.cassandra.db.ColumnFamilyStoreCQLHelper$1