public class org.apache.cassandra.cql3.Operation$Addition implements org.apache.cassandra.cql3.Operation$RawUpdate
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.Operation$Addition
super_class: java.lang.Object
{
private final org.apache.cassandra.cql3.Term$Raw value;
descriptor: Lorg/apache/cassandra/cql3/Term$Raw;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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
public void <init>(org.apache.cassandra.cql3.Term$Raw);
descriptor: (Lorg/apache/cassandra/cql3/Term$Raw;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.Operation$Addition.value:Lorg/apache/cassandra/cql3/Term$Raw;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/Operation$Addition;
0 3 1 value Lorg/apache/cassandra/cql3/Term$Raw;
MethodParameters:
Name Flags
value
public org.apache.cassandra.cql3.Operation prepare(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.config.ColumnDefinition);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/cql3/Operation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.Operation$Addition.value:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 2
invokevirtual org.apache.cassandra.cql3.Term$Raw.prepare:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
astore 3
start local 3 1: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
instanceof org.apache.cassandra.db.marshal.CollectionType
ifne 5
2: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
instanceof org.apache.cassandra.db.marshal.CounterColumnType
ifne 4
3: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid operation (%s) for non counter column %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aload 2
invokevirtual org.apache.cassandra.cql3.Operation$Addition.toString:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Ljava/lang/String;
aastore
dup
iconst_1
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.apache.cassandra.cql3.Term
StackMap stack:
new org.apache.cassandra.cql3.Constants$Adder
dup
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.Constants$Adder.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
5: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isMultiCell:()Z
ifne 7
6: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid operation (%s) for frozen collection column %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aload 2
invokevirtual org.apache.cassandra.cql3.Operation$Addition.toString:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Ljava/lang/String;
aastore
dup
iconst_1
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.cql3.Operation$Addition.$SWITCH_TABLE$org$apache$cassandra$db$marshal$CollectionType$Kind:()[I
aload 2
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: 10
2: 9
3: 8
default: 11
}
8: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.Lists$Appender
dup
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.Lists$Appender.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
9: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.Sets$Adder
dup
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.Sets$Adder.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
10: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.Maps$Putter
dup
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.Maps$Putter.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
11: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/cql3/Operation$Addition;
0 12 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 12 2 receiver Lorg/apache/cassandra/config/ColumnDefinition;
1 12 3 v Lorg/apache/cassandra/cql3/Term;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
cfm
receiver
protected java.lang.String toString(org.apache.cassandra.cql3.ColumnSpecification);
descriptor: (Lorg/apache/cassandra/cql3/ColumnSpecification;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc "%s = %s + %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.cassandra.cql3.ColumnSpecification.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
dup
iconst_1
aload 1
getfield org.apache.cassandra.cql3.ColumnSpecification.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.cql3.Operation$Addition.value:Lorg/apache/cassandra/cql3/Term$Raw;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/Operation$Addition;
0 1 1 column Lorg/apache/cassandra/cql3/ColumnSpecification;
MethodParameters:
Name Flags
column
public boolean isCompatibleWith(org.apache.cassandra.cql3.Operation$RawUpdate);
descriptor: (Lorg/apache/cassandra/cql3/Operation$RawUpdate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.cassandra.cql3.Operation$SetValue
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/Operation$Addition;
0 3 1 other Lorg/apache/cassandra/cql3/Operation$RawUpdate;
MethodParameters:
Name Flags
other
public org.apache.cassandra.cql3.Term$Raw value();
descriptor: ()Lorg/apache/cassandra/cql3/Term$Raw;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.Operation$Addition.value:Lorg/apache/cassandra/cql3/Term$Raw;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/Operation$Addition;
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.cql3.Operation$Addition.$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.cql3.Operation$Addition.$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
}
SourceFile: "Operation.java"
NestHost: org.apache.cassandra.cql3.Operation
InnerClasses:
public Adder = org.apache.cassandra.cql3.Constants$Adder of org.apache.cassandra.cql3.Constants
public Appender = org.apache.cassandra.cql3.Lists$Appender of org.apache.cassandra.cql3.Lists
public Putter = org.apache.cassandra.cql3.Maps$Putter of org.apache.cassandra.cql3.Maps
public Addition = org.apache.cassandra.cql3.Operation$Addition of org.apache.cassandra.cql3.Operation
public abstract RawUpdate = org.apache.cassandra.cql3.Operation$RawUpdate of org.apache.cassandra.cql3.Operation
public SetValue = org.apache.cassandra.cql3.Operation$SetValue of org.apache.cassandra.cql3.Operation
public Adder = org.apache.cassandra.cql3.Sets$Adder of org.apache.cassandra.cql3.Sets
public abstract Raw = org.apache.cassandra.cql3.Term$Raw of org.apache.cassandra.cql3.Term
public abstract Kind = org.apache.cassandra.db.marshal.CollectionType$Kind of org.apache.cassandra.db.marshal.CollectionType