public class org.apache.cassandra.cql3.Operation$ElementDeletion implements org.apache.cassandra.cql3.Operation$RawDeletion
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.Operation$ElementDeletion
super_class: java.lang.Object
{
private final org.apache.cassandra.config.ColumnDefinition$Raw id;
descriptor: Lorg/apache/cassandra/config/ColumnDefinition$Raw;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.cql3.Term$Raw element;
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.config.ColumnDefinition$Raw, org.apache.cassandra.cql3.Term$Raw);
descriptor: (Lorg/apache/cassandra/config/ColumnDefinition$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$ElementDeletion.id:Lorg/apache/cassandra/config/ColumnDefinition$Raw;
2: aload 0
aload 2
putfield org.apache.cassandra.cql3.Operation$ElementDeletion.element: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$ElementDeletion;
0 4 1 id Lorg/apache/cassandra/config/ColumnDefinition$Raw;
0 4 2 element Lorg/apache/cassandra/cql3/Term$Raw;
MethodParameters:
Name Flags
id
element
public org.apache.cassandra.config.ColumnDefinition$Raw affectedColumn();
descriptor: ()Lorg/apache/cassandra/config/ColumnDefinition$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$ElementDeletion.id:Lorg/apache/cassandra/config/ColumnDefinition$Raw;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/Operation$ElementDeletion;
public org.apache.cassandra.cql3.Operation prepare(java.lang.String, org.apache.cassandra.config.ColumnDefinition, org.apache.cassandra.config.CFMetaData);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/cql3/Operation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getfield org.apache.cassandra.config.ColumnDefinition.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.isCollection:()Z
ifne 2
1: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid deletion operation for non collection column %s"
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
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 deletion operation for frozen collection column %s"
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
4: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.cql3.Operation$ElementDeletion.$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: 7
3: 5
default: 11
}
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Operation$ElementDeletion.element:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
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 4
start local 4 6: new org.apache.cassandra.cql3.Lists$DiscarderByIndex
dup
aload 2
aload 4
invokespecial org.apache.cassandra.cql3.Lists$DiscarderByIndex.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
end local 4 7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Operation$ElementDeletion.element:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
aload 2
invokestatic org.apache.cassandra.cql3.Sets.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 5
start local 5 8: new org.apache.cassandra.cql3.Sets$ElementDiscarder
dup
aload 2
aload 5
invokespecial org.apache.cassandra.cql3.Sets$ElementDiscarder.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
end local 5 9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.Operation$ElementDeletion.element:Lorg/apache/cassandra/cql3/Term$Raw;
aload 1
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 6
start local 6 10: new org.apache.cassandra.cql3.Maps$DiscarderByKey
dup
aload 2
aload 6
invokespecial org.apache.cassandra.cql3.Maps$DiscarderByKey.<init>:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/cql3/Term;)V
areturn
end local 6 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$ElementDeletion;
0 12 1 keyspace Ljava/lang/String;
0 12 2 receiver Lorg/apache/cassandra/config/ColumnDefinition;
0 12 3 cfm Lorg/apache/cassandra/config/CFMetaData;
6 7 4 idx Lorg/apache/cassandra/cql3/Term;
8 9 5 elt Lorg/apache/cassandra/cql3/Term;
10 11 6 key Lorg/apache/cassandra/cql3/Term;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
keyspace
receiver
cfm
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$ElementDeletion.$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$ElementDeletion.$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 abstract Raw = org.apache.cassandra.config.ColumnDefinition$Raw of org.apache.cassandra.config.ColumnDefinition
public DiscarderByIndex = org.apache.cassandra.cql3.Lists$DiscarderByIndex of org.apache.cassandra.cql3.Lists
public DiscarderByKey = org.apache.cassandra.cql3.Maps$DiscarderByKey of org.apache.cassandra.cql3.Maps
public ElementDeletion = org.apache.cassandra.cql3.Operation$ElementDeletion of org.apache.cassandra.cql3.Operation
public abstract RawDeletion = org.apache.cassandra.cql3.Operation$RawDeletion of org.apache.cassandra.cql3.Operation
public ElementDiscarder = org.apache.cassandra.cql3.Sets$ElementDiscarder 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