public class org.apache.cassandra.cql3.Constants$Adder 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.Constants$Adder
super_class: org.apache.cassandra.cql3.Operation
{
public void <init>(org.apache.cassandra.config.ColumnDefinition, org.apache.cassandra.cql3.Term);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // org.apache.cassandra.cql3.Constants$Adder this
start local 1 // org.apache.cassandra.config.ColumnDefinition column
start local 2 // org.apache.cassandra.cql3.Term t
0: .line 391
aload 0 /* this */
aload 1 /* column */
aload 2 /* t */
invokespecial org.apache.cassandra.cql3.Operation.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
1: .line 392
return
end local 2 // org.apache.cassandra.cql3.Term t
end local 1 // org.apache.cassandra.config.ColumnDefinition column
end local 0 // org.apache.cassandra.cql3.Constants$Adder this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/Constants$Adder;
0 2 1 column Lorg/apache/cassandra/config/ColumnDefinition;
0 2 2 t Lorg/apache/cassandra/cql3/Term;
MethodParameters:
Name Flags
column
t
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 // org.apache.cassandra.cql3.Constants$Adder this
start local 1 // org.apache.cassandra.db.DecoratedKey partitionKey
start local 2 // org.apache.cassandra.cql3.UpdateParameters params
0: .line 396
aload 0 /* this */
getfield org.apache.cassandra.cql3.Constants$Adder.t:Lorg/apache/cassandra/cql3/Term;
aload 2 /* params */
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 /* bytes */
start local 3 // java.nio.ByteBuffer bytes
1: .line 397
aload 3 /* bytes */
ifnonnull 3
2: .line 398
new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid null value for counter increment"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
3: .line 399
StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 3 /* bytes */
getstatic org.apache.cassandra.utils.ByteBufferUtil.UNSET_BYTE_BUFFER:Ljava/nio/ByteBuffer;
if_acmpne 5
4: .line 400
return
5: .line 402
StackMap locals:
StackMap stack:
aload 3 /* bytes */
invokestatic org.apache.cassandra.utils.ByteBufferUtil.toLong:(Ljava/nio/ByteBuffer;)J
lstore 4 /* increment */
start local 4 // long increment
6: .line 403
aload 2 /* params */
aload 0 /* this */
getfield org.apache.cassandra.cql3.Constants$Adder.column:Lorg/apache/cassandra/config/ColumnDefinition;
lload 4 /* increment */
invokevirtual org.apache.cassandra.cql3.UpdateParameters.addCounter:(Lorg/apache/cassandra/config/ColumnDefinition;J)V
7: .line 404
return
end local 4 // long increment
end local 3 // java.nio.ByteBuffer bytes
end local 2 // org.apache.cassandra.cql3.UpdateParameters params
end local 1 // org.apache.cassandra.db.DecoratedKey partitionKey
end local 0 // org.apache.cassandra.cql3.Constants$Adder this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/cql3/Constants$Adder;
0 8 1 partitionKey Lorg/apache/cassandra/db/DecoratedKey;
0 8 2 params Lorg/apache/cassandra/cql3/UpdateParameters;
1 8 3 bytes Ljava/nio/ByteBuffer;
6 8 4 increment J
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
partitionKey
params
}
SourceFile: "Constants.java"
NestHost: org.apache.cassandra.cql3.Constants
InnerClasses:
public Adder = org.apache.cassandra.cql3.Constants$Adder of org.apache.cassandra.cql3.Constants