public class org.apache.cassandra.db.SimpleBuilders$MutationBuilder extends org.apache.cassandra.db.SimpleBuilders$AbstractBuilder<org.apache.cassandra.db.Mutation$SimpleBuilder> implements org.apache.cassandra.db.Mutation$SimpleBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.SimpleBuilders$MutationBuilder
super_class: org.apache.cassandra.db.SimpleBuilders$AbstractBuilder
{
private final java.lang.String keyspaceName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.DecoratedKey key;
descriptor: Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.util.UUID, org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder> updateBuilders;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/util/UUID;Lorg/apache/cassandra/db/SimpleBuilders$PartitionUpdateBuilder;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, 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$MutationBuilder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, org.apache.cassandra.db.DecoratedKey);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/db/DecoratedKey;)V
flags: (0x0001) ACC_PUBLIC
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.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.updateBuilders:Ljava/util/Map;
2: aload 0
aload 1
putfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.keyspaceName:Ljava/lang/String;
3: aload 0
aload 2
putfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.key:Lorg/apache/cassandra/db/DecoratedKey;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/SimpleBuilders$MutationBuilder;
0 5 1 keyspaceName Ljava/lang/String;
0 5 2 key Lorg/apache/cassandra/db/DecoratedKey;
MethodParameters:
Name Flags
keyspaceName
key
public org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder update(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/partitions/PartitionUpdate$SimpleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.SimpleBuilders$MutationBuilder.$assertionsDisabled:Z
ifne 1
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.keyspaceName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.updateBuilders:Ljava/util/Map;
aload 1
getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder
dup
aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.key:Lorg/apache/cassandra/db/DecoratedKey;
aastore
invokespecial org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder.<init>:(Lorg/apache/cassandra/config/CFMetaData;[Ljava/lang/Object;)V
astore 2
4: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.updateBuilders:Ljava/util/Map;
aload 1
getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.cassandra.db.SimpleBuilders$MutationBuilder.copyParams:(Lorg/apache/cassandra/db/SimpleBuilders$AbstractBuilder;)V
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/SimpleBuilders$MutationBuilder;
0 7 1 metadata Lorg/apache/cassandra/config/CFMetaData;
2 7 2 builder Lorg/apache/cassandra/db/SimpleBuilders$PartitionUpdateBuilder;
MethodParameters:
Name Flags
metadata
public org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder update(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/db/partitions/PartitionUpdate$SimpleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.keyspaceName:Ljava/lang/String;
aload 1
invokevirtual org.apache.cassandra.config.Schema.getCFMetaData:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 2
start local 2 1: getstatic org.apache.cassandra.db.SimpleBuilders$MutationBuilder.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Unknown table "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in keyspace "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.keyspaceName:Ljava/lang/String;
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.CFMetaData
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.cassandra.db.SimpleBuilders$MutationBuilder.update:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/partitions/PartitionUpdate$SimpleBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/SimpleBuilders$MutationBuilder;
0 3 1 tableName Ljava/lang/String;
1 3 2 metadata Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
tableName
public org.apache.cassandra.db.Mutation build();
descriptor: ()Lorg/apache/cassandra/db/Mutation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.SimpleBuilders$MutationBuilder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.updateBuilders:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 1
new java.lang.AssertionError
dup
ldc "Cannot create empty mutation"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.updateBuilders:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iconst_1
if_icmpne 3
2: new org.apache.cassandra.db.Mutation
dup
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.updateBuilders:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder
invokevirtual org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder.build:()Lorg/apache/cassandra/db/partitions/PartitionUpdate;
invokespecial org.apache.cassandra.db.Mutation.<init>:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
areturn
3: StackMap locals:
StackMap stack:
new org.apache.cassandra.db.Mutation
dup
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.keyspaceName:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.key:Lorg/apache/cassandra/db/DecoratedKey;
invokespecial org.apache.cassandra.db.Mutation.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/DecoratedKey;)V
astore 1
start local 1 4: aload 0
getfield org.apache.cassandra.db.SimpleBuilders$MutationBuilder.updateBuilders:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.apache.cassandra.db.SimpleBuilders$MutationBuilder org.apache.cassandra.db.Mutation top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder
astore 2
start local 2 6: aload 1
aload 2
invokevirtual org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder.build:()Lorg/apache/cassandra/db/partitions/PartitionUpdate;
invokevirtual org.apache.cassandra.db.Mutation.add:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)Lorg/apache/cassandra/db/Mutation;
pop
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/SimpleBuilders$MutationBuilder;
4 9 1 mutation Lorg/apache/cassandra/db/Mutation;
6 7 2 builder Lorg/apache/cassandra/db/SimpleBuilders$PartitionUpdateBuilder;
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.Mutation$SimpleBuilder ttl(int);
descriptor: (I)Lorg/apache/cassandra/db/Mutation$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$MutationBuilder.ttl:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.Mutation$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.Mutation$SimpleBuilder timestamp(long);
descriptor: (J)Lorg/apache/cassandra/db/Mutation$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$MutationBuilder.timestamp:(J)Ljava/lang/Object;
checkcast org.apache.cassandra.db.Mutation$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
}
Signature: Lorg/apache/cassandra/db/SimpleBuilders$AbstractBuilder<Lorg/apache/cassandra/db/Mutation$SimpleBuilder;>;Lorg/apache/cassandra/db/Mutation$SimpleBuilder;
SourceFile: "SimpleBuilders.java"
NestHost: org.apache.cassandra.db.SimpleBuilders
InnerClasses:
public abstract SimpleBuilder = org.apache.cassandra.db.Mutation$SimpleBuilder of org.apache.cassandra.db.Mutation
private AbstractBuilder = org.apache.cassandra.db.SimpleBuilders$AbstractBuilder of org.apache.cassandra.db.SimpleBuilders
public MutationBuilder = org.apache.cassandra.db.SimpleBuilders$MutationBuilder of org.apache.cassandra.db.SimpleBuilders
public PartitionUpdateBuilder = org.apache.cassandra.db.SimpleBuilders$PartitionUpdateBuilder of org.apache.cassandra.db.SimpleBuilders
public abstract SimpleBuilder = org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder of org.apache.cassandra.db.partitions.PartitionUpdate