public class org.apache.cassandra.cql3.Constants$Substracter 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$Substracter
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$Substracter this
start local 1 // org.apache.cassandra.config.ColumnDefinition column
start local 2 // org.apache.cassandra.cql3.Term t
0: .line 411
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 412
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$Substracter this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/Constants$Substracter;
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=5, locals=6, args_size=3
start local 0 // org.apache.cassandra.cql3.Constants$Substracter this
start local 1 // org.apache.cassandra.db.DecoratedKey partitionKey
start local 2 // org.apache.cassandra.cql3.UpdateParameters params
0: .line 416
aload 0 /* this */
getfield org.apache.cassandra.cql3.Constants$Substracter.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 417
aload 3 /* bytes */
ifnonnull 3
2: .line 418
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 419
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 420
return
5: .line 422
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 423
lload 4 /* increment */
ldc -9223372036854775808
lcmp
ifne 8
7: .line 424
new org.apache.cassandra.exceptions.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "The negation of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 4 /* increment */
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " overflows supported counter precision (signed 8 bytes integer)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
8: .line 426
StackMap locals: long
StackMap stack:
aload 2 /* params */
aload 0 /* this */
getfield org.apache.cassandra.cql3.Constants$Substracter.column:Lorg/apache/cassandra/config/ColumnDefinition;
lload 4 /* increment */
lneg
invokevirtual org.apache.cassandra.cql3.UpdateParameters.addCounter:(Lorg/apache/cassandra/config/ColumnDefinition;J)V
9: .line 427
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$Substracter this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/cql3/Constants$Substracter;
0 10 1 partitionKey Lorg/apache/cassandra/db/DecoratedKey;
0 10 2 params Lorg/apache/cassandra/cql3/UpdateParameters;
1 10 3 bytes Ljava/nio/ByteBuffer;
6 10 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 Substracter = org.apache.cassandra.cql3.Constants$Substracter of org.apache.cassandra.cql3.Constants