public class org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson 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.UpdateStatement$ParsedInsertJson
super_class: org.apache.cassandra.cql3.statements.ModificationStatement$Parsed
{
private final org.apache.cassandra.cql3.Json$Raw jsonValue;
descriptor: Lorg/apache/cassandra/cql3/Json$Raw;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean defaultUnset;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.cassandra.cql3.CFName, org.apache.cassandra.cql3.Attributes$Raw, org.apache.cassandra.cql3.Json$Raw, boolean, boolean);
descriptor: (Lorg/apache/cassandra/cql3/CFName;Lorg/apache/cassandra/cql3/Attributes$Raw;Lorg/apache/cassandra/cql3/Json$Raw;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
getstatic org.apache.cassandra.cql3.statements.StatementType.INSERT:Lorg/apache/cassandra/cql3/statements/StatementType;
aload 2
aconst_null
iload 5
iconst_0
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.UpdateStatement$ParsedInsertJson.jsonValue:Lorg/apache/cassandra/cql3/Json$Raw;
2: aload 0
iload 4
putfield org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson.defaultUnset:Z
3: return
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/UpdateStatement$ParsedInsertJson;
0 4 1 name Lorg/apache/cassandra/cql3/CFName;
0 4 2 attrs Lorg/apache/cassandra/cql3/Attributes$Raw;
0 4 3 jsonValue Lorg/apache/cassandra/cql3/Json$Raw;
0 4 4 defaultUnset Z
0 4 5 ifNotExists Z
MethodParameters:
Name Flags
name
attrs
jsonValue
defaultUnset
ifNotExists
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=10, locals=14, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ldc "INSERT statements are not allowed on counter tables, use UPDATE instead"
invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkFalse:(ZLjava/lang/String;)V
1: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.allColumnsInSelectOrder:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/util/Iterator;)Ljava/util/ArrayList;
astore 5
start local 5 2: aload 0
getfield org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson.jsonValue:Lorg/apache/cassandra/cql3/Json$Raw;
aload 1
aload 5
aload 2
invokeinterface org.apache.cassandra.cql3.Json$Raw.prepareAndCollectMarkers:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Collection;Lorg/apache/cassandra/cql3/VariableSpecifications;)Lorg/apache/cassandra/cql3/Json$Prepared;
astore 6
start local 6 3: new org.apache.cassandra.cql3.WhereClause$Builder
dup
invokespecial org.apache.cassandra.cql3.WhereClause$Builder.<init>:()V
astore 7
start local 7 4: new org.apache.cassandra.cql3.Operations
dup
aload 0
getfield org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson.type:Lorg/apache/cassandra/cql3/statements/StatementType;
invokespecial org.apache.cassandra.cql3.Operations.<init>:(Lorg/apache/cassandra/cql3/statements/StatementType;)V
astore 8
start local 8 5: iconst_0
istore 9
start local 9 6: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 10
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isDense:()Z
ifeq 10
7: iconst_1
istore 9
8: aload 1
aload 5
aload 2
aload 6
aload 7
aload 8
invokestatic org.apache.cassandra.cql3.SuperColumnCompatibility.prepareInsertJSONOperations:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;Lorg/apache/cassandra/cql3/VariableSpecifications;Lorg/apache/cassandra/cql3/Json$Prepared;Lorg/apache/cassandra/cql3/WhereClause$Builder;Lorg/apache/cassandra/cql3/Operations;)V
9: goto 22
10: StackMap locals: org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.VariableSpecifications org.apache.cassandra.cql3.Conditions org.apache.cassandra.cql3.Attributes java.util.List org.apache.cassandra.cql3.Json$Prepared org.apache.cassandra.cql3.WhereClause$Builder org.apache.cassandra.cql3.Operations int
StackMap stack:
aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 21
StackMap locals: org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.VariableSpecifications org.apache.cassandra.cql3.Conditions org.apache.cassandra.cql3.Attributes java.util.List org.apache.cassandra.cql3.Json$Prepared org.apache.cassandra.cql3.WhereClause$Builder org.apache.cassandra.cql3.Operations int top java.util.Iterator
StackMap stack:
11: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 10
start local 10 12: aload 10
invokevirtual org.apache.cassandra.config.ColumnDefinition.isClusteringColumn:()Z
ifeq 14
13: iconst_1
istore 9
14: StackMap locals: org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.VariableSpecifications org.apache.cassandra.cql3.Conditions org.apache.cassandra.cql3.Attributes java.util.List org.apache.cassandra.cql3.Json$Prepared org.apache.cassandra.cql3.WhereClause$Builder org.apache.cassandra.cql3.Operations int org.apache.cassandra.config.ColumnDefinition java.util.Iterator
StackMap stack:
aload 6
aload 10
aload 0
getfield org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson.defaultUnset:Z
invokevirtual org.apache.cassandra.cql3.Json$Prepared.getRawTermForColumn:(Lorg/apache/cassandra/config/ColumnDefinition;Z)Lorg/apache/cassandra/cql3/Term$Raw;
astore 12
start local 12 15: aload 10
invokevirtual org.apache.cassandra.config.ColumnDefinition.isPrimaryKeyColumn:()Z
ifeq 18
16: aload 7
new org.apache.cassandra.cql3.SingleColumnRelation
dup
aload 10
invokestatic org.apache.cassandra.config.ColumnDefinition$Raw.forColumn:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/config/ColumnDefinition$Raw;
getstatic org.apache.cassandra.cql3.Operator.EQ:Lorg/apache/cassandra/cql3/Operator;
aload 12
invokespecial org.apache.cassandra.cql3.SingleColumnRelation.<init>:(Lorg/apache/cassandra/config/ColumnDefinition$Raw;Lorg/apache/cassandra/cql3/Operator;Lorg/apache/cassandra/cql3/Term$Raw;)V
invokevirtual org.apache.cassandra.cql3.WhereClause$Builder.add:(Lorg/apache/cassandra/cql3/Relation;)Lorg/apache/cassandra/cql3/WhereClause$Builder;
pop
17: goto 21
18: StackMap locals: org.apache.cassandra.cql3.Term$Raw
StackMap stack:
new org.apache.cassandra.cql3.Operation$SetValue
dup
aload 12
invokespecial org.apache.cassandra.cql3.Operation$SetValue.<init>:(Lorg/apache/cassandra/cql3/Term$Raw;)V
aload 1
aload 10
invokevirtual org.apache.cassandra.cql3.Operation$SetValue.prepare:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/cql3/Operation;
astore 13
start local 13 19: aload 13
aload 2
invokevirtual org.apache.cassandra.cql3.Operation.collectMarkerSpecification:(Lorg/apache/cassandra/cql3/VariableSpecifications;)V
20: aload 8
aload 13
invokevirtual org.apache.cassandra.cql3.Operations.add:(Lorg/apache/cassandra/cql3/Operation;)V
end local 13 end local 12 end local 10 21: StackMap locals: org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.VariableSpecifications org.apache.cassandra.cql3.Conditions org.apache.cassandra.cql3.Attributes java.util.List org.apache.cassandra.cql3.Json$Prepared org.apache.cassandra.cql3.WhereClause$Builder org.apache.cassandra.cql3.Operations int top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
22: StackMap locals: org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson org.apache.cassandra.config.CFMetaData org.apache.cassandra.cql3.VariableSpecifications org.apache.cassandra.cql3.Conditions org.apache.cassandra.cql3.Attributes java.util.List org.apache.cassandra.cql3.Json$Prepared org.apache.cassandra.cql3.WhereClause$Builder org.apache.cassandra.cql3.Operations int
StackMap stack:
iload 9
ifne 23
aload 8
aload 3
invokestatic org.apache.cassandra.cql3.statements.UpdateStatement.appliesOnlyToStaticColumns:(Lorg/apache/cassandra/cql3/Operations;Lorg/apache/cassandra/cql3/Conditions;)Z
ifeq 23
iconst_1
goto 24
StackMap locals:
StackMap stack:
23: iconst_0
StackMap locals:
StackMap stack: int
24: istore 10
start local 10 25: new org.apache.cassandra.cql3.restrictions.StatementRestrictions
dup
aload 0
getfield org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson.type:Lorg/apache/cassandra/cql3/statements/StatementType;
26: aload 1
27: aload 7
invokevirtual org.apache.cassandra.cql3.WhereClause$Builder.build:()Lorg/apache/cassandra/cql3/WhereClause;
28: aload 2
29: iload 10
30: iconst_0
31: iconst_0
32: iconst_0
33: invokespecial org.apache.cassandra.cql3.restrictions.StatementRestrictions.<init>:(Lorg/apache/cassandra/cql3/statements/StatementType;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/cql3/WhereClause;Lorg/apache/cassandra/cql3/VariableSpecifications;ZZZZ)V
astore 11
start local 11 34: new org.apache.cassandra.cql3.statements.UpdateStatement
dup
aload 0
getfield org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson.type:Lorg/apache/cassandra/cql3/statements/StatementType;
35: aload 2
invokevirtual org.apache.cassandra.cql3.VariableSpecifications.size:()I
36: aload 1
37: aload 8
38: aload 11
39: aload 3
40: aload 4
41: invokespecial org.apache.cassandra.cql3.statements.UpdateStatement.<init>:(Lorg/apache/cassandra/cql3/statements/StatementType;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
areturn
end local 11 end local 10 end local 9 end local 8 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 42 0 this Lorg/apache/cassandra/cql3/statements/UpdateStatement$ParsedInsertJson;
0 42 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 42 2 boundNames Lorg/apache/cassandra/cql3/VariableSpecifications;
0 42 3 conditions Lorg/apache/cassandra/cql3/Conditions;
0 42 4 attrs Lorg/apache/cassandra/cql3/Attributes;
2 42 5 defs Ljava/util/List<Lorg/apache/cassandra/config/ColumnDefinition;>;
3 42 6 prepared Lorg/apache/cassandra/cql3/Json$Prepared;
4 42 7 whereClause Lorg/apache/cassandra/cql3/WhereClause$Builder;
5 42 8 operations Lorg/apache/cassandra/cql3/Operations;
6 42 9 hasClusteringColumnsSet Z
12 21 10 def Lorg/apache/cassandra/config/ColumnDefinition;
15 21 12 raw Lorg/apache/cassandra/cql3/Term$Raw;
19 21 13 operation Lorg/apache/cassandra/cql3/Operation;
25 42 10 applyOnlyToStaticColumns Z
34 42 11 restrictions Lorg/apache/cassandra/cql3/restrictions/StatementRestrictions;
MethodParameters:
Name Flags
cfm
boundNames
conditions
attrs
}
SourceFile: "UpdateStatement.java"
NestHost: org.apache.cassandra.cql3.statements.UpdateStatement
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 Prepared = org.apache.cassandra.cql3.Json$Prepared of org.apache.cassandra.cql3.Json
public abstract Raw = org.apache.cassandra.cql3.Json$Raw of org.apache.cassandra.cql3.Json
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 final Builder = org.apache.cassandra.cql3.WhereClause$Builder of org.apache.cassandra.cql3.WhereClause
public abstract Parsed = org.apache.cassandra.cql3.statements.ModificationStatement$Parsed of org.apache.cassandra.cql3.statements.ModificationStatement
public ParsedInsertJson = org.apache.cassandra.cql3.statements.UpdateStatement$ParsedInsertJson of org.apache.cassandra.cql3.statements.UpdateStatement