public class org.apache.cassandra.cql3.Operation$SetElement 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$SetElement
super_class: java.lang.Object
{
private final org.apache.cassandra.cql3.Term$Raw selector;
descriptor: Lorg/apache/cassandra/cql3/Term$Raw;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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, org.apache.cassandra.cql3.Term$Raw);
descriptor: (Lorg/apache/cassandra/cql3/Term$Raw;Lorg/apache/cassandra/cql3/Term$Raw;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cql3.Operation$SetElement.selector:Lorg/apache/cassandra/cql3/Term$Raw;
2: aload 0
aload 2
putfield org.apache.cassandra.cql3.Operation$SetElement.value:Lorg/apache/cassandra/cql3/Term$Raw;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/Operation$SetElement;
0 4 1 selector Lorg/apache/cassandra/cql3/Term$Raw;
0 4 2 value Lorg/apache/cassandra/cql3/Term$Raw;
MethodParameters:
Name Flags
selector
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=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
instanceof org.apache.cassandra.db.marshal.CollectionType
ifne 2
1: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid operation (%s) for non collection column %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aload 2
invokevirtual org.apache.cassandra.cql3.Operation$SetElement.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
2: 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 4
3: 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$SetElement.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:
StackMap stack:
invokestatic org.apache.cassandra.cql3.Operation$SetElement.$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: 9
2: 8
3: 5
default: 12
}
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Operation$SetElement.selector:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 2
invokestatic org.apache.cassandra.cql3.Lists.indexSpecOf:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/ColumnSpecification;
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 6: aload 0
getfield org.apache.cassandra.cql3.Operation$SetElement.value:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 2
invokestatic org.apache.cassandra.cql3.Lists.valueSpecOf:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/ColumnSpecification;
invokevirtual org.apache.cassandra.cql3.Term$Raw.prepare:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
astore 4
start local 4 7: new org.apache.cassandra.cql3.Lists$SetterByIndex
dup
aload 2
aload 3
aload 4
invokespecial org.apache.cassandra.cql3.Lists$SetterByIndex.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;Lorg/apache/cassandra/cql3/Term;)V
areturn
end local 4 end local 3 8: StackMap locals:
StackMap stack:
new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid operation (%s) for set column %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aload 2
invokevirtual org.apache.cassandra.cql3.Operation$SetElement.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
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Operation$SetElement.selector:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 2
invokestatic org.apache.cassandra.cql3.Maps.keySpecOf:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/ColumnSpecification;
invokevirtual org.apache.cassandra.cql3.Term$Raw.prepare:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
astore 5
start local 5 10: aload 0
getfield org.apache.cassandra.cql3.Operation$SetElement.value:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 2
invokestatic org.apache.cassandra.cql3.Maps.valueSpecOf:(Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/ColumnSpecification;
invokevirtual org.apache.cassandra.cql3.Term$Raw.prepare:(Ljava/lang/String;Lorg/apache/cassandra/cql3/ColumnSpecification;)Lorg/apache/cassandra/cql3/Term;
astore 6
start local 6 11: new org.apache.cassandra.cql3.Maps$SetterByKey
dup
aload 2
aload 5
aload 6
invokespecial org.apache.cassandra.cql3.Maps$SetterByKey.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;Lorg/apache/cassandra/cql3/Term;)V
areturn
end local 6 end local 5 12: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/cql3/Operation$SetElement;
0 13 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 13 2 receiver Lorg/apache/cassandra/config/ColumnDefinition;
6 8 3 idx Lorg/apache/cassandra/cql3/Term;
7 8 4 lval Lorg/apache/cassandra/cql3/Term;
10 12 5 key Lorg/apache/cassandra/cql3/Term;
11 12 6 mval 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 0
getfield org.apache.cassandra.cql3.Operation$SetElement.selector:Lorg/apache/cassandra/cql3/Term$Raw;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.cql3.Operation$SetElement.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$SetElement;
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$SetElement;
0 3 1 other Lorg/apache/cassandra/cql3/Operation$RawUpdate;
MethodParameters:
Name Flags
other
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$SetElement.$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$SetElement.$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 SetterByIndex = org.apache.cassandra.cql3.Lists$SetterByIndex of org.apache.cassandra.cql3.Lists
public SetterByKey = org.apache.cassandra.cql3.Maps$SetterByKey of org.apache.cassandra.cql3.Maps
public abstract RawUpdate = org.apache.cassandra.cql3.Operation$RawUpdate of org.apache.cassandra.cql3.Operation
public SetElement = org.apache.cassandra.cql3.Operation$SetElement of org.apache.cassandra.cql3.Operation
public SetValue = org.apache.cassandra.cql3.Operation$SetValue of org.apache.cassandra.cql3.Operation
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