public class org.apache.cassandra.cql3.Maps$SetterByKey extends org.apache.cassandra.cql3.Operation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.Maps$SetterByKey
super_class: org.apache.cassandra.cql3.Operation
{
private final org.apache.cassandra.cql3.Term k;
descriptor: Lorg/apache/cassandra/cql3/Term;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/cql3/Maps;
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.cql3.Maps$SetterByKey.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.config.ColumnDefinition, org.apache.cassandra.cql3.Term, org.apache.cassandra.cql3.Term);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;Lorg/apache/cassandra/cql3/Term;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
invokespecial org.apache.cassandra.cql3.Operation.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
1: aload 0
aload 2
putfield org.apache.cassandra.cql3.Maps$SetterByKey.k:Lorg/apache/cassandra/cql3/Term;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/Maps$SetterByKey;
0 3 1 column Lorg/apache/cassandra/config/ColumnDefinition;
0 3 2 k Lorg/apache/cassandra/cql3/Term;
0 3 3 t Lorg/apache/cassandra/cql3/Term;
MethodParameters:
Name Flags
column
k
t
public void collectMarkerSpecification(org.apache.cassandra.cql3.VariableSpecifications);
descriptor: (Lorg/apache/cassandra/cql3/VariableSpecifications;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.cassandra.cql3.Operation.collectMarkerSpecification:(Lorg/apache/cassandra/cql3/VariableSpecifications;)V
1: aload 0
getfield org.apache.cassandra.cql3.Maps$SetterByKey.k:Lorg/apache/cassandra/cql3/Term;
aload 1
invokeinterface org.apache.cassandra.cql3.Term.collectMarkerSpecification:(Lorg/apache/cassandra/cql3/VariableSpecifications;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/Maps$SetterByKey;
0 3 1 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
MethodParameters:
Name Flags
boundNames
public void execute(org.apache.cassandra.db.DecoratedKey, org.apache.cassandra.cql3.UpdateParameters);
descriptor: (Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/cql3/UpdateParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.cql3.Maps$SetterByKey.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.cql3.Maps$SetterByKey.column:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isMultiCell:()Z
ifne 1
new java.lang.AssertionError
dup
ldc "Attempted to set a value for a single key on a frozen map"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Maps$SetterByKey.k:Lorg/apache/cassandra/cql3/Term;
aload 2
getfield org.apache.cassandra.cql3.UpdateParameters.options:Lorg/apache/cassandra/cql3/QueryOptions;
invokeinterface org.apache.cassandra.cql3.Term.bindAndGet:(Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
astore 3
start local 3 2: aload 0
getfield org.apache.cassandra.cql3.Maps$SetterByKey.t:Lorg/apache/cassandra/cql3/Term;
aload 2
getfield org.apache.cassandra.cql3.UpdateParameters.options:Lorg/apache/cassandra/cql3/QueryOptions;
invokeinterface org.apache.cassandra.cql3.Term.bindAndGet:(Lorg/apache/cassandra/cql3/QueryOptions;)Ljava/nio/ByteBuffer;
astore 4
start local 4 3: aload 3
ifnonnull 5
4: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid null map key"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.nio.ByteBuffer java.nio.ByteBuffer
StackMap stack:
aload 3
getstatic org.apache.cassandra.utils.ByteBufferUtil.UNSET_BYTE_BUFFER:Ljava/nio/ByteBuffer;
if_acmpne 7
6: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid unset map key"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 3
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
astore 5
start local 5 8: aload 4
ifnonnull 11
9: aload 2
aload 0
getfield org.apache.cassandra.cql3.Maps$SetterByKey.column:Lorg/apache/cassandra/config/ColumnDefinition;
aload 5
invokevirtual org.apache.cassandra.cql3.UpdateParameters.addTombstone:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)V
10: goto 13
11: StackMap locals: org.apache.cassandra.db.rows.CellPath
StackMap stack:
aload 4
getstatic org.apache.cassandra.utils.ByteBufferUtil.UNSET_BYTE_BUFFER:Ljava/nio/ByteBuffer;
if_acmpeq 13
12: aload 2
aload 0
getfield org.apache.cassandra.cql3.Maps$SetterByKey.column:Lorg/apache/cassandra/config/ColumnDefinition;
aload 5
aload 4
invokevirtual org.apache.cassandra.cql3.UpdateParameters.addCell:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;Ljava/nio/ByteBuffer;)V
13: StackMap locals:
StackMap stack:
return
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 14 0 this Lorg/apache/cassandra/cql3/Maps$SetterByKey;
0 14 1 partitionKey Lorg/apache/cassandra/db/DecoratedKey;
0 14 2 params Lorg/apache/cassandra/cql3/UpdateParameters;
2 14 3 key Ljava/nio/ByteBuffer;
3 14 4 value Ljava/nio/ByteBuffer;
8 14 5 path Lorg/apache/cassandra/db/rows/CellPath;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
partitionKey
params
}
SourceFile: "Maps.java"
NestHost: org.apache.cassandra.cql3.Maps
InnerClasses:
public SetterByKey = org.apache.cassandra.cql3.Maps$SetterByKey of org.apache.cassandra.cql3.Maps