public class org.apache.cassandra.db.SimpleBuilders$RowBuilder extends org.apache.cassandra.db.SimpleBuilders$AbstractBuilder<org.apache.cassandra.db.rows.Row$SimpleBuilder> implements org.apache.cassandra.db.rows.Row$SimpleBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.SimpleBuilders$RowBuilder
super_class: org.apache.cassandra.db.SimpleBuilders$AbstractBuilder
{
private final org.apache.cassandra.config.CFMetaData metadata;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<org.apache.cassandra.config.ColumnDefinition> columns;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/apache/cassandra/config/ColumnDefinition;>;
private final org.apache.cassandra.db.rows.Row$Builder builder;
descriptor: Lorg/apache/cassandra/db/rows/Row$Builder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean initiated;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean noPrimaryKeyLivenessInfo;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$db$marshal$CollectionType$Kind;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/SimpleBuilders;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.config.CFMetaData, java.lang.Object[]);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.cassandra.db.SimpleBuilders$AbstractBuilder.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.columns:Ljava/util/Set;
2: aload 0
aload 1
putfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.metadata:Lorg/apache/cassandra/config/CFMetaData;
3: aload 0
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
invokestatic org.apache.cassandra.db.rows.BTreeRow.unsortedBuilder:(I)Lorg/apache/cassandra/db/rows/Row$Builder;
putfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
4: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
aload 1
aload 2
invokestatic org.apache.cassandra.db.SimpleBuilders.makeClustering:(Lorg/apache/cassandra/config/CFMetaData;[Ljava/lang/Object;)Lorg/apache/cassandra/db/Clustering;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.newRow:(Lorg/apache/cassandra/db/Clustering;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
0 6 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 6 2 clusteringColumns [Ljava/lang/Object;
MethodParameters:
Name Flags
metadata
clusteringColumns
java.util.Set<org.apache.cassandra.config.ColumnDefinition> columns();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.columns:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
Signature: ()Ljava/util/Set<Lorg/apache/cassandra/config/ColumnDefinition;>;
private void maybeInit();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.initiated:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isCQLTable:()Z
ifeq 4
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.noPrimaryKeyLivenessInfo:Z
ifne 4
3: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.timestamp:J
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.ttl:I
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.nowInSec:I
invokestatic org.apache.cassandra.db.LivenessInfo.create:(JII)Lorg/apache/cassandra/db/LivenessInfo;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.addPrimaryKeyLivenessInfo:(Lorg/apache/cassandra/db/LivenessInfo;)V
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.initiated:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
public org.apache.cassandra.db.rows.Row$SimpleBuilder add(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.add:(Ljava/lang/String;Ljava/lang/Object;Z)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
0 1 1 columnName Ljava/lang/String;
0 1 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
columnName
value
public org.apache.cassandra.db.rows.Row$SimpleBuilder appendAll(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.add:(Ljava/lang/String;Ljava/lang/Object;Z)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
0 1 1 columnName Ljava/lang/String;
0 1 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
columnName
value
private org.apache.cassandra.db.rows.Row$SimpleBuilder add(java.lang.String, java.lang.Object, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Z)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.maybeInit:()V
1: aload 0
aload 1
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.getColumn:(Ljava/lang/String;)Lorg/apache/cassandra/config/ColumnDefinition;
astore 4
start local 4 2: iload 3
ifne 4
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isMultiCell:()Z
ifeq 3
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isCollection:()Z
ifne 4
3: StackMap locals: org.apache.cassandra.config.ColumnDefinition
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "appendAll() can only be called on non-frozen colletions"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.columns:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 4
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isMultiCell:()Z
ifne 8
6: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
aload 0
aload 4
aload 0
aload 2
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.toByteBuffer:(Ljava/lang/Object;Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/nio/ByteBuffer;
aconst_null
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.cell:(Lorg/apache/cassandra/config/ColumnDefinition;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/Cell;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.addCell:(Lorg/apache/cassandra/db/rows/Cell;)V
7: aload 0
areturn
8: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
ifne 9
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
instanceof org.apache.cassandra.db.marshal.CollectionType
ifne 9
new java.lang.AssertionError
dup
ldc "Collection are the only multi-cell types supported so far"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
aload 2
ifnonnull 12
10: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
aload 4
new org.apache.cassandra.db.DeletionTime
dup
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.timestamp:J
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.nowInSec:I
invokespecial org.apache.cassandra.db.DeletionTime.<init>:(JI)V
invokeinterface org.apache.cassandra.db.rows.Row$Builder.addComplexDeletion:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/DeletionTime;)V
11: aload 0
areturn
12: StackMap locals:
StackMap stack:
iload 3
ifeq 14
13: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
aload 4
new org.apache.cassandra.db.DeletionTime
dup
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.timestamp:J
lconst_1
lsub
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.nowInSec:I
invokespecial org.apache.cassandra.db.DeletionTime.<init>:(JI)V
invokeinterface org.apache.cassandra.db.rows.Row$Builder.addComplexDeletion:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/DeletionTime;)V
14: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$SWITCH_TABLE$org$apache$cassandra$db$marshal$CollectionType$Kind:()[I
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.CollectionType
getfield org.apache.cassandra.db.marshal.CollectionType.kind:Lorg/apache/cassandra/db/marshal/CollectionType$Kind;
invokevirtual org.apache.cassandra.db.marshal.CollectionType$Kind.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 29
2: 22
3: 15
default: 39
}
15: StackMap locals:
StackMap stack:
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.ListType
astore 5
start local 5 16: getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
ifne 17
aload 2
instanceof java.util.List
ifne 17
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
17: StackMap locals: org.apache.cassandra.db.marshal.ListType
StackMap stack:
aload 2
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 20
StackMap locals: org.apache.cassandra.db.SimpleBuilders$RowBuilder java.lang.String java.lang.Object int org.apache.cassandra.config.ColumnDefinition org.apache.cassandra.db.marshal.ListType top java.util.Iterator
StackMap stack:
18: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 6
start local 6 19: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
aload 0
aload 4
aload 0
aload 6
aload 5
invokevirtual org.apache.cassandra.db.marshal.ListType.getElementsType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.toByteBuffer:(Ljava/lang/Object;Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.UUIDGen.getTimeUUIDBytes:()[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.cell:(Lorg/apache/cassandra/config/ColumnDefinition;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/Cell;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.addCell:(Lorg/apache/cassandra/db/rows/Cell;)V
end local 6 20: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
21: goto 40
end local 5 22: StackMap locals: org.apache.cassandra.db.SimpleBuilders$RowBuilder java.lang.String java.lang.Object int org.apache.cassandra.config.ColumnDefinition
StackMap stack:
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.SetType
astore 6
start local 6 23: getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
ifne 24
aload 2
instanceof java.util.Set
ifne 24
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
24: StackMap locals: org.apache.cassandra.db.SimpleBuilders$RowBuilder java.lang.String java.lang.Object int org.apache.cassandra.config.ColumnDefinition top org.apache.cassandra.db.marshal.SetType
StackMap stack:
aload 2
checkcast java.util.Set
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 27
StackMap locals: org.apache.cassandra.db.SimpleBuilders$RowBuilder java.lang.String java.lang.Object int org.apache.cassandra.config.ColumnDefinition top org.apache.cassandra.db.marshal.SetType top java.util.Iterator
StackMap stack:
25: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 7
start local 7 26: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
aload 0
aload 4
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
aload 0
aload 7
aload 6
invokevirtual org.apache.cassandra.db.marshal.SetType.getElementsType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.toByteBuffer:(Ljava/lang/Object;Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.cell:(Lorg/apache/cassandra/config/ColumnDefinition;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/Cell;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.addCell:(Lorg/apache/cassandra/db/rows/Cell;)V
end local 7 27: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
28: goto 40
end local 6 29: StackMap locals: org.apache.cassandra.db.SimpleBuilders$RowBuilder java.lang.String java.lang.Object int org.apache.cassandra.config.ColumnDefinition
StackMap stack:
aload 4
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
checkcast org.apache.cassandra.db.marshal.MapType
astore 7
start local 7 30: getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
ifne 31
aload 2
instanceof java.util.Map
ifne 31
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
31: StackMap locals: org.apache.cassandra.db.SimpleBuilders$RowBuilder java.lang.String java.lang.Object int org.apache.cassandra.config.ColumnDefinition top top org.apache.cassandra.db.marshal.MapType
StackMap stack:
aload 2
checkcast java.util.Map
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 37
StackMap locals: org.apache.cassandra.db.SimpleBuilders$RowBuilder java.lang.String java.lang.Object int org.apache.cassandra.config.ColumnDefinition top top org.apache.cassandra.db.marshal.MapType top java.util.Iterator
StackMap stack:
32: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 33: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
aload 0
aload 4
34: aload 0
aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
aload 7
invokevirtual org.apache.cassandra.db.marshal.MapType.getValuesType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.toByteBuffer:(Ljava/lang/Object;Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/nio/ByteBuffer;
35: aload 0
aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aload 7
invokevirtual org.apache.cassandra.db.marshal.MapType.getKeysType:()Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.toByteBuffer:(Ljava/lang/Object;Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
36: invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.cell:(Lorg/apache/cassandra/config/ColumnDefinition;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/Cell;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.addCell:(Lorg/apache/cassandra/db/rows/Cell;)V
end local 8 37: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 32
38: goto 40
end local 7 39: StackMap locals: org.apache.cassandra.db.SimpleBuilders$RowBuilder java.lang.String java.lang.Object int org.apache.cassandra.config.ColumnDefinition
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
40: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
0 41 1 columnName Ljava/lang/String;
0 41 2 value Ljava/lang/Object;
0 41 3 overwriteForCollection Z
2 41 4 column Lorg/apache/cassandra/config/ColumnDefinition;
16 22 5 lt Lorg/apache/cassandra/db/marshal/ListType;
19 20 6 elt Ljava/lang/Object;
23 29 6 st Lorg/apache/cassandra/db/marshal/SetType;
26 27 7 elt Ljava/lang/Object;
30 39 7 mt Lorg/apache/cassandra/db/marshal/MapType;
33 37 8 entry Ljava/util/Map$Entry;
MethodParameters:
Name Flags
columnName
value
overwriteForCollection
public org.apache.cassandra.db.rows.Row$SimpleBuilder delete();
descriptor: ()Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.initiated:Z
ifeq 1
new java.lang.AssertionError
dup
ldc "If called, delete() should be called before any other column value addition"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
new org.apache.cassandra.db.DeletionTime
dup
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.timestamp:J
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.nowInSec:I
invokespecial org.apache.cassandra.db.DeletionTime.<init>:(JI)V
invokestatic org.apache.cassandra.db.rows.Row$Deletion.regular:(Lorg/apache/cassandra/db/DeletionTime;)Lorg/apache/cassandra/db/rows/Row$Deletion;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.addRowDeletion:(Lorg/apache/cassandra/db/rows/Row$Deletion;)V
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
public org.apache.cassandra.db.rows.Row$SimpleBuilder delete(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
0 1 1 columnName Ljava/lang/String;
MethodParameters:
Name Flags
columnName
public org.apache.cassandra.db.rows.Row$SimpleBuilder noPrimaryKeyLivenessInfo();
descriptor: ()Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.noPrimaryKeyLivenessInfo:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
public org.apache.cassandra.db.rows.Row build();
descriptor: ()Lorg/apache/cassandra/db/rows/Row;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.maybeInit:()V
1: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.build:()Lorg/apache/cassandra/db/rows/Row;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
private org.apache.cassandra.config.ColumnDefinition getColumn(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/config/ColumnDefinition;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.metadata:Lorg/apache/cassandra/config/CFMetaData;
new org.apache.cassandra.cql3.ColumnIdentifier
dup
aload 1
iconst_1
invokespecial org.apache.cassandra.cql3.ColumnIdentifier.<init>:(Ljava/lang/String;Z)V
invokevirtual org.apache.cassandra.config.CFMetaData.getColumnDefinition:(Lorg/apache/cassandra/cql3/ColumnIdentifier;)Lorg/apache/cassandra/config/ColumnDefinition;
astore 2
start local 2 1: getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Cannot find column "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: org.apache.cassandra.config.ColumnDefinition
StackMap stack:
getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
ifne 3
aload 2
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPrimaryKeyColumn:()Z
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
ifne 4
aload 2
invokevirtual org.apache.cassandra.config.ColumnDefinition.isStatic:()Z
ifeq 4
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.builder:Lorg/apache/cassandra/db/rows/Row$Builder;
invokeinterface org.apache.cassandra.db.rows.Row$Builder.clustering:()Lorg/apache/cassandra/db/Clustering;
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpeq 4
new java.lang.AssertionError
dup
ldc "Cannot add non-static column to static-row"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
0 5 1 columnName Ljava/lang/String;
1 5 2 column Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
columnName
private org.apache.cassandra.db.rows.Cell cell(org.apache.cassandra.config.ColumnDefinition, java.nio.ByteBuffer, org.apache.cassandra.db.rows.CellPath);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/Cell;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnonnull 2
1: aload 1
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.timestamp:J
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.nowInSec:I
aload 3
invokestatic org.apache.cassandra.db.rows.BufferCell.tombstone:(Lorg/apache/cassandra/config/ColumnDefinition;JILorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/BufferCell;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.ttl:I
ifne 4
3: aload 1
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.timestamp:J
aload 2
aload 3
invokestatic org.apache.cassandra.db.rows.BufferCell.live:(Lorg/apache/cassandra/config/ColumnDefinition;JLjava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/BufferCell;
goto 5
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.timestamp:J
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.ttl:I
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$RowBuilder.nowInSec:I
aload 2
aload 3
invokestatic org.apache.cassandra.db.rows.BufferCell.expiring:(Lorg/apache/cassandra/config/ColumnDefinition;JIILjava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/BufferCell;
5: StackMap locals:
StackMap stack: org.apache.cassandra.db.rows.BufferCell
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
0 6 1 column Lorg/apache/cassandra/config/ColumnDefinition;
0 6 2 value Ljava/nio/ByteBuffer;
0 6 3 path Lorg/apache/cassandra/db/rows/CellPath;
MethodParameters:
Name Flags
column
value
path
private java.nio.ByteBuffer toByteBuffer(, org.apache.cassandra.db.marshal.AbstractType<?>);
descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.nio.ByteBuffer
ifeq 4
3: aload 1
checkcast java.nio.ByteBuffer
areturn
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isCounter:()Z
ifeq 7
5: getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$assertionsDisabled:Z
ifne 6
aload 1
instanceof java.lang.Long
ifne 6
new java.lang.AssertionError
dup
ldc "Attempted to adjust Counter cell with non-long value."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.db.context.CounterContext.instance:()Lorg/apache/cassandra/db/context/CounterContext;
invokestatic org.apache.cassandra.utils.CounterId.getLocalId:()Lorg/apache/cassandra/utils/CounterId;
lconst_1
aload 1
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokevirtual org.apache.cassandra.db.context.CounterContext.createGlobal:(Lorg/apache/cassandra/utils/CounterId;JJ)Ljava/nio/ByteBuffer;
areturn
7: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual org.apache.cassandra.db.marshal.AbstractType.decompose:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/db/SimpleBuilders$RowBuilder;
0 8 1 value Ljava/lang/Object;
0 8 2 type Lorg/apache/cassandra/db/marshal/AbstractType<*>;
Signature: (Ljava/lang/Object;Lorg/apache/cassandra/db/marshal/AbstractType<*>;)Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
value
type
public java.lang.Object ttl(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokespecial org.apache.cassandra.db.SimpleBuilders$AbstractBuilder.ttl:(I)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.cassandra.db.rows.Row$SimpleBuilder ttl(int);
descriptor: (I)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.ttl:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.Row$SimpleBuilder
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object timestamp(long);
descriptor: (J)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokespecial org.apache.cassandra.db.SimpleBuilders$AbstractBuilder.timestamp:(J)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.cassandra.db.rows.Row$SimpleBuilder timestamp(long);
descriptor: (J)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokevirtual org.apache.cassandra.db.SimpleBuilders$RowBuilder.timestamp:(J)Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.Row$SimpleBuilder
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object nowInSec(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokespecial org.apache.cassandra.db.SimpleBuilders$AbstractBuilder.nowInSec:(I)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$org$apache$cassandra$db$marshal$CollectionType$Kind();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$SWITCH_TABLE$org$apache$cassandra$db$marshal$CollectionType$Kind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.db.marshal.CollectionType$Kind.values:()[Lorg/apache/cassandra/db/marshal/CollectionType$Kind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.db.marshal.CollectionType$Kind.LIST:Lorg/apache/cassandra/db/marshal/CollectionType$Kind;
invokevirtual org.apache.cassandra.db.marshal.CollectionType$Kind.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.db.marshal.CollectionType$Kind.MAP:Lorg/apache/cassandra/db/marshal/CollectionType$Kind;
invokevirtual org.apache.cassandra.db.marshal.CollectionType$Kind.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.db.marshal.CollectionType$Kind.SET:Lorg/apache/cassandra/db/marshal/CollectionType$Kind;
invokevirtual org.apache.cassandra.db.marshal.CollectionType$Kind.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.apache.cassandra.db.SimpleBuilders$RowBuilder.$SWITCH_TABLE$org$apache$cassandra$db$marshal$CollectionType$Kind:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
Signature: Lorg/apache/cassandra/db/SimpleBuilders$AbstractBuilder<Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;>;Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
SourceFile: "SimpleBuilders.java"
NestHost: org.apache.cassandra.db.SimpleBuilders
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private AbstractBuilder = org.apache.cassandra.db.SimpleBuilders$AbstractBuilder of org.apache.cassandra.db.SimpleBuilders
public RowBuilder = org.apache.cassandra.db.SimpleBuilders$RowBuilder of org.apache.cassandra.db.SimpleBuilders
public abstract Kind = org.apache.cassandra.db.marshal.CollectionType$Kind of org.apache.cassandra.db.marshal.CollectionType
public abstract Builder = org.apache.cassandra.db.rows.Row$Builder of org.apache.cassandra.db.rows.Row
public Deletion = org.apache.cassandra.db.rows.Row$Deletion of org.apache.cassandra.db.rows.Row
public abstract SimpleBuilder = org.apache.cassandra.db.rows.Row$SimpleBuilder of org.apache.cassandra.db.rows.Row