public class org.apache.cassandra.cql3.statements.CQL3CasRequest implements org.apache.cassandra.service.CASRequest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.CQL3CasRequest
super_class: java.lang.Object
{
public final org.apache.cassandra.config.CFMetaData cfm;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.db.DecoratedKey key;
descriptor: Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final boolean isBatch;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final org.apache.cassandra.db.PartitionColumns conditionColumns;
descriptor: Lorg/apache/cassandra/db/PartitionColumns;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean updatesRegularRows;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean updatesStaticRow;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean hasExists;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition staticConditions;
descriptor: Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
flags: (0x0002) ACC_PRIVATE
private final java.util.TreeMap<org.apache.cassandra.db.Clustering, org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition> conditions;
descriptor: Ljava/util/TreeMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/TreeMap<Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;>;
private final java.util.List<org.apache.cassandra.cql3.statements.CQL3CasRequest$RowUpdate> updates;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowUpdate;>;
private final java.util.List<org.apache.cassandra.cql3.statements.CQL3CasRequest$RangeDeletion> rangeDeletions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RangeDeletion;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.cql3.statements.CQL3CasRequest.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.DecoratedKey, boolean, org.apache.cassandra.db.PartitionColumns, boolean, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;ZLorg/apache/cassandra/db/PartitionColumns;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.updates:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.rangeDeletions:Ljava/util/List;
3: aload 0
aload 1
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.cfm:Lorg/apache/cassandra/config/CFMetaData;
4: aload 0
aload 2
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.key:Lorg/apache/cassandra/db/DecoratedKey;
5: aload 0
new java.util.TreeMap
dup
aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditions:Ljava/util/TreeMap;
6: aload 0
iload 3
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.isBatch:Z
7: aload 0
aload 4
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditionColumns:Lorg/apache/cassandra/db/PartitionColumns;
8: aload 0
iload 5
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.updatesRegularRows:Z
9: aload 0
iload 6
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.updatesStaticRow:Z
10: 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 11 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 11 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 11 2 key Lorg/apache/cassandra/db/DecoratedKey;
0 11 3 isBatch Z
0 11 4 conditionColumns Lorg/apache/cassandra/db/PartitionColumns;
0 11 5 updatesRegularRows Z
0 11 6 updatesStaticRow Z
MethodParameters:
Name Flags
cfm
key
isBatch
conditionColumns
updatesRegularRows
updatesStaticRow
public void addRowUpdate(org.apache.cassandra.db.Clustering, org.apache.cassandra.cql3.statements.ModificationStatement, org.apache.cassandra.cql3.QueryOptions, long);
descriptor: (Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/cql3/statements/ModificationStatement;Lorg/apache/cassandra/cql3/QueryOptions;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.updates:Ljava/util/List;
new org.apache.cassandra.cql3.statements.CQL3CasRequest$RowUpdate
dup
aload 0
aload 1
aload 2
aload 3
lload 4
invokespecial org.apache.cassandra.cql3.statements.CQL3CasRequest$RowUpdate.<init>:(Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/cql3/statements/ModificationStatement;Lorg/apache/cassandra/cql3/QueryOptions;J)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 2 1 clustering Lorg/apache/cassandra/db/Clustering;
0 2 2 stmt Lorg/apache/cassandra/cql3/statements/ModificationStatement;
0 2 3 options Lorg/apache/cassandra/cql3/QueryOptions;
0 2 4 timestamp J
MethodParameters:
Name Flags
clustering
stmt
options
timestamp
public void addRangeDeletion(org.apache.cassandra.db.Slice, org.apache.cassandra.cql3.statements.ModificationStatement, org.apache.cassandra.cql3.QueryOptions, long);
descriptor: (Lorg/apache/cassandra/db/Slice;Lorg/apache/cassandra/cql3/statements/ModificationStatement;Lorg/apache/cassandra/cql3/QueryOptions;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.rangeDeletions:Ljava/util/List;
new org.apache.cassandra.cql3.statements.CQL3CasRequest$RangeDeletion
dup
aload 0
aload 1
aload 2
aload 3
lload 4
invokespecial org.apache.cassandra.cql3.statements.CQL3CasRequest$RangeDeletion.<init>:(Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;Lorg/apache/cassandra/db/Slice;Lorg/apache/cassandra/cql3/statements/ModificationStatement;Lorg/apache/cassandra/cql3/QueryOptions;J)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 2 1 slice Lorg/apache/cassandra/db/Slice;
0 2 2 stmt Lorg/apache/cassandra/cql3/statements/ModificationStatement;
0 2 3 options Lorg/apache/cassandra/cql3/QueryOptions;
0 2 4 timestamp J
MethodParameters:
Name Flags
slice
stmt
options
timestamp
public void addNotExist(org.apache.cassandra.db.Clustering);
descriptor: (Lorg/apache/cassandra/db/Clustering;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new org.apache.cassandra.cql3.statements.CQL3CasRequest$NotExistCondition
dup
aload 1
invokespecial org.apache.cassandra.cql3.statements.CQL3CasRequest$NotExistCondition.<init>:(Lorg/apache/cassandra/db/Clustering;)V
iconst_1
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest.addExistsCondition:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 2 1 clustering Lorg/apache/cassandra/db/Clustering;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
clustering
public void addExist(org.apache.cassandra.db.Clustering);
descriptor: (Lorg/apache/cassandra/db/Clustering;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new org.apache.cassandra.cql3.statements.CQL3CasRequest$ExistCondition
dup
aload 1
invokespecial org.apache.cassandra.cql3.statements.CQL3CasRequest$ExistCondition.<init>:(Lorg/apache/cassandra/db/Clustering;)V
iconst_0
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest.addExistsCondition:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 2 1 clustering Lorg/apache/cassandra/db/Clustering;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
clustering
private void addExistsCondition(org.apache.cassandra.db.Clustering, org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition, boolean);
descriptor: (Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.cassandra.cql3.statements.CQL3CasRequest.$assertionsDisabled:Z
ifne 1
aload 2
instanceof org.apache.cassandra.cql3.statements.CQL3CasRequest$ExistCondition
ifne 1
aload 2
instanceof org.apache.cassandra.cql3.statements.CQL3CasRequest$NotExistCondition
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest.getConditionsForRow:(Lorg/apache/cassandra/db/Clustering;)Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
astore 4
start local 4 2: aload 4
ifnull 12
3: aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
4: getstatic org.apache.cassandra.cql3.statements.CQL3CasRequest.$assertionsDisabled:Z
ifne 5
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.hasExists:Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 4
instanceof org.apache.cassandra.cql3.statements.CQL3CasRequest$NotExistCondition
ifne 7
aload 4
instanceof org.apache.cassandra.cql3.statements.CQL3CasRequest$ExistCondition
ifeq 8
7: StackMap locals:
StackMap stack:
new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot mix IF EXISTS and IF NOT EXISTS conditions for the same row"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
goto 11
8: StackMap locals:
StackMap stack:
new org.apache.cassandra.exceptions.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "Cannot mix IF conditions and IF "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
ifeq 9
ldc "NOT "
goto 10
StackMap locals: org.apache.cassandra.cql3.statements.CQL3CasRequest org.apache.cassandra.db.Clustering org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition int org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition
StackMap stack: new 8 new 8 java.lang.StringBuilder
9: ldc ""
StackMap locals: org.apache.cassandra.cql3.statements.CQL3CasRequest org.apache.cassandra.db.Clustering org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition int org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition
StackMap stack: new 8 new 8 java.lang.StringBuilder java.lang.String
10: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "EXISTS for the same row"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.InvalidRequestException
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest.setConditionsForRow:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;)V
13: aload 0
iconst_1
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.hasExists:Z
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 15 1 clustering Lorg/apache/cassandra/db/Clustering;
0 15 2 condition Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
0 15 3 isNotExist Z
2 15 4 previous Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
MethodParameters:
Name Flags
clustering
condition
isNotExist
public void addConditions(org.apache.cassandra.db.Clustering, java.util.Collection<org.apache.cassandra.cql3.ColumnCondition>, org.apache.cassandra.cql3.QueryOptions);
descriptor: (Lorg/apache/cassandra/db/Clustering;Ljava/util/Collection;Lorg/apache/cassandra/cql3/QueryOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest.getConditionsForRow:(Lorg/apache/cassandra/db/Clustering;)Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
astore 4
start local 4 1: aload 4
ifnonnull 5
2: new org.apache.cassandra.cql3.statements.CQL3CasRequest$ColumnsConditions
dup
aload 1
invokespecial org.apache.cassandra.cql3.statements.CQL3CasRequest$ColumnsConditions.<init>:(Lorg/apache/cassandra/db/Clustering;)V
astore 4
3: aload 0
aload 1
aload 4
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest.setConditionsForRow:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;)V
4: goto 7
5: StackMap locals: org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition
StackMap stack:
aload 4
instanceof org.apache.cassandra.cql3.statements.CQL3CasRequest$ColumnsConditions
ifne 7
6: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot mix IF conditions and IF NOT EXISTS for the same row"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 4
checkcast org.apache.cassandra.cql3.statements.CQL3CasRequest$ColumnsConditions
aload 2
aload 3
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest$ColumnsConditions.addConditions:(Ljava/util/Collection;Lorg/apache/cassandra/cql3/QueryOptions;)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 9 1 clustering Lorg/apache/cassandra/db/Clustering;
0 9 2 conds Ljava/util/Collection<Lorg/apache/cassandra/cql3/ColumnCondition;>;
0 9 3 options Lorg/apache/cassandra/cql3/QueryOptions;
1 9 4 condition Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/db/Clustering;Ljava/util/Collection<Lorg/apache/cassandra/cql3/ColumnCondition;>;Lorg/apache/cassandra/cql3/QueryOptions;)V
MethodParameters:
Name Flags
clustering
conds
options
private org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition getConditionsForRow(org.apache.cassandra.db.Clustering);
descriptor: (Lorg/apache/cassandra/db/Clustering;)Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpne 1
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.staticConditions:Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditions:Ljava/util/TreeMap;
aload 1
invokevirtual java.util.TreeMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition
StackMap locals:
StackMap stack: org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 3 1 clustering Lorg/apache/cassandra/db/Clustering;
MethodParameters:
Name Flags
clustering
private void setConditionsForRow(org.apache.cassandra.db.Clustering, org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition);
descriptor: (Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpne 4
1: getstatic org.apache.cassandra.cql3.statements.CQL3CasRequest.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.staticConditions:Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
ifnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.apache.cassandra.cql3.statements.CQL3CasRequest.staticConditions:Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditions:Ljava/util/TreeMap;
aload 1
aload 2
invokevirtual java.util.TreeMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition
astore 3
start local 3 5: getstatic org.apache.cassandra.cql3.statements.CQL3CasRequest.$assertionsDisabled:Z
ifne 6
aload 3
ifnull 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 7 1 clustering Lorg/apache/cassandra/db/Clustering;
0 7 2 condition Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
5 6 3 previous Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
MethodParameters:
Name Flags
clustering
condition
private org.apache.cassandra.db.PartitionColumns columnsToRead();
descriptor: ()Lorg/apache/cassandra/db/PartitionColumns;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
astore 1
start local 1 1: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.updatesStaticRow:Z
ifeq 2
aload 1
getfield org.apache.cassandra.db.PartitionColumns.statics:Lorg/apache/cassandra/db/Columns;
goto 3
StackMap locals: org.apache.cassandra.db.PartitionColumns
StackMap stack:
2: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditionColumns:Lorg/apache/cassandra/db/PartitionColumns;
getfield org.apache.cassandra.db.PartitionColumns.statics:Lorg/apache/cassandra/db/Columns;
StackMap locals:
StackMap stack: org.apache.cassandra.db.Columns
3: astore 2
start local 2 4: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.updatesRegularRows:Z
ifeq 5
aload 1
getfield org.apache.cassandra.db.PartitionColumns.regulars:Lorg/apache/cassandra/db/Columns;
goto 6
StackMap locals: org.apache.cassandra.db.Columns
StackMap stack:
5: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditionColumns:Lorg/apache/cassandra/db/PartitionColumns;
getfield org.apache.cassandra.db.PartitionColumns.regulars:Lorg/apache/cassandra/db/Columns;
StackMap locals:
StackMap stack: org.apache.cassandra.db.Columns
6: astore 3
start local 3 7: new org.apache.cassandra.db.PartitionColumns
dup
aload 2
aload 3
invokespecial org.apache.cassandra.db.PartitionColumns.<init>:(Lorg/apache/cassandra/db/Columns;Lorg/apache/cassandra/db/Columns;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
1 8 1 allColumns Lorg/apache/cassandra/db/PartitionColumns;
4 8 2 statics Lorg/apache/cassandra/db/Columns;
7 8 3 regulars Lorg/apache/cassandra/db/Columns;
public org.apache.cassandra.db.SinglePartitionReadCommand readCommand(int);
descriptor: (I)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.cql3.statements.CQL3CasRequest.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.staticConditions:Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
ifnonnull 1
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditions:Ljava/util/TreeMap;
invokevirtual java.util.TreeMap.isEmpty:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest.columnsToRead:()Lorg/apache/cassandra/db/PartitionColumns;
invokestatic org.apache.cassandra.db.filter.ColumnFilter.selection:(Lorg/apache/cassandra/db/PartitionColumns;)Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 2
start local 2 2: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditions:Ljava/util/TreeMap;
invokevirtual java.util.TreeMap.isEmpty:()Z
ifeq 11
3: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.cfm:Lorg/apache/cassandra/config/CFMetaData;
4: iload 1
5: aload 2
6: getstatic org.apache.cassandra.db.filter.RowFilter.NONE:Lorg/apache/cassandra/db/filter/RowFilter;
7: iconst_1
invokestatic org.apache.cassandra.db.filter.DataLimits.cqlLimits:(I)Lorg/apache/cassandra/db/filter/DataLimits;
8: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.key:Lorg/apache/cassandra/db/DecoratedKey;
9: new org.apache.cassandra.db.filter.ClusteringIndexSliceFilter
dup
getstatic org.apache.cassandra.db.Slices.ALL:Lorg/apache/cassandra/db/Slices;
iconst_0
invokespecial org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.<init>:(Lorg/apache/cassandra/db/Slices;Z)V
10: invokestatic org.apache.cassandra.db.SinglePartitionReadCommand.create:(Lorg/apache/cassandra/config/CFMetaData;ILorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/filter/RowFilter;Lorg/apache/cassandra/db/filter/DataLimits;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
areturn
11: StackMap locals: org.apache.cassandra.db.filter.ColumnFilter
StackMap stack:
new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditions:Ljava/util/TreeMap;
invokevirtual java.util.TreeMap.navigableKeySet:()Ljava/util/NavigableSet;
iconst_0
invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
astore 3
start local 3 12: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.cfm:Lorg/apache/cassandra/config/CFMetaData;
iload 1
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.key:Lorg/apache/cassandra/db/DecoratedKey;
aload 2
aload 3
invokestatic org.apache.cassandra.db.SinglePartitionReadCommand.create:(Lorg/apache/cassandra/config/CFMetaData;ILorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;)Lorg/apache/cassandra/db/SinglePartitionReadCommand;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 13 1 nowInSec I
2 13 2 columnFilter Lorg/apache/cassandra/db/filter/ColumnFilter;
12 13 3 filter Lorg/apache/cassandra/db/filter/ClusteringIndexNamesFilter;
MethodParameters:
Name Flags
nowInSec
public boolean appliesTo(org.apache.cassandra.db.partitions.FilteredPartition);
descriptor: (Lorg/apache/cassandra/db/partitions/FilteredPartition;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.staticConditions:Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
ifnull 2
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.staticConditions:Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
aload 1
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition.appliesTo:(Lorg/apache/cassandra/db/partitions/FilteredPartition;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditions:Ljava/util/TreeMap;
invokevirtual java.util.TreeMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.apache.cassandra.cql3.statements.CQL3CasRequest org.apache.cassandra.db.partitions.FilteredPartition top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition
astore 2
start local 2 4: aload 2
aload 1
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition.appliesTo:(Lorg/apache/cassandra/db/partitions/FilteredPartition;)Z
ifne 6
5: iconst_0
ireturn
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 8 1 current Lorg/apache/cassandra/db/partitions/FilteredPartition;
4 6 2 condition Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowCondition;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
current
private org.apache.cassandra.db.PartitionColumns updatedColumns();
descriptor: ()Lorg/apache/cassandra/db/PartitionColumns;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: invokestatic org.apache.cassandra.db.PartitionColumns.builder:()Lorg/apache/cassandra/db/PartitionColumns$Builder;
astore 1
start local 1 1: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.updates:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.cassandra.cql3.statements.CQL3CasRequest org.apache.cassandra.db.PartitionColumns$Builder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.CQL3CasRequest$RowUpdate
astore 2
start local 2 3: aload 1
aload 2
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest$RowUpdate.stmt:Lorg/apache/cassandra/cql3/statements/ModificationStatement;
invokevirtual org.apache.cassandra.cql3.statements.ModificationStatement.updatedColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.PartitionColumns$Builder.addAll:(Lorg/apache/cassandra/db/PartitionColumns;)Lorg/apache/cassandra/db/PartitionColumns$Builder;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual org.apache.cassandra.db.PartitionColumns$Builder.build:()Lorg/apache/cassandra/db/PartitionColumns;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
1 6 1 builder Lorg/apache/cassandra/db/PartitionColumns$Builder;
3 4 2 upd Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowUpdate;
public org.apache.cassandra.db.partitions.PartitionUpdate makeUpdates(org.apache.cassandra.db.partitions.FilteredPartition);
descriptor: (Lorg/apache/cassandra/db/partitions/FilteredPartition;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.db.partitions.PartitionUpdate
dup
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.cfm:Lorg/apache/cassandra/config/CFMetaData;
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.key:Lorg/apache/cassandra/db/DecoratedKey;
aload 0
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest.updatedColumns:()Lorg/apache/cassandra/db/PartitionColumns;
aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.conditions:Ljava/util/TreeMap;
invokevirtual java.util.TreeMap.size:()I
invokespecial org.apache.cassandra.db.partitions.PartitionUpdate.<init>:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/PartitionColumns;I)V
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.updates:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.cql3.statements.CQL3CasRequest org.apache.cassandra.db.partitions.FilteredPartition org.apache.cassandra.db.partitions.PartitionUpdate top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.CQL3CasRequest$RowUpdate
astore 3
start local 3 3: aload 3
aload 1
aload 2
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest$RowUpdate.applyUpdates:(Lorg/apache/cassandra/db/partitions/FilteredPartition;Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.rangeDeletions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals:
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.CQL3CasRequest$RangeDeletion
astore 3
start local 3 7: aload 3
aload 1
aload 2
invokevirtual org.apache.cassandra.cql3.statements.CQL3CasRequest$RangeDeletion.applyUpdates:(Lorg/apache/cassandra/db/partitions/FilteredPartition;Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 0
getfield org.apache.cassandra.cql3.statements.CQL3CasRequest.cfm:Lorg/apache/cassandra/config/CFMetaData;
invokestatic org.apache.cassandra.db.Keyspace.openAndGetStore:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
aload 2
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.validate:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
10: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/cql3/statements/CQL3CasRequest;
0 11 1 current Lorg/apache/cassandra/db/partitions/FilteredPartition;
1 11 2 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
3 4 3 upd Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RowUpdate;
7 8 3 upd Lorg/apache/cassandra/cql3/statements/CQL3CasRequest$RangeDeletion;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
current
}
SourceFile: "CQL3CasRequest.java"
NestMembers:
org.apache.cassandra.cql3.statements.CQL3CasRequest$ColumnsConditions org.apache.cassandra.cql3.statements.CQL3CasRequest$ExistCondition org.apache.cassandra.cql3.statements.CQL3CasRequest$NotExistCondition org.apache.cassandra.cql3.statements.CQL3CasRequest$RangeDeletion org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition org.apache.cassandra.cql3.statements.CQL3CasRequest$RowUpdate
InnerClasses:
private ColumnsConditions = org.apache.cassandra.cql3.statements.CQL3CasRequest$ColumnsConditions of org.apache.cassandra.cql3.statements.CQL3CasRequest
private ExistCondition = org.apache.cassandra.cql3.statements.CQL3CasRequest$ExistCondition of org.apache.cassandra.cql3.statements.CQL3CasRequest
private NotExistCondition = org.apache.cassandra.cql3.statements.CQL3CasRequest$NotExistCondition of org.apache.cassandra.cql3.statements.CQL3CasRequest
private RangeDeletion = org.apache.cassandra.cql3.statements.CQL3CasRequest$RangeDeletion of org.apache.cassandra.cql3.statements.CQL3CasRequest
private abstract RowCondition = org.apache.cassandra.cql3.statements.CQL3CasRequest$RowCondition of org.apache.cassandra.cql3.statements.CQL3CasRequest
private RowUpdate = org.apache.cassandra.cql3.statements.CQL3CasRequest$RowUpdate of org.apache.cassandra.cql3.statements.CQL3CasRequest
public Builder = org.apache.cassandra.db.PartitionColumns$Builder of org.apache.cassandra.db.PartitionColumns