public class org.apache.cassandra.cql3.statements.DeleteStatement$Parsed extends org.apache.cassandra.cql3.statements.ModificationStatement$Parsed
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.DeleteStatement$Parsed
super_class: org.apache.cassandra.cql3.statements.ModificationStatement$Parsed
{
private final java.util.List<org.apache.cassandra.cql3.Operation$RawDeletion> deletions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/cql3/Operation$RawDeletion;>;
private org.apache.cassandra.cql3.WhereClause whereClause;
descriptor: Lorg/apache/cassandra/cql3/WhereClause;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.apache.cassandra.cql3.CFName, org.apache.cassandra.cql3.Attributes$Raw, java.util.List<org.apache.cassandra.cql3.Operation$RawDeletion>, org.apache.cassandra.cql3.WhereClause, java.util.List<org.apache.cassandra.utils.Pair<org.apache.cassandra.config.ColumnDefinition$Raw, org.apache.cassandra.cql3.ColumnCondition$Raw>>, );
descriptor: (Lorg/apache/cassandra/cql3/CFName;Lorg/apache/cassandra/cql3/Attributes$Raw;Ljava/util/List;Lorg/apache/cassandra/cql3/WhereClause;Ljava/util/List;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
getstatic org.apache.cassandra.cql3.statements.StatementType.DELETE:Lorg/apache/cassandra/cql3/statements/StatementType;
aload 2
aload 5
iconst_0
iload 6
invokespecial org.apache.cassandra.cql3.statements.ModificationStatement$Parsed.<init>:(Lorg/apache/cassandra/cql3/CFName;Lorg/apache/cassandra/cql3/statements/StatementType;Lorg/apache/cassandra/cql3/Attributes$Raw;Ljava/util/List;ZZ)V
1: aload 0
aload 3
putfield org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.deletions:Ljava/util/List;
2: aload 0
aload 4
putfield org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.whereClause:Lorg/apache/cassandra/cql3/WhereClause;
3: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cql3/statements/DeleteStatement$Parsed;
0 4 1 name Lorg/apache/cassandra/cql3/CFName;
0 4 2 attrs Lorg/apache/cassandra/cql3/Attributes$Raw;
0 4 3 deletions Ljava/util/List<Lorg/apache/cassandra/cql3/Operation$RawDeletion;>;
0 4 4 whereClause Lorg/apache/cassandra/cql3/WhereClause;
0 4 5 conditions Ljava/util/List<Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/config/ColumnDefinition$Raw;Lorg/apache/cassandra/cql3/ColumnCondition$Raw;>;>;
0 4 6 ifExists Z
Signature: (Lorg/apache/cassandra/cql3/CFName;Lorg/apache/cassandra/cql3/Attributes$Raw;Ljava/util/List<Lorg/apache/cassandra/cql3/Operation$RawDeletion;>;Lorg/apache/cassandra/cql3/WhereClause;Ljava/util/List<Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/config/ColumnDefinition$Raw;Lorg/apache/cassandra/cql3/ColumnCondition$Raw;>;>;Z)V
MethodParameters:
Name Flags
name
attrs
deletions
whereClause
conditions
ifExists
protected org.apache.cassandra.cql3.statements.ModificationStatement prepareInternal(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.cql3.VariableSpecifications, org.apache.cassandra.cql3.Conditions, org.apache.cassandra.cql3.Attributes);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/Conditions;Lorg/apache/cassandra/cql3/Attributes;)Lorg/apache/cassandra/cql3/statements/ModificationStatement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.apache.cassandra.cql3.Operations
dup
aload 0
getfield org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.type:Lorg/apache/cassandra/cql3/statements/StatementType;
invokespecial org.apache.cassandra.cql3.Operations.<init>:(Lorg/apache/cassandra/cql3/statements/StatementType;)V
astore 5
start local 5 1: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 5
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isDense:()Z
ifeq 5
2: aload 3
aload 1
aload 0
getfield org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.whereClause:Lorg/apache/cassandra/cql3/WhereClause;
invokestatic org.apache.cassandra.cql3.SuperColumnCompatibility.rebuildLWTColumnConditions:(Lorg/apache/cassandra/cql3/Conditions;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/WhereClause;)Lorg/apache/cassandra/cql3/Conditions;
astore 3
3: aload 0
aload 1
aload 0
getfield org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.whereClause:Lorg/apache/cassandra/cql3/WhereClause;
aload 2
aload 5
invokestatic org.apache.cassandra.cql3.SuperColumnCompatibility.prepareDeleteOperations:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/WhereClause;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/Operations;)Lorg/apache/cassandra/cql3/WhereClause;
putfield org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.whereClause:Lorg/apache/cassandra/cql3/WhereClause;
4: goto 13
5: StackMap locals: org.apache.cassandra.cql3.Operations
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.deletions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 12
StackMap locals: org.apache.cassandra.cql3.statements.DeleteStatement$Parsed org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.VariableSpecifications org.apache.cassandra.cql3.Conditions org.apache.cassandra.cql3.Attributes org.apache.cassandra.cql3.Operations top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.Operation$RawDeletion
astore 6
start local 6 7: aload 1
aload 6
invokeinterface org.apache.cassandra.cql3.Operation$RawDeletion.affectedColumn:()Lorg/apache/cassandra/config/ColumnDefinition$Raw;
invokestatic org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.getColumnDefinition:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/config/ColumnDefinition$Raw;)Lorg/apache/cassandra/config/ColumnDefinition;
astore 8
start local 8 8: aload 8
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPrimaryKeyColumn:()Z
ldc "Invalid identifier %s for deletion (should not be a PRIMARY KEY part)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
aastore
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;[Ljava/lang/Object;)V
9: aload 6
aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aload 8
aload 1
invokeinterface org.apache.cassandra.cql3.Operation$RawDeletion.prepare:(Ljava/lang/String;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/cql3/Operation;
astore 9
start local 9 10: aload 9
aload 2
invokevirtual org.apache.cassandra.cql3.Operation.collectMarkerSpecification:(Lorg/apache/cassandra/cql3/VariableSpecifications;)V
11: aload 5
aload 9
invokevirtual org.apache.cassandra.cql3.Operations.add:(Lorg/apache/cassandra/cql3/Operation;)V
end local 9 end local 8 end local 6 12: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
13: StackMap locals: org.apache.cassandra.cql3.statements.DeleteStatement$Parsed org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.VariableSpecifications org.apache.cassandra.cql3.Conditions org.apache.cassandra.cql3.Attributes org.apache.cassandra.cql3.Operations
StackMap stack:
aload 0
aload 1
14: aload 2
15: aload 5
16: aload 0
getfield org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.whereClause:Lorg/apache/cassandra/cql3/WhereClause;
17: aload 3
18: invokevirtual org.apache.cassandra.cql3.statements.DeleteStatement$Parsed.newRestrictions:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/Operations;Lorg/apache/cassandra/cql3/WhereClause;Lorg/apache/cassandra/cql3/Conditions;)Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
astore 6
start local 6 19: new org.apache.cassandra.cql3.statements.DeleteStatement
dup
aload 2
invokevirtual org.apache.cassandra.cql3.VariableSpecifications.size:()I
20: aload 1
21: aload 5
22: aload 6
23: aload 3
24: aload 4
25: invokespecial org.apache.cassandra.cql3.statements.DeleteStatement.<init>:(ILorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/Operations;Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;Lorg/apache/cassandra/cql3/Conditions;Lorg/apache/cassandra/cql3/Attributes;)V
astore 7
start local 7 26: aload 7
invokevirtual org.apache.cassandra.cql3.statements.DeleteStatement.hasConditions:()Z
ifeq 33
aload 6
invokevirtual org.apache.cassandra.cql3.restrictions.StatementRestrictions.hasAllPKColumnsRestrictedByEqualities:()Z
ifne 33
27: aload 5
invokevirtual org.apache.cassandra.cql3.Operations.appliesToRegularColumns:()Z
28: ldc "DELETE statements must restrict all PRIMARY KEY columns with equality relations in order to delete non static columns"
29: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
30: aload 3
invokeinterface org.apache.cassandra.cql3.Conditions.appliesToRegularColumns:()Z
31: ldc "DELETE statements must restrict all PRIMARY KEY columns with equality relations in order to use IF condition on non static columns"
32: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
33: StackMap locals: org.apache.cassandra.cql3.restrictions.StatementRestrictions org.apache.cassandra.cql3.statements.DeleteStatement
StackMap stack:
aload 7
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/apache/cassandra/cql3/statements/DeleteStatement$Parsed;
0 34 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 34 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
0 34 3 conditions Lorg/apache/cassandra/cql3/Conditions;
0 34 4 attrs Lorg/apache/cassandra/cql3/Attributes;
1 34 5 operations Lorg/apache/cassandra/cql3/Operations;
7 12 6 deletion Lorg/apache/cassandra/cql3/Operation$RawDeletion;
8 12 8 def Lorg/apache/cassandra/config/ColumnDefinition;
10 12 9 op Lorg/apache/cassandra/cql3/Operation;
19 34 6 restrictions Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
26 34 7 stmt Lorg/apache/cassandra/cql3/statements/DeleteStatement;
MethodParameters:
Name Flags
cfm
boundNames
conditions
attrs
}
SourceFile: "DeleteStatement.java"
NestHost: org.apache.cassandra.cql3.statements.DeleteStatement
InnerClasses:
public abstract Raw = org.apache.cassandra.config.ColumnDefinition$Raw of org.apache.cassandra.config.ColumnDefinition
public Raw = org.apache.cassandra.cql3.Attributes$Raw of org.apache.cassandra.cql3.Attributes
public Raw = org.apache.cassandra.cql3.ColumnCondition$Raw of org.apache.cassandra.cql3.ColumnCondition
public abstract RawDeletion = org.apache.cassandra.cql3.Operation$RawDeletion of org.apache.cassandra.cql3.Operation
public Parsed = org.apache.cassandra.cql3.statements.DeleteStatement$Parsed of org.apache.cassandra.cql3.statements.DeleteStatement
public abstract Parsed = org.apache.cassandra.cql3.statements.ModificationStatement$Parsed of org.apache.cassandra.cql3.statements.ModificationStatement