public class org.apache.cassandra.cql3.Operation$SetValue 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$SetValue
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$SetValue.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$SetValue;
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=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.Operation$SetValue.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.CounterColumnType
ifeq 3
2: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot set the value of counter column %s (counters can only be incremented/decremented, not set)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
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
3: StackMap locals: org.apache.cassandra.cql3.Term
StackMap stack:
aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isCollection:()Z
ifeq 9
4: invokestatic org.apache.cassandra.cql3.Operation$SetValue.$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: 7
2: 6
3: 5
default: 8
}
5: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.Lists$Setter
dup
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.Lists$Setter.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
6: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.Sets$Setter
dup
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.Sets$Setter.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
7: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.Maps$Setter
dup
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.Maps$Setter.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
8: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: 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.isUDT:()Z
ifeq 11
10: new org.apache.cassandra.cql3.UserTypes$Setter
dup
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.UserTypes$Setter.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
11: StackMap locals:
StackMap stack:
new org.apache.cassandra.cql3.Constants$Setter
dup
aload 2
aload 3
invokespecial org.apache.cassandra.cql3.Constants$Setter.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
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$SetValue;
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"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.cql3.Operation$SetValue.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$SetValue;
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: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/Operation$SetValue;
0 1 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$SetValue.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$SetValue;
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$SetValue.$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$SetValue.$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 Setter = org.apache.cassandra.cql3.Constants$Setter of org.apache.cassandra.cql3.Constants
public Setter = org.apache.cassandra.cql3.Lists$Setter of org.apache.cassandra.cql3.Lists
public Setter = org.apache.cassandra.cql3.Maps$Setter of org.apache.cassandra.cql3.Maps
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 Setter = org.apache.cassandra.cql3.Sets$Setter of org.apache.cassandra.cql3.Sets
public abstract Raw = org.apache.cassandra.cql3.Term$Raw of org.apache.cassandra.cql3.Term
public Setter = org.apache.cassandra.cql3.UserTypes$Setter of org.apache.cassandra.cql3.UserTypes
public abstract Kind = org.apache.cassandra.db.marshal.CollectionType$Kind of org.apache.cassandra.db.marshal.CollectionType