final class org.apache.cassandra.cql3.statements.UpdatesCollector
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.cql3.statements.UpdatesCollector
super_class: java.lang.Object
{
private final java.util.Map<java.util.UUID, org.apache.cassandra.db.PartitionColumns> updatedColumns;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/util/UUID;Lorg/apache/cassandra/db/PartitionColumns;>;
private final int updatedRows;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.util.Map<java.nio.ByteBuffer, org.apache.cassandra.db.IMutation>> mutations;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/IMutation;>;>;
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/UpdatesCollector;
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.UpdatesCollector.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.Map<java.util.UUID, org.apache.cassandra.db.PartitionColumns>, );
descriptor: (Ljava/util/Map;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.cassandra.cql3.statements.UpdatesCollector.mutations:Ljava/util/Map;
2: aload 0
aload 1
putfield org.apache.cassandra.cql3.statements.UpdatesCollector.updatedColumns:Ljava/util/Map;
3: aload 0
iload 2
putfield org.apache.cassandra.cql3.statements.UpdatesCollector.updatedRows:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/statements/UpdatesCollector;
0 5 1 updatedColumns Ljava/util/Map<Ljava/util/UUID;Lorg/apache/cassandra/db/PartitionColumns;>;
0 5 2 updatedRows I
Signature: (Ljava/util/Map<Ljava/util/UUID;Lorg/apache/cassandra/db/PartitionColumns;>;I)V
MethodParameters:
Name Flags
updatedColumns
updatedRows
public org.apache.cassandra.db.partitions.PartitionUpdate getPartitionUpdate(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.DecoratedKey, org.apache.cassandra.db.ConsistencyLevel);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/ConsistencyLevel;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.apache.cassandra.cql3.statements.UpdatesCollector.getMutation:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/ConsistencyLevel;)Lorg/apache/cassandra/db/Mutation;
astore 4
start local 4 1: aload 4
aload 1
invokevirtual org.apache.cassandra.db.Mutation.get:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
astore 5
start local 5 2: aload 5
ifnonnull 7
3: aload 0
getfield org.apache.cassandra.cql3.statements.UpdatesCollector.updatedColumns:Ljava/util/Map;
aload 1
getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.db.PartitionColumns
astore 6
start local 6 4: getstatic org.apache.cassandra.cql3.statements.UpdatesCollector.$assertionsDisabled:Z
ifne 5
aload 6
ifnonnull 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.apache.cassandra.db.Mutation org.apache.cassandra.db.partitions.PartitionUpdate org.apache.cassandra.db.PartitionColumns
StackMap stack:
new org.apache.cassandra.db.partitions.PartitionUpdate
dup
aload 1
aload 2
aload 6
aload 0
getfield org.apache.cassandra.cql3.statements.UpdatesCollector.updatedRows: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 5
6: aload 4
aload 5
invokevirtual org.apache.cassandra.db.Mutation.add:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)Lorg/apache/cassandra/db/Mutation;
pop
end local 6 7: StackMap locals:
StackMap stack:
aload 5
areturn
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 8 0 this Lorg/apache/cassandra/cql3/statements/UpdatesCollector;
0 8 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 8 2 dk Lorg/apache/cassandra/db/DecoratedKey;
0 8 3 consistency Lorg/apache/cassandra/db/ConsistencyLevel;
1 8 4 mut Lorg/apache/cassandra/db/Mutation;
2 8 5 upd Lorg/apache/cassandra/db/partitions/PartitionUpdate;
4 7 6 columns Lorg/apache/cassandra/db/PartitionColumns;
MethodParameters:
Name Flags
cfm
dk
consistency
public void validateIndexedColumns();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.statements.UpdatesCollector.mutations:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 9
StackMap locals: org.apache.cassandra.cql3.statements.UpdatesCollector top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
astore 1
start local 1 2: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.apache.cassandra.cql3.statements.UpdatesCollector java.util.Map java.util.Iterator top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.IMutation
astore 3
start local 3 4: aload 3
invokeinterface org.apache.cassandra.db.IMutation.getPartitionUpdates:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.apache.cassandra.cql3.statements.UpdatesCollector java.util.Map java.util.Iterator org.apache.cassandra.db.IMutation java.util.Iterator top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.partitions.PartitionUpdate
astore 5
start local 5 6: aload 5
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.metadata:()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 5
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.validate:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 8: StackMap locals: org.apache.cassandra.cql3.statements.UpdatesCollector java.util.Map java.util.Iterator top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 1 9: StackMap locals: org.apache.cassandra.cql3.statements.UpdatesCollector top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/cql3/statements/UpdatesCollector;
2 9 1 perKsMutations Ljava/util/Map<Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/IMutation;>;
4 8 3 mutation Lorg/apache/cassandra/db/IMutation;
6 7 5 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
private org.apache.cassandra.db.Mutation getMutation(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.DecoratedKey, org.apache.cassandra.db.ConsistencyLevel);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/ConsistencyLevel;)Lorg/apache/cassandra/db/Mutation;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
astore 4
start local 4 1: aload 0
aload 4
invokevirtual org.apache.cassandra.cql3.statements.UpdatesCollector.keyspaceMap:(Ljava/lang/String;)Ljava/util/Map;
aload 2
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.db.IMutation
astore 5
start local 5 2: aload 5
ifnonnull 9
3: new org.apache.cassandra.db.Mutation
dup
aload 4
aload 2
invokespecial org.apache.cassandra.db.Mutation.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/DecoratedKey;)V
astore 6
start local 6 4: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 5
new org.apache.cassandra.db.CounterMutation
dup
aload 6
aload 3
invokespecial org.apache.cassandra.db.CounterMutation.<init>:(Lorg/apache/cassandra/db/Mutation;Lorg/apache/cassandra/db/ConsistencyLevel;)V
goto 6
StackMap locals: java.lang.String org.apache.cassandra.db.IMutation org.apache.cassandra.db.Mutation
StackMap stack:
5: aload 6
StackMap locals:
StackMap stack: org.apache.cassandra.db.IMutation
6: astore 5
7: aload 0
aload 4
invokevirtual org.apache.cassandra.cql3.statements.UpdatesCollector.keyspaceMap:(Ljava/lang/String;)Ljava/util/Map;
aload 2
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 6
areturn
end local 6 9: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 10
aload 5
checkcast org.apache.cassandra.db.CounterMutation
invokevirtual org.apache.cassandra.db.CounterMutation.getMutation:()Lorg/apache/cassandra/db/Mutation;
goto 11
StackMap locals:
StackMap stack:
10: aload 5
checkcast org.apache.cassandra.db.Mutation
StackMap locals:
StackMap stack: org.apache.cassandra.db.Mutation
11: areturn
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 12 0 this Lorg/apache/cassandra/cql3/statements/UpdatesCollector;
0 12 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 12 2 dk Lorg/apache/cassandra/db/DecoratedKey;
0 12 3 consistency Lorg/apache/cassandra/db/ConsistencyLevel;
1 12 4 ksName Ljava/lang/String;
2 12 5 mutation Lorg/apache/cassandra/db/IMutation;
4 9 6 mut Lorg/apache/cassandra/db/Mutation;
MethodParameters:
Name Flags
cfm
dk
consistency
public java.util.Collection<org.apache.cassandra.db.IMutation> toMutations();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cql3.statements.UpdatesCollector.mutations:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iconst_1
if_icmpne 2
1: aload 0
getfield org.apache.cassandra.cql3.statements.UpdatesCollector.mutations:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.values:()Ljava/util/Collection;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: aload 0
getfield org.apache.cassandra.cql3.statements.UpdatesCollector.mutations:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.apache.cassandra.cql3.statements.UpdatesCollector java.util.List top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 5: aload 1
aload 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/cql3/statements/UpdatesCollector;
3 8 1 ms Ljava/util/List<Lorg/apache/cassandra/db/IMutation;>;
5 6 2 ksMap Ljava/util/Map<Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/IMutation;>;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/db/IMutation;>;
private java.util.Map<java.nio.ByteBuffer, org.apache.cassandra.db.IMutation> keyspaceMap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cql3.statements.UpdatesCollector.mutations:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
3: aload 0
getfield org.apache.cassandra.cql3.statements.UpdatesCollector.mutations:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: java.util.Map
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cql3/statements/UpdatesCollector;
0 5 1 ksName Ljava/lang/String;
1 5 2 ksMap Ljava/util/Map<Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/IMutation;>;
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/IMutation;>;
MethodParameters:
Name Flags
ksName
}
SourceFile: "UpdatesCollector.java"