public class org.apache.cassandra.thrift.CassandraServer implements org.apache.cassandra.thrift.Cassandra$Iface
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.thrift.CassandraServer
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int COUNT_PAGE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private static final java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn> EMPTY_COLUMNS;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
private final org.apache.cassandra.scheduler.IRequestScheduler requestScheduler;
descriptor: Lorg/apache/cassandra/scheduler/IRequestScheduler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$db$Conflicts$Resolution;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$thrift$Compression;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/thrift/CassandraServer;
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.thrift.CassandraServer.$assertionsDisabled:Z
3: ldc Lorg/apache/cassandra/thrift/CassandraServer;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
4: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putstatic org.apache.cassandra.thrift.CassandraServer.EMPTY_COLUMNS:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRequestScheduler:()Lorg/apache/cassandra/scheduler/IRequestScheduler;
putfield org.apache.cassandra.thrift.CassandraServer.requestScheduler:Lorg/apache/cassandra/scheduler/IRequestScheduler;
2: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.registerMetrics:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/thrift/CassandraServer;
public org.apache.cassandra.thrift.ThriftClientState state();
descriptor: ()Lorg/apache/cassandra/thrift/ThriftClientState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.thrift.ThriftSessionManager.instance:Lorg/apache/cassandra/thrift/ThriftSessionManager;
invokevirtual org.apache.cassandra.thrift.ThriftSessionManager.currentSession:()Lorg/apache/cassandra/thrift/ThriftClientState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
protected org.apache.cassandra.db.partitions.PartitionIterator read(java.util.List<org.apache.cassandra.db.SinglePartitionReadCommand>, org.apache.cassandra.db.ConsistencyLevel, org.apache.cassandra.service.ClientState, long);
descriptor: (Ljava/util/List;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Lorg/apache/cassandra/db/partitions/PartitionIterator;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getReadRpcTimeout:()J
invokevirtual org.apache.cassandra.thrift.CassandraServer.schedule:(J)V
1: new org.apache.cassandra.db.SinglePartitionReadCommand$Group
dup
aload 1
getstatic org.apache.cassandra.db.filter.DataLimits.NONE:Lorg/apache/cassandra/db/filter/DataLimits;
invokespecial org.apache.cassandra.db.SinglePartitionReadCommand$Group.<init>:(Ljava/util/List;Lorg/apache/cassandra/db/filter/DataLimits;)V
aload 2
aload 3
lload 4
invokestatic org.apache.cassandra.service.StorageProxy.read:(Lorg/apache/cassandra/db/SinglePartitionReadCommand$Group;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Lorg/apache/cassandra/db/partitions/PartitionIterator;
astore 7
2: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
3: aload 7
areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
5: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
6: aload 6
athrow
7: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
astore 6
start local 6 8: aload 6
invokestatic org.apache.cassandra.thrift.ThriftConversion.rethrow:(Lorg/apache/cassandra/exceptions/RequestExecutionException;)Ljava/lang/RuntimeException;
athrow
end local 6 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/thrift/CassandraServer;
0 9 1 commands Ljava/util/List<Lorg/apache/cassandra/db/SinglePartitionReadCommand;>;
0 9 2 consistency_level Lorg/apache/cassandra/db/ConsistencyLevel;
0 9 3 cState Lorg/apache/cassandra/service/ClientState;
0 9 4 queryStartNanoTime J
8 9 6 e Lorg/apache/cassandra/exceptions/RequestExecutionException;
Exception table:
from to target type
1 2 4 any
0 3 7 Class org.apache.cassandra.exceptions.RequestExecutionException
4 7 7 Class org.apache.cassandra.exceptions.RequestExecutionException
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/SinglePartitionReadCommand;>;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Lorg/apache/cassandra/db/partitions/PartitionIterator;
MethodParameters:
Name Flags
commands
consistency_level
cState
queryStartNanoTime
public java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn> thriftifyColumns(org.apache.cassandra.config.CFMetaData, java.util.Iterator<org.apache.cassandra.db.LegacyLayout$LegacyCell>);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: goto 4
2: StackMap locals: java.util.ArrayList
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.LegacyLayout$LegacyCell
astore 4
start local 4 3: aload 3
aload 0
aload 1
aload 4
aload 4
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
aload 1
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCellName.encode:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyColumnWithName:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 4 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 6 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 6 2 cells Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
1 6 3 thriftColumns Ljava/util/ArrayList<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
3 4 4 cell Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
Signature: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;)Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
MethodParameters:
Name Flags
metadata
cells
private org.apache.cassandra.thrift.ColumnOrSuperColumn thriftifyColumnWithName(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.LegacyLayout$LegacyCell, java.nio.ByteBuffer);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCell.isCounter:()Z
ifeq 2
1: new org.apache.cassandra.thrift.ColumnOrSuperColumn
dup
invokespecial org.apache.cassandra.thrift.ColumnOrSuperColumn.<init>:()V
aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifySubCounter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;)Lorg/apache/cassandra/thrift/CounterColumn;
aload 3
invokevirtual org.apache.cassandra.thrift.CounterColumn.setName:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/CounterColumn;
invokevirtual org.apache.cassandra.thrift.ColumnOrSuperColumn.setCounter_column:(Lorg/apache/cassandra/thrift/CounterColumn;)Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
areturn
2: StackMap locals:
StackMap stack:
new org.apache.cassandra.thrift.ColumnOrSuperColumn
dup
invokespecial org.apache.cassandra.thrift.ColumnOrSuperColumn.<init>:()V
aload 0
aload 2
aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifySubColumn:(Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/Column;
invokevirtual org.apache.cassandra.thrift.ColumnOrSuperColumn.setColumn:(Lorg/apache/cassandra/thrift/Column;)Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 3 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 3 2 cell Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
0 3 3 newName Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
metadata
cell
newName
private org.apache.cassandra.thrift.Column thriftifySubColumn(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.LegacyLayout$LegacyCell);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;)Lorg/apache/cassandra/thrift/Column;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
aload 1
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCellName.encode:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifySubColumn:(Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/Column;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 1 2 cell Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
MethodParameters:
Name Flags
metadata
cell
private org.apache.cassandra.thrift.Column thriftifySubColumn(org.apache.cassandra.db.LegacyLayout$LegacyCell, java.nio.ByteBuffer);
descriptor: (Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/Column;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.thrift.CassandraServer.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCell.isCounter:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.apache.cassandra.thrift.Column
dup
aload 2
invokespecial org.apache.cassandra.thrift.Column.<init>:(Ljava/nio/ByteBuffer;)V
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.value:Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.thrift.Column.setValue:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/Column;
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.timestamp:J
invokevirtual org.apache.cassandra.thrift.Column.setTimestamp:(J)Lorg/apache/cassandra/thrift/Column;
astore 3
start local 3 2: aload 1
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCell.isExpiring:()Z
ifeq 4
3: aload 3
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.ttl:I
invokevirtual org.apache.cassandra.thrift.Column.setTtl:(I)Lorg/apache/cassandra/thrift/Column;
pop
4: StackMap locals: org.apache.cassandra.thrift.Column
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 5 1 cell Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
0 5 2 name Ljava/nio/ByteBuffer;
2 5 3 thrift_column Lorg/apache/cassandra/thrift/Column;
MethodParameters:
Name Flags
cell
name
private java.util.List<org.apache.cassandra.thrift.Column> thriftifyColumnsAsColumns(org.apache.cassandra.config.CFMetaData, java.util.Iterator<org.apache.cassandra.db.LegacyLayout$LegacyCell>);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: goto 3
2: StackMap locals: java.util.List
StackMap stack:
aload 3
aload 0
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.LegacyLayout$LegacyCell
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifySubColumn:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;)Lorg/apache/cassandra/thrift/Column;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
4: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 5 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 5 2 cells Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
1 5 3 thriftColumns Ljava/util/List<Lorg/apache/cassandra/thrift/Column;>;
Signature: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;)Ljava/util/List<Lorg/apache/cassandra/thrift/Column;>;
MethodParameters:
Name Flags
metadata
cells
private org.apache.cassandra.thrift.CounterColumn thriftifySubCounter(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.LegacyLayout$LegacyCell);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;)Lorg/apache/cassandra/thrift/CounterColumn;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.thrift.CassandraServer.$assertionsDisabled:Z
ifne 1
aload 2
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCell.isCounter:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.apache.cassandra.thrift.CounterColumn
dup
aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
aload 1
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCellName.encode:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.context.CounterContext.instance:()Lorg/apache/cassandra/db/context/CounterContext;
aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.value:Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.context.CounterContext.total:(Ljava/nio/ByteBuffer;)J
invokespecial org.apache.cassandra.thrift.CounterColumn.<init>:(Ljava/nio/ByteBuffer;J)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 2 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 2 2 cell Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
MethodParameters:
Name Flags
metadata
cell
private java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn> thriftifySuperColumns(org.apache.cassandra.config.CFMetaData, java.util.Iterator<org.apache.cassandra.db.LegacyLayout$LegacyCell>, boolean, boolean, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator;ZZZ)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
ifeq 9
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 2: goto 5
3: StackMap locals: java.util.ArrayList
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.LegacyLayout$LegacyCell
astore 7
start local 7 4: aload 6
aload 0
aload 1
aload 7
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCellName.superColumnSubName:()Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyColumnWithName:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 7 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: iload 5
ifeq 8
7: aload 6
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
8: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 9: StackMap locals:
StackMap stack:
iload 4
ifeq 11
10: aload 0
aload 1
aload 2
iload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyCounterSuperColumns:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator;Z)Ljava/util/List;
areturn
11: StackMap locals:
StackMap stack:
aload 0
aload 2
iload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifySuperColumns:(Ljava/util/Iterator;Z)Ljava/util/List;
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/thrift/CassandraServer;
0 12 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 12 2 cells Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
0 12 3 subcolumnsOnly Z
0 12 4 isCounterCF Z
0 12 5 reversed Z
2 9 6 thriftSuperColumns Ljava/util/ArrayList<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
4 5 7 cell Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
Signature: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;ZZZ)Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
MethodParameters:
Name Flags
metadata
cells
subcolumnsOnly
isCounterCF
reversed
private java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn> thriftifySuperColumns(java.util.Iterator<org.apache.cassandra.db.LegacyLayout$LegacyCell>, boolean);
descriptor: (Ljava/util/Iterator;Z)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: goto 11
3: StackMap locals: java.util.ArrayList org.apache.cassandra.thrift.SuperColumn
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.LegacyLayout$LegacyCell
astore 5
start local 5 4: aload 5
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCellName.superColumnName:()Ljava/nio/ByteBuffer;
astore 6
start local 6 5: aload 4
ifnull 6
aload 6
aload 4
invokevirtual org.apache.cassandra.thrift.SuperColumn.bufferForName:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.equals:(Ljava/lang/Object;)Z
ifne 10
6: StackMap locals: org.apache.cassandra.db.LegacyLayout$LegacyCell java.nio.ByteBuffer
StackMap stack:
aload 4
ifnull 8
iload 2
ifeq 8
7: aload 4
getfield org.apache.cassandra.thrift.SuperColumn.columns:Ljava/util/List;
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
8: StackMap locals:
StackMap stack:
new org.apache.cassandra.thrift.SuperColumn
dup
aload 6
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokespecial org.apache.cassandra.thrift.SuperColumn.<init>:(Ljava/nio/ByteBuffer;Ljava/util/List;)V
astore 4
9: aload 3
new org.apache.cassandra.thrift.ColumnOrSuperColumn
dup
invokespecial org.apache.cassandra.thrift.ColumnOrSuperColumn.<init>:()V
aload 4
invokevirtual org.apache.cassandra.thrift.ColumnOrSuperColumn.setSuper_column:(Lorg/apache/cassandra/thrift/SuperColumn;)Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
10: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.apache.cassandra.thrift.SuperColumn.getColumns:()Ljava/util/List;
aload 0
aload 5
aload 5
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCellName.superColumnSubName:()Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifySubColumn:(Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/Column;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
12: aload 4
ifnull 14
iload 2
ifeq 14
13: aload 4
getfield org.apache.cassandra.thrift.SuperColumn.columns:Ljava/util/List;
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
14: StackMap locals:
StackMap stack:
aload 3
areturn
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/thrift/CassandraServer;
0 15 1 cells Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
0 15 2 reversed Z
1 15 3 thriftSuperColumns Ljava/util/ArrayList<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
2 15 4 current Lorg/apache/cassandra/thrift/SuperColumn;
4 11 5 cell Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
5 11 6 scName Ljava/nio/ByteBuffer;
Signature: (Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;Z)Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
MethodParameters:
Name Flags
cells
reversed
private java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn> thriftifyCounterSuperColumns(org.apache.cassandra.config.CFMetaData, java.util.Iterator<org.apache.cassandra.db.LegacyLayout$LegacyCell>, boolean);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator;Z)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: goto 11
3: StackMap locals: java.util.ArrayList org.apache.cassandra.thrift.CounterSuperColumn
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.LegacyLayout$LegacyCell
astore 6
start local 6 4: aload 6
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCellName.superColumnName:()Ljava/nio/ByteBuffer;
astore 7
start local 7 5: aload 5
ifnull 6
aload 7
aload 5
invokevirtual org.apache.cassandra.thrift.CounterSuperColumn.bufferForName:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.equals:(Ljava/lang/Object;)Z
ifne 10
6: StackMap locals: org.apache.cassandra.db.LegacyLayout$LegacyCell java.nio.ByteBuffer
StackMap stack:
aload 5
ifnull 8
iload 3
ifeq 8
7: aload 5
getfield org.apache.cassandra.thrift.CounterSuperColumn.columns:Ljava/util/List;
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
8: StackMap locals:
StackMap stack:
new org.apache.cassandra.thrift.CounterSuperColumn
dup
aload 7
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokespecial org.apache.cassandra.thrift.CounterSuperColumn.<init>:(Ljava/nio/ByteBuffer;Ljava/util/List;)V
astore 5
9: aload 4
new org.apache.cassandra.thrift.ColumnOrSuperColumn
dup
invokespecial org.apache.cassandra.thrift.ColumnOrSuperColumn.<init>:()V
aload 5
invokevirtual org.apache.cassandra.thrift.ColumnOrSuperColumn.setCounter_super_column:(Lorg/apache/cassandra/thrift/CounterSuperColumn;)Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
10: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.apache.cassandra.thrift.CounterSuperColumn.getColumns:()Ljava/util/List;
aload 0
aload 1
aload 6
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifySubCounter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;)Lorg/apache/cassandra/thrift/CounterColumn;
aload 6
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCellName.superColumnSubName:()Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.thrift.CounterColumn.setName:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/thrift/CounterColumn;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
12: aload 4
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 13 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 13 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 13 2 cells Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
0 13 3 reversed Z
1 13 4 thriftSuperColumns Ljava/util/ArrayList<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
2 13 5 current Lorg/apache/cassandra/thrift/CounterSuperColumn;
4 11 6 cell Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
5 11 7 scName Ljava/nio/ByteBuffer;
Signature: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;Z)Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
MethodParameters:
Name Flags
metadata
cells
reversed
private java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn> thriftifyPartition(org.apache.cassandra.db.rows.RowIterator, boolean, boolean, int);
descriptor: (Lorg/apache/cassandra/db/rows/RowIterator;ZZI)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokeinterface org.apache.cassandra.db.rows.RowIterator.isEmpty:()Z
ifeq 2
1: getstatic org.apache.cassandra.thrift.CassandraServer.EMPTY_COLUMNS:Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.cassandra.db.LegacyLayout.fromRowIterator:(Lorg/apache/cassandra/db/rows/RowIterator;)Lorg/apache/cassandra/utils/Pair;
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.util.Iterator
astore 5
start local 5 3: aload 1
invokeinterface org.apache.cassandra.db.rows.RowIterator.metadata:()Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 7
4: aload 1
invokeinterface org.apache.cassandra.db.rows.RowIterator.metadata:()Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
istore 7
start local 7 5: aload 0
aload 1
invokeinterface org.apache.cassandra.db.rows.RowIterator.metadata:()Lorg/apache/cassandra/config/CFMetaData;
aload 5
iload 2
iload 7
iload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifySuperColumns:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator;ZZZ)Ljava/util/List;
astore 6
end local 7 start local 6 6: goto 8
end local 6 7: StackMap locals: java.util.Iterator
StackMap stack:
aload 0
aload 1
invokeinterface org.apache.cassandra.db.rows.RowIterator.metadata:()Lorg/apache/cassandra/config/CFMetaData;
aload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyColumns:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator;)Ljava/util/List;
astore 6
start local 6 8: StackMap locals: java.util.List
StackMap stack:
aload 6
invokeinterface java.util.List.size:()I
iload 4
if_icmple 10
9: aload 6
iconst_0
iload 4
invokeinterface java.util.List.subList:(II)Ljava/util/List;
goto 11
10: StackMap locals:
StackMap stack:
aload 6
11: StackMap locals:
StackMap stack: java.util.List
areturn
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 12 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 12 1 partition Lorg/apache/cassandra/db/rows/RowIterator;
0 12 2 subcolumnsOnly Z
0 12 3 reversed Z
0 12 4 cellLimit I
3 12 5 cells Ljava/util/Iterator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
6 7 6 result Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
8 12 6 result Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
5 6 7 isCounterCF Z
Signature: (Lorg/apache/cassandra/db/rows/RowIterator;ZZI)Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
MethodParameters:
Name Flags
partition
subcolumnsOnly
reversed
cellLimit
private java.util.Map<java.nio.ByteBuffer, java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn>> getSlice(java.util.List<org.apache.cassandra.db.SinglePartitionReadCommand>, boolean, int, org.apache.cassandra.db.ConsistencyLevel, org.apache.cassandra.service.ClientState, long);
descriptor: (Ljava/util/List;ZILorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=16, 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: aconst_null
astore 8
aconst_null
astore 9
1: aload 0
aload 1
aload 4
aload 5
lload 6
invokevirtual org.apache.cassandra.thrift.CassandraServer.read:(Ljava/util/List;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Lorg/apache/cassandra/db/partitions/PartitionIterator;
astore 10
start local 10 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 11
start local 11 3: goto 14
4: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List int int org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.service.ClientState long java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator java.util.Map
StackMap stack:
aconst_null
astore 12
aconst_null
astore 13
5: aload 10
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.RowIterator
astore 14
start local 14 6: aload 0
aload 14
iload 2
aload 14
invokeinterface org.apache.cassandra.db.rows.RowIterator.isReverseOrder:()Z
iload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyPartition:(Lorg/apache/cassandra/db/rows/RowIterator;ZZI)Ljava/util/List;
astore 15
start local 15 7: aload 11
aload 14
invokeinterface org.apache.cassandra.db.rows.RowIterator.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
aload 15
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 15 8: aload 14
ifnull 14
aload 14
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
goto 14
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List int int org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.service.ClientState long java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator java.util.Map java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator
StackMap stack: java.lang.Throwable
9: astore 12
aload 14
ifnull 10
aload 14
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
end local 14 StackMap locals:
StackMap stack:
10: aload 12
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 13
aload 12
ifnonnull 12
aload 13
astore 12
goto 13
StackMap locals:
StackMap stack:
12: aload 12
aload 13
if_acmpeq 13
aload 12
aload 13
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 12
athrow
14: StackMap locals:
StackMap stack:
aload 10
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.hasNext:()Z
ifne 4
15: aload 11
16: aload 10
ifnull 17
aload 10
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
17: StackMap locals:
StackMap stack: java.util.Map
areturn
end local 11 StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List int int org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.service.ClientState long java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator
StackMap stack: java.lang.Throwable
18: astore 8
19: aload 10
ifnull 20
aload 10
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
end local 10 StackMap locals:
StackMap stack:
20: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 9
aload 8
ifnonnull 22
aload 9
astore 8
goto 23
StackMap locals:
StackMap stack:
22: aload 8
aload 9
if_acmpeq 23
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 8
athrow
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 24 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 24 1 commands Ljava/util/List<Lorg/apache/cassandra/db/SinglePartitionReadCommand;>;
0 24 2 subColumnsOnly Z
0 24 3 cellLimit I
0 24 4 consistency_level Lorg/apache/cassandra/db/ConsistencyLevel;
0 24 5 cState Lorg/apache/cassandra/service/ClientState;
0 24 6 queryStartNanoTime J
2 20 10 results Lorg/apache/cassandra/db/partitions/PartitionIterator;
3 18 11 columnFamiliesMap Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;>;
6 10 14 iter Lorg/apache/cassandra/db/rows/RowIterator;
7 8 15 thriftifiedColumns Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
Exception table:
from to target type
6 8 9 any
5 11 11 any
2 16 18 any
1 17 21 any
18 21 21 any
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/SinglePartitionReadCommand;>;ZILorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;>;
MethodParameters:
Name Flags
commands
subColumnsOnly
cellLimit
consistency_level
cState
queryStartNanoTime
public java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn> get_slice(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 9
2: ldc "key"
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
3: ldc "column_parent"
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.toString:()Ljava/lang/String;
4: ldc "predicate"
aload 3
invokevirtual org.apache.cassandra.thrift.SlicePredicate.toString:()Ljava/lang/String;
5: ldc "consistency_level"
aload 4
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
6: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 7
start local 7 7: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "get_slice"
aload 7
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 7 8: goto 10
9: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "get_slice"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 11: aload 7
invokevirtual org.apache.cassandra.service.ClientState.getKeyspace:()Ljava/lang/String;
astore 8
start local 8 12: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
13: aload 0
aload 8
aload 1
aload 2
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
aload 3
aload 4
aload 7
lload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.getSliceInternal:(Ljava/lang/String;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;ILorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/List;
astore 9
start local 9 14: aload 9
ifnonnull 15
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
goto 16
StackMap locals: org.apache.cassandra.service.ClientState java.lang.String java.util.List
StackMap stack:
15: aload 9
StackMap locals:
StackMap stack: java.util.List
16: astore 11
17: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
18: aload 11
areturn
end local 9 end local 8 end local 7 19: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 7
start local 7 20: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 7 21: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
22: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
23: aload 10
athrow
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 24 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 24 1 key Ljava/nio/ByteBuffer;
0 24 2 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 24 3 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
0 24 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 24 5 queryStartNanoTime J
7 8 7 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
11 19 7 cState Lorg/apache/cassandra/service/ClientState;
12 19 8 keyspace Ljava/lang/String;
14 19 9 result Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
20 21 7 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
10 17 19 Class org.apache.cassandra.exceptions.RequestValidationException
10 17 21 any
19 21 21 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
MethodParameters:
Name Flags
key
column_parent
predicate
consistency_level
private java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn> getSliceInternal(java.lang.String, java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnParent, int, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.ConsistencyLevel, org.apache.cassandra.service.ClientState, long);
descriptor: (Ljava/lang/String;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;ILorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=10, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
aload 2
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
aload 3
iload 4
aload 5
aload 6
aload 7
lload 8
invokevirtual org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal:(Ljava/lang/String;Ljava/util/List;Lorg/apache/cassandra/thrift/ColumnParent;ILorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
areturn
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 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 keyspace Ljava/lang/String;
0 1 2 key Ljava/nio/ByteBuffer;
0 1 3 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 1 4 nowInSec I
0 1 5 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
0 1 6 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
0 1 7 cState Lorg/apache/cassandra/service/ClientState;
0 1 8 queryStartNanoTime J
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/lang/String;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;ILorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
MethodParameters:
Name Flags
keyspace
key
column_parent
nowInSec
predicate
consistency_level
cState
queryStartNanoTime
public java.util.Map<java.nio.ByteBuffer, java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn>> multiget_slice(java.util.List<java.nio.ByteBuffer>, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/util/List;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 14
2: invokestatic com.google.common.collect.Lists.newArrayList:()Ljava/util/ArrayList;
astore 7
start local 7 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 6
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long java.util.List top java.util.Iterator
StackMap stack:
4: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 8
start local 8 5: aload 7
aload 8
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 6: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: ldc "keys"
aload 7
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
8: ldc "column_parent"
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.toString:()Ljava/lang/String;
9: ldc "predicate"
aload 3
invokevirtual org.apache.cassandra.thrift.SlicePredicate.toString:()Ljava/lang/String;
10: ldc "consistency_level"
aload 4
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
11: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 8
start local 8 12: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "multiget_slice"
aload 8
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 8 end local 7 13: goto 15
14: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "multiget_slice"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 16: aload 7
invokevirtual org.apache.cassandra.service.ClientState.getKeyspace:()Ljava/lang/String;
astore 8
start local 8 17: aload 7
aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.service.ClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
18: aload 0
aload 8
aload 1
aload 2
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
aload 3
aload 4
aload 7
lload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal:(Ljava/lang/String;Ljava/util/List;Lorg/apache/cassandra/thrift/ColumnParent;ILorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/Map;
astore 10
19: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
20: aload 10
areturn
end local 8 end local 7 21: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 7
start local 7 22: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 7 23: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
24: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
25: aload 9
athrow
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 26 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 26 1 keys Ljava/util/List<Ljava/nio/ByteBuffer;>;
0 26 2 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 26 3 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
0 26 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 26 5 queryStartNanoTime J
3 13 7 keysList Ljava/util/List<Ljava/lang/String;>;
5 6 8 key Ljava/nio/ByteBuffer;
12 13 8 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
16 21 7 cState Lorg/apache/cassandra/service/ClientState;
17 21 8 keyspace Ljava/lang/String;
22 23 7 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
15 19 21 Class org.apache.cassandra.exceptions.RequestValidationException
15 19 23 any
21 23 23 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;>;
MethodParameters:
Name Flags
keys
column_parent
predicate
consistency_level
private org.apache.cassandra.db.filter.ClusteringIndexFilter toInternalFilter(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SliceRange);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 2
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
ifeq 2
1: new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.bufferForSuper_column:()Ljava/nio/ByteBuffer;
aastore
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokestatic org.apache.cassandra.utils.FBUtilities.singleton:(Ljava/lang/Object;Ljava/util/Comparator;)Ljava/util/NavigableSet;
aload 3
getfield org.apache.cassandra.thrift.SliceRange.reversed:Z
invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
areturn
2: StackMap locals:
StackMap stack:
new org.apache.cassandra.db.filter.ClusteringIndexSliceFilter
dup
aload 0
aload 1
aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeSlices:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/Slices;
aload 3
getfield org.apache.cassandra.thrift.SliceRange.reversed:Z
invokespecial org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.<init>:(Lorg/apache/cassandra/db/Slices;Z)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 3 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 3 2 parent Lorg/apache/cassandra/thrift/ColumnParent;
0 3 3 range Lorg/apache/cassandra/thrift/SliceRange;
MethodParameters:
Name Flags
metadata
parent
range
private org.apache.cassandra.db.Slices makeSlices(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.SliceRange);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/Slices;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield org.apache.cassandra.thrift.SliceRange.reversed:Z
ifeq 1
aload 2
getfield org.apache.cassandra.thrift.SliceRange.finish:Ljava/nio/ByteBuffer;
goto 2
StackMap locals:
StackMap stack:
1: aload 2
getfield org.apache.cassandra.thrift.SliceRange.start:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
2: astore 3
start local 3 3: aload 2
getfield org.apache.cassandra.thrift.SliceRange.reversed:Z
ifeq 4
aload 2
getfield org.apache.cassandra.thrift.SliceRange.start:Ljava/nio/ByteBuffer;
goto 5
StackMap locals: java.nio.ByteBuffer
StackMap stack:
4: aload 2
getfield org.apache.cassandra.thrift.SliceRange.finish:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
5: astore 4
start local 4 6: aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 1
aload 3
iconst_1
invokestatic org.apache.cassandra.db.LegacyLayout.decodeSliceBound:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Z)Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
aload 1
aload 4
iconst_0
invokestatic org.apache.cassandra.db.LegacyLayout.decodeSliceBound:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Z)Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokestatic org.apache.cassandra.db.Slice.make:(Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;)Lorg/apache/cassandra/db/Slice;
invokestatic org.apache.cassandra.db.Slices.with:(Lorg/apache/cassandra/db/ClusteringComparator;Lorg/apache/cassandra/db/Slice;)Lorg/apache/cassandra/db/Slices;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 7 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 7 2 range Lorg/apache/cassandra/thrift/SliceRange;
3 7 3 start Ljava/nio/ByteBuffer;
6 7 4 finish Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
metadata
range
private org.apache.cassandra.db.filter.ClusteringIndexFilter toInternalFilter(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SlicePredicate);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.column_names:Ljava/util/List;
ifnull 21
1: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 12
2: aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
ifeq 5
3: new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.bufferForSuper_column:()Ljava/nio/ByteBuffer;
aastore
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokestatic org.apache.cassandra.utils.FBUtilities.singleton:(Ljava/lang/Object;Ljava/util/Comparator;)Ljava/util/NavigableSet;
iconst_0
invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
4: areturn
5: StackMap locals:
StackMap stack:
new java.util.TreeSet
dup
aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 4
start local 4 6: aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.column_names:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate java.util.NavigableSet top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 5
start local 5 8: aload 4
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 5
aastore
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
invokeinterface java.util.NavigableSet.add:(Ljava/lang/Object;)Z
pop
end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
aload 4
iconst_0
invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
11: areturn
end local 4 12: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate
StackMap stack:
new java.util.TreeSet
dup
aload 1
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 4
start local 4 13: aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.column_names:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 18
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate java.util.NavigableSet top java.util.Iterator
StackMap stack:
14: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 5
start local 5 15: aload 1
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.bufferForSuper_column:()Ljava/nio/ByteBuffer;
aload 5
invokestatic org.apache.cassandra.db.LegacyLayout.decodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
astore 7
start local 7 16: aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 18
17: aload 4
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
invokeinterface java.util.NavigableSet.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 18: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
19: new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
aload 4
iconst_0
invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
20: areturn
end local 4 21: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate
StackMap stack:
aload 0
aload 1
aload 2
aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.slice_range:Lorg/apache/cassandra/thrift/SliceRange;
invokevirtual org.apache.cassandra.thrift.CassandraServer.toInternalFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
22: areturn
23: StackMap locals:
StackMap stack: org.apache.cassandra.db.UnknownColumnException
astore 4
start local 4 24: new org.apache.cassandra.exceptions.InvalidRequestException
dup
aload 4
invokevirtual org.apache.cassandra.db.UnknownColumnException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 25 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 25 2 parent Lorg/apache/cassandra/thrift/ColumnParent;
0 25 3 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
6 12 4 clusterings Ljava/util/NavigableSet<Lorg/apache/cassandra/db/Clustering;>;
8 9 5 bb Ljava/nio/ByteBuffer;
13 21 4 clusterings Ljava/util/NavigableSet<Lorg/apache/cassandra/db/Clustering;>;
15 18 5 bb Ljava/nio/ByteBuffer;
16 18 7 name Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
24 25 4 e Lorg/apache/cassandra/db/UnknownColumnException;
Exception table:
from to target type
0 4 23 Class org.apache.cassandra.db.UnknownColumnException
5 11 23 Class org.apache.cassandra.db.UnknownColumnException
12 20 23 Class org.apache.cassandra.db.UnknownColumnException
21 22 23 Class org.apache.cassandra.db.UnknownColumnException
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
metadata
parent
predicate
private org.apache.cassandra.db.filter.ColumnFilter makeColumnFilter(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SliceRange);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/filter/ColumnFilter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 27
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
ifeq 27
1: invokestatic org.apache.cassandra.db.filter.ColumnFilter.selectionBuilder:()Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
astore 4
start local 4 2: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.compactValueColumn:()Lorg/apache/cassandra/config/ColumnDefinition;
astore 5
start local 5 3: aload 3
getfield org.apache.cassandra.thrift.SliceRange.reversed:Z
ifeq 4
aload 3
getfield org.apache.cassandra.thrift.SliceRange.finish:Ljava/nio/ByteBuffer;
goto 5
StackMap locals: org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition
StackMap stack:
4: aload 3
getfield org.apache.cassandra.thrift.SliceRange.start:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
5: astore 6
start local 6 6: aload 3
getfield org.apache.cassandra.thrift.SliceRange.reversed:Z
ifeq 7
aload 3
getfield org.apache.cassandra.thrift.SliceRange.start:Ljava/nio/ByteBuffer;
goto 8
StackMap locals: java.nio.ByteBuffer
StackMap stack:
7: aload 3
getfield org.apache.cassandra.thrift.SliceRange.finish:Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
8: astore 7
start local 7 9: aload 4
aload 5
aload 6
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 10
aload 6
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
goto 11
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition java.nio.ByteBuffer java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition
10: getstatic org.apache.cassandra.db.rows.CellPath.BOTTOM:Lorg/apache/cassandra/db/rows/CellPath;
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition java.nio.ByteBuffer java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition org.apache.cassandra.db.rows.CellPath
11: aload 7
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 12
aload 7
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
goto 13
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition java.nio.ByteBuffer java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition org.apache.cassandra.db.rows.CellPath
12: getstatic org.apache.cassandra.db.rows.CellPath.TOP:Lorg/apache/cassandra/db/rows/CellPath;
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition java.nio.ByteBuffer java.nio.ByteBuffer
StackMap stack: org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition org.apache.cassandra.db.rows.CellPath org.apache.cassandra.db.rows.CellPath
13: invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.slice:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
14: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isDense:()Z
ifeq 16
15: aload 4
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.build:()Lorg/apache/cassandra/db/filter/ColumnFilter;
areturn
16: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.thriftColumnNameType:()Lorg/apache/cassandra/db/marshal/AbstractType;
astore 8
start local 8 17: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
invokevirtual org.apache.cassandra.db.PartitionColumns.iterator:()Ljava/util/Iterator;
astore 10
goto 25
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.db.marshal.AbstractType top java.util.Iterator
StackMap stack:
18: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 9
start local 9 19: aload 9
invokestatic org.apache.cassandra.cql3.SuperColumnCompatibility.isSuperColumnMapColumn:(Lorg/apache/cassandra/config/ColumnDefinition;)Z
ifeq 21
20: goto 25
21: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.db.marshal.AbstractType org.apache.cassandra.config.ColumnDefinition java.util.Iterator
StackMap stack:
aload 9
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
astore 11
start local 11 22: aload 8
aload 11
aload 6
invokevirtual org.apache.cassandra.db.marshal.AbstractType.compare:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
iflt 25
aload 8
aload 7
aload 11
invokevirtual org.apache.cassandra.db.marshal.AbstractType.compare:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
ifle 24
23: goto 25
24: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 4
aload 9
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
end local 11 end local 9 25: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.db.marshal.AbstractType top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
26: aload 4
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.build:()Lorg/apache/cassandra/db/filter/ColumnFilter;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 27: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SliceRange
StackMap stack:
aload 0
aload 1
aload 0
aload 1
aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeSlices:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/Slices;
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeColumnFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/Slices;)Lorg/apache/cassandra/db/filter/ColumnFilter;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 28 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 28 2 parent Lorg/apache/cassandra/thrift/ColumnParent;
0 28 3 range Lorg/apache/cassandra/thrift/SliceRange;
2 27 4 builder Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
3 27 5 def Lorg/apache/cassandra/config/ColumnDefinition;
6 27 6 start Ljava/nio/ByteBuffer;
9 27 7 finish Ljava/nio/ByteBuffer;
17 27 8 cmp Lorg/apache/cassandra/db/marshal/AbstractType<*>;
19 25 9 column Lorg/apache/cassandra/config/ColumnDefinition;
22 25 11 name Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
metadata
parent
range
private org.apache.cassandra.db.filter.ColumnFilter makeColumnFilter(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.Slices);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/Slices;)Lorg/apache/cassandra/db/filter/ColumnFilter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.partitionColumns:()Lorg/apache/cassandra/db/PartitionColumns;
astore 3
start local 3 1: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isStaticCompactTable:()Z
ifeq 10
aload 3
getfield org.apache.cassandra.db.PartitionColumns.statics:Lorg/apache/cassandra/db/Columns;
invokevirtual org.apache.cassandra.db.Columns.isEmpty:()Z
ifne 10
2: invokestatic org.apache.cassandra.db.PartitionColumns.builder:()Lorg/apache/cassandra/db/PartitionColumns$Builder;
astore 4
start local 4 3: aload 4
aload 3
getfield org.apache.cassandra.db.PartitionColumns.regulars:Lorg/apache/cassandra/db/Columns;
invokevirtual org.apache.cassandra.db.PartitionColumns$Builder.addAll:(Ljava/lang/Iterable;)Lorg/apache/cassandra/db/PartitionColumns$Builder;
pop
4: aload 3
getfield org.apache.cassandra.db.PartitionColumns.statics:Lorg/apache/cassandra/db/Columns;
invokevirtual org.apache.cassandra.db.Columns.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Slices org.apache.cassandra.db.PartitionColumns org.apache.cassandra.db.PartitionColumns$Builder top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.config.ColumnDefinition
astore 5
start local 5 6: aload 2
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 5
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
aastore
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
invokevirtual org.apache.cassandra.db.Slices.selects:(Lorg/apache/cassandra/db/Clustering;)Z
ifeq 8
7: aload 4
aload 5
invokevirtual org.apache.cassandra.db.PartitionColumns$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/PartitionColumns$Builder;
pop
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: aload 4
invokevirtual org.apache.cassandra.db.PartitionColumns$Builder.build:()Lorg/apache/cassandra/db/PartitionColumns;
astore 3
end local 4 10: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Slices org.apache.cassandra.db.PartitionColumns
StackMap stack:
aload 3
invokestatic org.apache.cassandra.db.filter.ColumnFilter.selection:(Lorg/apache/cassandra/db/PartitionColumns;)Lorg/apache/cassandra/db/filter/ColumnFilter;
areturn
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/thrift/CassandraServer;
0 11 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 11 2 slices Lorg/apache/cassandra/db/Slices;
1 11 3 columns Lorg/apache/cassandra/db/PartitionColumns;
3 10 4 builder Lorg/apache/cassandra/db/PartitionColumns$Builder;
6 8 5 def Lorg/apache/cassandra/config/ColumnDefinition;
MethodParameters:
Name Flags
metadata
slices
private org.apache.cassandra.db.filter.ColumnFilter makeColumnFilter(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SlicePredicate);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/ColumnFilter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.column_names:Ljava/util/List;
ifnull 26
1: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 16
2: aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
ifeq 14
3: invokestatic org.apache.cassandra.db.filter.ColumnFilter.selectionBuilder:()Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
astore 4
start local 4 4: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.compactValueColumn:()Lorg/apache/cassandra/config/ColumnDefinition;
astore 5
start local 5 5: aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.column_names:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 6
start local 6 7: aload 1
aload 6
invokevirtual org.apache.cassandra.config.CFMetaData.getColumnDefinition:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/config/ColumnDefinition;
astore 8
start local 8 8: aload 8
ifnonnull 10
9: aload 4
aload 5
aload 6
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.select:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
goto 11
10: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition java.nio.ByteBuffer java.util.Iterator org.apache.cassandra.config.ColumnDefinition
StackMap stack:
aload 4
aload 8
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
end local 8 end local 6 11: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
12: aload 4
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.build:()Lorg/apache/cassandra/db/filter/ColumnFilter;
13: areturn
end local 5 end local 4 14: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate
StackMap stack:
aload 1
invokestatic org.apache.cassandra.db.filter.ColumnFilter.all:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/filter/ColumnFilter;
15: areturn
16: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.db.PartitionColumns.builder:()Lorg/apache/cassandra/db/PartitionColumns$Builder;
astore 4
start local 4 17: aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.column_names:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 21
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.db.PartitionColumns$Builder top java.util.Iterator
StackMap stack:
18: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 5
start local 5 19: aload 1
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.bufferForSuper_column:()Ljava/nio/ByteBuffer;
aload 5
invokestatic org.apache.cassandra.db.LegacyLayout.decodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
astore 7
start local 7 20: aload 4
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.column:Lorg/apache/cassandra/config/ColumnDefinition;
invokevirtual org.apache.cassandra.db.PartitionColumns$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/PartitionColumns$Builder;
pop
end local 7 end local 5 21: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
22: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isStaticCompactTable:()Z
ifeq 24
23: aload 4
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.compactValueColumn:()Lorg/apache/cassandra/config/ColumnDefinition;
invokevirtual org.apache.cassandra.db.PartitionColumns$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/PartitionColumns$Builder;
pop
24: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.db.PartitionColumns$Builder
StackMap stack:
aload 4
invokevirtual org.apache.cassandra.db.PartitionColumns$Builder.build:()Lorg/apache/cassandra/db/PartitionColumns;
invokestatic org.apache.cassandra.db.filter.ColumnFilter.selection:(Lorg/apache/cassandra/db/PartitionColumns;)Lorg/apache/cassandra/db/filter/ColumnFilter;
25: areturn
end local 4 26: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.slice_range:Lorg/apache/cassandra/thrift/SliceRange;
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeColumnFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/filter/ColumnFilter;
27: areturn
28: StackMap locals:
StackMap stack: org.apache.cassandra.db.UnknownColumnException
astore 4
start local 4 29: new org.apache.cassandra.exceptions.InvalidRequestException
dup
aload 4
invokevirtual org.apache.cassandra.db.UnknownColumnException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 30 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 30 2 parent Lorg/apache/cassandra/thrift/ColumnParent;
0 30 3 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
4 14 4 builder Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
5 14 5 dynamicDef Lorg/apache/cassandra/config/ColumnDefinition;
7 11 6 bb Ljava/nio/ByteBuffer;
8 11 8 staticDef Lorg/apache/cassandra/config/ColumnDefinition;
17 26 4 builder Lorg/apache/cassandra/db/PartitionColumns$Builder;
19 21 5 bb Ljava/nio/ByteBuffer;
20 21 7 name Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
29 30 4 e Lorg/apache/cassandra/db/UnknownColumnException;
Exception table:
from to target type
0 13 28 Class org.apache.cassandra.db.UnknownColumnException
14 15 28 Class org.apache.cassandra.db.UnknownColumnException
16 25 28 Class org.apache.cassandra.db.UnknownColumnException
26 27 28 Class org.apache.cassandra.db.UnknownColumnException
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
metadata
parent
predicate
private org.apache.cassandra.db.filter.DataLimits getLimits(int, boolean, org.apache.cassandra.thrift.SlicePredicate);
descriptor: (IZLorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/DataLimits;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.slice_range:Lorg/apache/cassandra/thrift/SliceRange;
ifnonnull 1
ldc 2147483647
goto 2
StackMap locals:
StackMap stack:
1: aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.slice_range:Lorg/apache/cassandra/thrift/SliceRange;
getfield org.apache.cassandra.thrift.SliceRange.count:I
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 0
iload 1
iload 2
iload 4
invokevirtual org.apache.cassandra.thrift.CassandraServer.getLimits:(IZI)Lorg/apache/cassandra/db/filter/DataLimits;
areturn
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/thrift/CassandraServer;
0 4 1 partitionLimit I
0 4 2 countSuperColumns Z
0 4 3 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
3 4 4 cellsPerPartition I
MethodParameters:
Name Flags
partitionLimit
countSuperColumns
predicate
private org.apache.cassandra.db.filter.DataLimits getLimits(int, boolean, int);
descriptor: (IZI)Lorg/apache/cassandra/db/filter/DataLimits;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
ifeq 2
1: iload 1
iload 3
invokestatic org.apache.cassandra.db.filter.DataLimits.superColumnCountingLimits:(II)Lorg/apache/cassandra/db/filter/DataLimits;
goto 3
2: StackMap locals:
StackMap stack:
iload 1
iload 3
invokestatic org.apache.cassandra.db.filter.DataLimits.thriftLimits:(II)Lorg/apache/cassandra/db/filter/DataLimits;
3: StackMap locals:
StackMap stack: org.apache.cassandra.db.filter.DataLimits
areturn
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/thrift/CassandraServer;
0 4 1 partitionLimit I
0 4 2 countSuperColumns Z
0 4 3 perPartitionCount I
MethodParameters:
Name Flags
partitionLimit
countSuperColumns
perPartitionCount
private java.util.Map<java.nio.ByteBuffer, java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn>> multigetSliceInternal(java.lang.String, java.util.List<java.nio.ByteBuffer>, org.apache.cassandra.thrift.ColumnParent, int, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.ConsistencyLevel, org.apache.cassandra.service.ClientState, long);
descriptor: (Ljava/lang/String;Ljava/util/List;Lorg/apache/cassandra/thrift/ColumnParent;ILorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=19, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 1
aload 3
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 10
start local 10 1: aload 10
aload 3
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnParent:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;)V
2: aload 10
aload 3
aload 5
invokestatic org.apache.cassandra.thrift.ThriftValidation.validatePredicate:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)V
3: aload 6
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
astore 11
start local 11 4: aload 11
aload 1
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateForRead:(Ljava/lang/String;)V
5: new java.util.ArrayList
dup
aload 2
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 12
start local 12 6: aload 0
aload 10
aload 3
aload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeColumnFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 13
start local 13 7: aload 0
aload 10
aload 3
aload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.toInternalFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
astore 14
start local 14 8: aload 0
iconst_1
aload 10
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 9
aload 3
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
ifne 9
iconst_1
goto 10
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String java.util.List org.apache.cassandra.thrift.ColumnParent int org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel org.apache.cassandra.service.ClientState long org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel java.util.List org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter
StackMap stack: org.apache.cassandra.thrift.CassandraServer int
9: iconst_0
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String java.util.List org.apache.cassandra.thrift.ColumnParent int org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel org.apache.cassandra.service.ClientState long org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel java.util.List org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter
StackMap stack: org.apache.cassandra.thrift.CassandraServer int int
10: aload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.getLimits:(IZLorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/DataLimits;
astore 15
start local 15 11: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 17
goto 16
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String java.util.List org.apache.cassandra.thrift.ColumnParent int org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel org.apache.cassandra.service.ClientState long org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel java.util.List org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.filter.DataLimits top java.util.Iterator
StackMap stack:
12: aload 17
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 16
start local 16 13: aload 10
aload 16
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKey:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)V
14: aload 10
aload 16
invokevirtual org.apache.cassandra.config.CFMetaData.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 18
start local 18 15: aload 12
iconst_1
aload 10
iload 4
aload 13
getstatic org.apache.cassandra.db.filter.RowFilter.NONE:Lorg/apache/cassandra/db/filter/RowFilter;
aload 15
aload 18
aload 14
invokestatic org.apache.cassandra.db.SinglePartitionReadCommand.create:(ZLorg/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;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 18 end local 16 16: StackMap locals:
StackMap stack:
aload 17
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
17: aload 0
aload 12
aload 3
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
aload 15
invokevirtual org.apache.cassandra.db.filter.DataLimits.perPartitionCount:()I
aload 11
aload 7
lload 8
invokevirtual org.apache.cassandra.thrift.CassandraServer.getSlice:(Ljava/util/List;ZILorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/Map;
areturn
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 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 18 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 18 1 keyspace Ljava/lang/String;
0 18 2 keys Ljava/util/List<Ljava/nio/ByteBuffer;>;
0 18 3 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 18 4 nowInSec I
0 18 5 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
0 18 6 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
0 18 7 cState Lorg/apache/cassandra/service/ClientState;
0 18 8 queryStartNanoTime J
1 18 10 metadata Lorg/apache/cassandra/config/CFMetaData;
4 18 11 consistencyLevel Lorg/apache/cassandra/db/ConsistencyLevel;
6 18 12 commands Ljava/util/List<Lorg/apache/cassandra/db/SinglePartitionReadCommand;>;
7 18 13 columnFilter Lorg/apache/cassandra/db/filter/ColumnFilter;
8 18 14 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
11 18 15 limits Lorg/apache/cassandra/db/filter/DataLimits;
13 16 16 key Ljava/nio/ByteBuffer;
15 16 18 dk Lorg/apache/cassandra/db/DecoratedKey;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/nio/ByteBuffer;>;Lorg/apache/cassandra/thrift/ColumnParent;ILorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;>;
MethodParameters:
Name Flags
keyspace
keys
column_parent
nowInSec
predicate
consistency_level
cState
queryStartNanoTime
public org.apache.cassandra.thrift.ColumnOrSuperColumn get(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnPath, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnPath;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=20, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.System.nanoTime:()J
lstore 4
start local 4 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 8
2: ldc "key"
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
3: ldc "column_path"
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnPath.toString:()Ljava/lang/String;
4: ldc "consistency_level"
aload 3
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
5: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 6
start local 6 6: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "get"
aload 6
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 6 7: goto 9
8: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "get"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 6
start local 6 10: aload 6
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 7
start local 7 11: aload 6
aload 7
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
12: aload 7
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column_family:Ljava/lang/String;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 8
start local 8 13: aload 8
aload 2
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnPath:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnPath;)V
14: aload 3
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
astore 9
start local 9 15: aload 9
aload 7
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateForRead:(Ljava/lang/String;)V
16: aload 8
aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKey:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)V
17: aload 8
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 32
18: aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column:Ljava/nio/ByteBuffer;
ifnonnull 21
19: aload 8
invokestatic org.apache.cassandra.db.filter.ColumnFilter.all:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 10
start local 10 20: goto 28
end local 10 21: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel
StackMap stack:
invokestatic org.apache.cassandra.db.filter.ColumnFilter.selectionBuilder:()Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
astore 12
start local 12 22: aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column:Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.config.CFMetaData.getColumnDefinition:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/config/ColumnDefinition;
astore 13
start local 13 23: aload 8
invokevirtual org.apache.cassandra.config.CFMetaData.compactValueColumn:()Lorg/apache/cassandra/config/ColumnDefinition;
astore 14
start local 14 24: aload 13
ifnull 26
25: aload 12
aload 13
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
26: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel top top org.apache.cassandra.db.filter.ColumnFilter$Builder org.apache.cassandra.config.ColumnDefinition org.apache.cassandra.config.ColumnDefinition
StackMap stack:
aload 12
aload 14
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.select:(Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
27: aload 12
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.build:()Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 10
end local 14 end local 13 end local 12 start local 10 28: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.db.filter.ColumnFilter
StackMap stack:
new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.super_column:Ljava/nio/ByteBuffer;
aastore
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
aload 8
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokestatic org.apache.cassandra.utils.FBUtilities.singleton:(Ljava/lang/Object;Ljava/util/Comparator;)Ljava/util/NavigableSet;
29: iconst_0
30: invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
astore 11
start local 11 31: goto 42
end local 11 end local 10 32: StackMap locals:
StackMap stack:
aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.super_column:Ljava/nio/ByteBuffer;
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.LegacyLayout.decodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
astore 12
start local 12 33: aload 12
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
getstatic org.apache.cassandra.db.Clustering.STATIC_CLUSTERING:Lorg/apache/cassandra/db/Clustering;
if_acmpne 40
34: invokestatic org.apache.cassandra.db.filter.ColumnFilter.selectionBuilder:()Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
astore 13
start local 13 35: aload 13
aload 12
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.column:Lorg/apache/cassandra/config/ColumnDefinition;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
36: aload 13
aload 8
invokevirtual org.apache.cassandra.config.CFMetaData.compactValueColumn:()Lorg/apache/cassandra/config/ColumnDefinition;
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.add:(Lorg/apache/cassandra/config/ColumnDefinition;)Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
pop
37: aload 13
invokevirtual org.apache.cassandra.db.filter.ColumnFilter$Builder.build:()Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 10
start local 10 38: new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column:Ljava/nio/ByteBuffer;
aastore
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
aload 8
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokestatic org.apache.cassandra.utils.FBUtilities.singleton:(Ljava/lang/Object;Ljava/util/Comparator;)Ljava/util/NavigableSet;
iconst_0
invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
astore 11
end local 13 start local 11 39: goto 42
end local 11 end local 10 40: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel top top org.apache.cassandra.db.LegacyLayout$LegacyCellName
StackMap stack:
aload 12
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.column:Lorg/apache/cassandra/config/ColumnDefinition;
invokestatic org.apache.cassandra.db.PartitionColumns.of:(Lorg/apache/cassandra/config/ColumnDefinition;)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 10
start local 10 41: new org.apache.cassandra.db.filter.ClusteringIndexNamesFilter
dup
aload 12
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
aload 8
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokestatic org.apache.cassandra.utils.FBUtilities.singleton:(Ljava/lang/Object;Ljava/util/Comparator;)Ljava/util/NavigableSet;
iconst_0
invokespecial org.apache.cassandra.db.filter.ClusteringIndexNamesFilter.<init>:(Ljava/util/NavigableSet;Z)V
astore 11
end local 12 start local 11 42: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter
StackMap stack:
aload 8
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 12
start local 12 43: iconst_1
aload 8
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
aload 10
getstatic org.apache.cassandra.db.filter.RowFilter.NONE:Lorg/apache/cassandra/db/filter/RowFilter;
getstatic org.apache.cassandra.db.filter.DataLimits.NONE:Lorg/apache/cassandra/db/filter/DataLimits;
aload 12
aload 11
invokestatic org.apache.cassandra.db.SinglePartitionReadCommand.create:(ZLorg/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;
astore 13
start local 13 44: aconst_null
astore 14
aconst_null
astore 15
45: aload 0
iconst_1
anewarray org.apache.cassandra.db.SinglePartitionReadCommand
dup
iconst_0
aload 13
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 9
aload 6
lload 4
invokevirtual org.apache.cassandra.thrift.CassandraServer.read:(Ljava/util/List;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Lorg/apache/cassandra/db/partitions/PartitionIterator;
aload 13
invokestatic org.apache.cassandra.db.partitions.PartitionIterators.getOnlyElement:(Lorg/apache/cassandra/db/partitions/PartitionIterator;Lorg/apache/cassandra/db/SinglePartitionReadCommand;)Lorg/apache/cassandra/db/rows/RowIterator;
astore 16
start local 16 46: aload 16
invokeinterface org.apache.cassandra.db.rows.RowIterator.hasNext:()Z
ifne 48
47: new org.apache.cassandra.thrift.NotFoundException
dup
invokespecial org.apache.cassandra.thrift.NotFoundException.<init>:()V
athrow
48: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.SinglePartitionReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator
StackMap stack:
aload 0
aload 16
aload 8
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 49
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column:Ljava/nio/ByteBuffer;
ifnull 49
iconst_1
goto 50
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.SinglePartitionReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator
StackMap stack: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.rows.RowIterator
49: iconst_0
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.SinglePartitionReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator
StackMap stack: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.rows.RowIterator int
50: aload 16
invokeinterface org.apache.cassandra.db.rows.RowIterator.isReverseOrder:()Z
iconst_1
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyPartition:(Lorg/apache/cassandra/db/rows/RowIterator;ZZI)Ljava/util/List;
astore 17
start local 17 51: aload 17
invokeinterface java.util.List.isEmpty:()Z
ifeq 53
52: new org.apache.cassandra.thrift.NotFoundException
dup
invokespecial org.apache.cassandra.thrift.NotFoundException.<init>:()V
athrow
53: StackMap locals: java.util.List
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.$assertionsDisabled:Z
ifne 54
aload 17
invokeinterface java.util.List.size:()I
iconst_1
if_icmpeq 54
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
54: StackMap locals:
StackMap stack:
aload 17
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.ColumnOrSuperColumn
astore 19
55: aload 16
ifnull 56
aload 16
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
56: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.SinglePartitionReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator java.util.List top org.apache.cassandra.thrift.ColumnOrSuperColumn
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
57: aload 19
areturn
end local 17 StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.SinglePartitionReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator
StackMap stack: java.lang.Throwable
58: astore 14
59: aload 16
ifnull 60
aload 16
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
end local 16 StackMap locals:
StackMap stack:
60: aload 14
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
61: astore 15
aload 14
ifnonnull 62
aload 15
astore 14
goto 63
StackMap locals:
StackMap stack:
62: aload 14
aload 15
if_acmpeq 63
aload 14
aload 15
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
63: aload 14
athrow
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 64: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: org.apache.cassandra.db.UnknownColumnException
astore 6
start local 6 65: new org.apache.cassandra.thrift.InvalidRequestException
dup
aload 6
invokevirtual org.apache.cassandra.db.UnknownColumnException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 6 66: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 6
start local 6 67: aload 6
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 6 68: StackMap locals:
StackMap stack: java.lang.Throwable
astore 18
69: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
70: aload 18
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 71 1 key Ljava/nio/ByteBuffer;
0 71 2 column_path Lorg/apache/cassandra/thrift/ColumnPath;
0 71 3 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 71 4 queryStartNanoTime J
6 7 6 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
10 64 6 cState Lorg/apache/cassandra/thrift/ThriftClientState;
11 64 7 keyspace Ljava/lang/String;
13 64 8 metadata Lorg/apache/cassandra/config/CFMetaData;
15 64 9 consistencyLevel Lorg/apache/cassandra/db/ConsistencyLevel;
20 21 10 columns Lorg/apache/cassandra/db/filter/ColumnFilter;
28 32 10 columns Lorg/apache/cassandra/db/filter/ColumnFilter;
38 40 10 columns Lorg/apache/cassandra/db/filter/ColumnFilter;
41 64 10 columns Lorg/apache/cassandra/db/filter/ColumnFilter;
31 32 11 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
39 40 11 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
42 64 11 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
22 28 12 builder Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
23 28 13 staticDef Lorg/apache/cassandra/config/ColumnDefinition;
24 28 14 dynamicDef Lorg/apache/cassandra/config/ColumnDefinition;
33 42 12 cellname Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
35 39 13 builder Lorg/apache/cassandra/db/filter/ColumnFilter$Builder;
43 64 12 dk Lorg/apache/cassandra/db/DecoratedKey;
44 64 13 command Lorg/apache/cassandra/db/SinglePartitionReadCommand;
46 60 16 result Lorg/apache/cassandra/db/rows/RowIterator;
51 58 17 tcolumns Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
65 66 6 e Lorg/apache/cassandra/db/UnknownColumnException;
67 68 6 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
46 55 58 any
45 56 61 any
58 61 61 any
9 56 64 Class org.apache.cassandra.db.UnknownColumnException
58 64 64 Class org.apache.cassandra.db.UnknownColumnException
9 56 66 Class org.apache.cassandra.exceptions.RequestValidationException
58 64 66 Class org.apache.cassandra.exceptions.RequestValidationException
9 56 68 any
58 68 68 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.NotFoundException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
MethodParameters:
Name Flags
key
column_path
consistency_level
public int get_count(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=21, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 9
2: ldc "key"
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
3: ldc "column_parent"
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.toString:()Ljava/lang/String;
4: ldc "predicate"
aload 3
invokevirtual org.apache.cassandra.thrift.SlicePredicate.toString:()Ljava/lang/String;
5: ldc "consistency_level"
aload 4
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
6: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 7
start local 7 7: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "get_count"
aload 7
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 7 8: goto 10
9: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "get_count"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 11: aload 7
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 8
start local 8 12: aload 7
aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
13: aload 8
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
astore 9
start local 9 14: aload 9
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
astore 10
start local 10 15: invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
istore 11
start local 11 16: aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.column_names:Ljava/util/List;
ifnull 20
17: aload 0
aload 8
aload 1
aload 2
iload 11
aload 3
aload 4
aload 7
lload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.getSliceInternal:(Ljava/lang/String;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;ILorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 20
18: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
19: iload 20
ireturn
20: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.db.Keyspace org.apache.cassandra.db.ColumnFamilyStore int
StackMap stack:
aload 10
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getMeanColumns:()I
ifle 26
21: aload 10
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.meanPartitionSize:Lcom/codahale/metrics/Gauge;
invokeinterface com.codahale.metrics.Gauge.getValue:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
aload 10
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getMeanColumns:()I
i2l
ldiv
l2i
istore 13
start local 13 22: sipush 1024
ldc 4194304
iload 13
idiv
invokestatic java.lang.Math.min:(II)I
istore 12
start local 12 23: iconst_2
iload 12
invokestatic java.lang.Math.max:(II)I
istore 12
24: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "average row column size is {}; using pageSize of {}"
iload 13
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 12
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 13 25: goto 27
end local 12 26: StackMap locals:
StackMap stack:
sipush 1024
istore 12
start local 12 27: StackMap locals: int
StackMap stack:
aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.slice_range:Lorg/apache/cassandra/thrift/SliceRange;
ifnonnull 29
28: new org.apache.cassandra.thrift.SliceRange
dup
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
iconst_0
ldc 2147483647
invokespecial org.apache.cassandra.thrift.SliceRange.<init>:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;ZI)V
goto 30
29: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.cassandra.thrift.SlicePredicate.slice_range:Lorg/apache/cassandra/thrift/SliceRange;
30: StackMap locals:
StackMap stack: org.apache.cassandra.thrift.SliceRange
astore 13
start local 13 31: aload 10
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
astore 16
start local 16 32: aload 16
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 36
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
ifne 36
33: aload 16
invokestatic org.apache.cassandra.db.filter.ColumnFilter.all:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 14
start local 14 34: new org.apache.cassandra.db.filter.ClusteringIndexSliceFilter
dup
aload 0
aload 16
aload 13
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeSlices:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/Slices;
aload 13
getfield org.apache.cassandra.thrift.SliceRange.reversed:Z
invokespecial org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.<init>:(Lorg/apache/cassandra/db/Slices;Z)V
astore 15
start local 15 35: goto 38
end local 15 end local 14 36: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.db.Keyspace org.apache.cassandra.db.ColumnFamilyStore int int org.apache.cassandra.thrift.SliceRange top top org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 0
aload 16
aload 2
aload 13
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeColumnFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 14
start local 14 37: aload 0
aload 16
aload 2
aload 13
invokevirtual org.apache.cassandra.thrift.CassandraServer.toInternalFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SliceRange;)Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
astore 15
start local 15 38: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.db.Keyspace org.apache.cassandra.db.ColumnFamilyStore int int org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 0
iconst_1
aload 16
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 39
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
ifne 39
iconst_1
goto 40
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.db.Keyspace org.apache.cassandra.db.ColumnFamilyStore int int org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.config.CFMetaData
StackMap stack: org.apache.cassandra.thrift.CassandraServer int
39: iconst_0
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.db.Keyspace org.apache.cassandra.db.ColumnFamilyStore int int org.apache.cassandra.thrift.SliceRange org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.config.CFMetaData
StackMap stack: org.apache.cassandra.thrift.CassandraServer int int
40: aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.getLimits:(IZLorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/DataLimits;
astore 17
start local 17 41: aload 16
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 18
start local 18 42: aload 16
43: aload 18
44: aload 14
45: aload 15
46: aload 17
47: aload 4
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
48: aload 7
49: iload 12
50: iload 11
51: iconst_1
52: lload 5
53: invokestatic org.apache.cassandra.service.pager.QueryPagers.countPaged:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/filter/ColumnFilter;Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;Lorg/apache/cassandra/db/filter/DataLimits;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;IIZJ)I
istore 20
54: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
55: iload 20
ireturn
end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 56: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: java.lang.IllegalArgumentException
astore 7
start local 7 57: new org.apache.cassandra.thrift.InvalidRequestException
dup
aload 7
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 7 58: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
astore 7
start local 7 59: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.rethrow:(Lorg/apache/cassandra/exceptions/RequestExecutionException;)Ljava/lang/RuntimeException;
athrow
end local 7 60: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 7
start local 7 61: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 7 62: StackMap locals:
StackMap stack: java.lang.Throwable
astore 19
63: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
64: aload 19
athrow
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 65 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 65 1 key Ljava/nio/ByteBuffer;
0 65 2 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 65 3 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
0 65 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 65 5 queryStartNanoTime J
7 8 7 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
11 56 7 cState Lorg/apache/cassandra/thrift/ThriftClientState;
12 56 8 keyspace Ljava/lang/String;
14 56 9 keyspaceName Lorg/apache/cassandra/db/Keyspace;
15 56 10 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
16 56 11 nowInSec I
23 26 12 pageSize I
27 56 12 pageSize I
22 25 13 averageColumnSize I
31 56 13 sliceRange Lorg/apache/cassandra/thrift/SliceRange;
34 36 14 columnFilter Lorg/apache/cassandra/db/filter/ColumnFilter;
37 56 14 columnFilter Lorg/apache/cassandra/db/filter/ColumnFilter;
35 36 15 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
38 56 15 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
32 56 16 metadata Lorg/apache/cassandra/config/CFMetaData;
41 56 17 limits Lorg/apache/cassandra/db/filter/DataLimits;
42 56 18 dk Lorg/apache/cassandra/db/DecoratedKey;
57 58 7 e Ljava/lang/IllegalArgumentException;
59 60 7 e Lorg/apache/cassandra/exceptions/RequestExecutionException;
61 62 7 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
10 18 56 Class java.lang.IllegalArgumentException
20 54 56 Class java.lang.IllegalArgumentException
10 18 58 Class org.apache.cassandra.exceptions.RequestExecutionException
20 54 58 Class org.apache.cassandra.exceptions.RequestExecutionException
10 18 60 Class org.apache.cassandra.exceptions.RequestValidationException
20 54 60 Class org.apache.cassandra.exceptions.RequestValidationException
10 18 62 any
20 54 62 any
56 62 62 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
MethodParameters:
Name Flags
key
column_parent
predicate
consistency_level
public java.util.Map<java.nio.ByteBuffer, java.lang.Integer> multiget_count(java.util.List<java.nio.ByteBuffer>, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/util/List;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=15, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 14
2: invokestatic com.google.common.collect.Lists.newArrayList:()Ljava/util/ArrayList;
astore 7
start local 7 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 6
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long java.util.List top java.util.Iterator
StackMap stack:
4: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 8
start local 8 5: aload 7
aload 8
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 6: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: ldc "keys"
aload 7
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
8: ldc "column_parent"
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.toString:()Ljava/lang/String;
9: ldc "predicate"
aload 3
invokevirtual org.apache.cassandra.thrift.SlicePredicate.toString:()Ljava/lang/String;
10: ldc "consistency_level"
aload 4
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
11: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 8
start local 8 12: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "multiget_count"
aload 8
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 8 end local 7 13: goto 15
14: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "multiget_count"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 16: aload 7
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 8
start local 8 17: aload 7
aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
18: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 9
start local 9 19: aload 0
aload 8
20: aload 1
21: aload 2
22: invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
23: aload 3
24: aload 4
25: aload 7
26: lload 5
27: invokevirtual org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal:(Ljava/lang/String;Ljava/util/List;Lorg/apache/cassandra/thrift/ColumnParent;ILorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/Map;
astore 10
start local 10 28: aload 10
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 31
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
29: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 11
start local 11 30: aload 9
aload 11
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 11
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 31: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
32: aload 9
astore 14
33: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
34: aload 14
areturn
end local 10 end local 9 end local 8 end local 7 35: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 7
start local 7 36: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 7 37: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
38: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
39: aload 13
athrow
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 40 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 40 1 keys Ljava/util/List<Ljava/nio/ByteBuffer;>;
0 40 2 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 40 3 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
0 40 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 40 5 queryStartNanoTime J
3 13 7 keysList Ljava/util/List<Ljava/lang/String;>;
5 6 8 key Ljava/nio/ByteBuffer;
12 13 8 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
16 35 7 cState Lorg/apache/cassandra/thrift/ThriftClientState;
17 35 8 keyspace Ljava/lang/String;
19 35 9 counts Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/lang/Integer;>;
28 35 10 columnFamiliesMap Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;>;
30 31 11 cf Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;>;
36 37 7 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
15 33 35 Class org.apache.cassandra.exceptions.RequestValidationException
15 33 37 any
35 37 37 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/lang/Integer;>;
MethodParameters:
Name Flags
keys
column_parent
predicate
consistency_level
private org.apache.cassandra.db.rows.Cell cellFromColumn(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.LegacyLayout$LegacyCellName, org.apache.cassandra.thrift.Column);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;Lorg/apache/cassandra/thrift/Column;)Lorg/apache/cassandra/db/rows/Cell;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.collectionElement:Ljava/nio/ByteBuffer;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.collectionElement:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
StackMap locals:
StackMap stack: org.apache.cassandra.db.rows.CellPath
2: astore 4
start local 4 3: aload 0
aload 1
aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.getTtl:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/Column;)I
istore 5
start local 5 4: iload 5
ifne 6
5: aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.column:Lorg/apache/cassandra/config/ColumnDefinition;
aload 3
getfield org.apache.cassandra.thrift.Column.timestamp:J
aload 3
getfield org.apache.cassandra.thrift.Column.value:Ljava/nio/ByteBuffer;
aload 4
invokestatic org.apache.cassandra.db.rows.BufferCell.live:(Lorg/apache/cassandra/config/ColumnDefinition;JLjava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/BufferCell;
goto 7
6: StackMap locals: org.apache.cassandra.db.rows.CellPath int
StackMap stack:
aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.column:Lorg/apache/cassandra/config/ColumnDefinition;
aload 3
getfield org.apache.cassandra.thrift.Column.timestamp:J
iload 5
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
aload 3
getfield org.apache.cassandra.thrift.Column.value:Ljava/nio/ByteBuffer;
aload 4
invokestatic org.apache.cassandra.db.rows.BufferCell.expiring:(Lorg/apache/cassandra/config/ColumnDefinition;JIILjava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/BufferCell;
7: StackMap locals:
StackMap stack: org.apache.cassandra.db.rows.BufferCell
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/thrift/CassandraServer;
0 8 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 8 2 name Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
0 8 3 column Lorg/apache/cassandra/thrift/Column;
3 8 4 path Lorg/apache/cassandra/db/rows/CellPath;
4 8 5 ttl I
MethodParameters:
Name Flags
metadata
name
column
private int getTtl(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.Column);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/Column;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.apache.cassandra.thrift.Column.isSetTtl:()Z
ifne 2
1: aload 1
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.defaultTimeToLive:I
ireturn
2: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.cassandra.thrift.Column.ttl:I
ifne 4
aload 1
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.defaultTimeToLive:I
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.cassandra.thrift.Column.ttl:I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 5 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 5 2 column Lorg/apache/cassandra/thrift/Column;
MethodParameters:
Name Flags
metadata
column
private void internal_insert(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.Column, org.apache.cassandra.thrift.ConsistencyLevel, long);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/Column;Lorg/apache/cassandra/thrift/ConsistencyLevel;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=14, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 1: aload 7
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 8
start local 8 2: aload 7
aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.MODIFY:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
3: aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
iconst_0
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/cassandra/config/CFMetaData;
astore 9
start local 9 4: aload 9
invokevirtual org.apache.cassandra.config.CFMetaData.isView:()Z
ifeq 6
5: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot modify Materialized Views directly"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 9
aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKey:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)V
7: aload 9
aload 2
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnParent:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;)V
8: aload 9
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 10
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.super_column:Ljava/nio/ByteBuffer;
ifnonnull 10
9: new org.apache.cassandra.exceptions.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "missing mandatory super column name for super CF "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
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
athrow
10: StackMap locals:
StackMap stack:
aload 9
aload 2
aload 3
getfield org.apache.cassandra.thrift.Column.name:Ljava/nio/ByteBuffer;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnNames:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Ljava/lang/Iterable;)V
11: aload 9
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.super_column:Ljava/nio/ByteBuffer;
aload 3
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnData:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Column;)V
12: aload 9
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.super_column:Ljava/nio/ByteBuffer;
aload 3
getfield org.apache.cassandra.thrift.Column.name:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.LegacyLayout.decodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
astore 11
start local 11 13: aload 0
aload 9
aload 11
aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.cellFromColumn:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;Lorg/apache/cassandra/thrift/Column;)Lorg/apache/cassandra/db/rows/Cell;
astore 12
start local 12 14: aload 9
aload 1
aload 11
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
aload 12
invokestatic org.apache.cassandra.db.rows.BTreeRow.singleCellRow:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/rows/Cell;)Lorg/apache/cassandra/db/rows/BTreeRow;
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.singleRowUpdate:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
astore 13
start local 13 15: aload 9
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
aload 9
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
aload 13
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.validate:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
16: new org.apache.cassandra.db.Mutation
dup
aload 13
invokespecial org.apache.cassandra.db.Mutation.<init>:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
astore 10
end local 13 end local 12 end local 11 start local 10 17: goto 20
end local 10 18: StackMap locals:
StackMap stack: java.lang.Exception
astore 11
start local 11 19: new org.apache.cassandra.exceptions.InvalidRequestException
dup
aload 11
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 11 start local 10 20: StackMap locals: org.apache.cassandra.db.Mutation
StackMap stack:
aload 0
aload 4
aload 10
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
lload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.doInsert:(Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List;J)V
21: return
end local 10 end local 9 end local 8 end local 7 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 22 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 22 1 key Ljava/nio/ByteBuffer;
0 22 2 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 22 3 column Lorg/apache/cassandra/thrift/Column;
0 22 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
0 22 5 queryStartNanoTime J
1 22 7 cState Lorg/apache/cassandra/thrift/ThriftClientState;
2 22 8 keyspace Ljava/lang/String;
4 22 9 metadata Lorg/apache/cassandra/config/CFMetaData;
17 18 10 mutation Lorg/apache/cassandra/db/Mutation;
20 22 10 mutation Lorg/apache/cassandra/db/Mutation;
13 17 11 name Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
14 17 12 cell Lorg/apache/cassandra/db/rows/Cell;
15 17 13 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
19 20 11 e Ljava/lang/Exception;
Exception table:
from to target type
12 17 18 Class org.apache.cassandra.serializers.MarshalException
12 17 18 Class org.apache.cassandra.db.UnknownColumnException
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
MethodParameters:
Name Flags
key
column_parent
column
consistency_level
queryStartNanoTime
public void insert(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.Column, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/Column;Lorg/apache/cassandra/thrift/ConsistencyLevel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 9
2: ldc "key"
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
3: ldc "column_parent"
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.toString:()Ljava/lang/String;
4: ldc "column"
aload 3
invokevirtual org.apache.cassandra.thrift.Column.toString:()Ljava/lang/String;
5: ldc "consistency_level"
aload 4
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
6: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 7
start local 7 7: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "insert"
aload 7
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 7 8: goto 10
9: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "insert"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
lload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.internal_insert:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/Column;Lorg/apache/cassandra/thrift/ConsistencyLevel;J)V
11: goto 17
12: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 7
start local 7 13: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 7 14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
15: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
16: aload 8
athrow
17: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
18: 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 19 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 19 1 key Ljava/nio/ByteBuffer;
0 19 2 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 19 3 column Lorg/apache/cassandra/thrift/Column;
0 19 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 19 5 queryStartNanoTime J
7 8 7 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
13 14 7 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
10 11 12 Class org.apache.cassandra.exceptions.RequestValidationException
10 14 14 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
MethodParameters:
Name Flags
key
column_parent
column
consistency_level
public org.apache.cassandra.thrift.CASResult cas(java.nio.ByteBuffer, java.lang.String, java.util.List<org.apache.cassandra.thrift.Column>, java.util.List<org.apache.cassandra.thrift.Column>, org.apache.cassandra.thrift.ConsistencyLevel, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/nio/ByteBuffer;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/thrift/CASResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=21, 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: invokestatic java.lang.System.nanoTime:()J
lstore 7
start local 7 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 12
2: invokestatic com.google.common.collect.ImmutableMap.builder:()Lcom/google/common/collect/ImmutableMap$Builder;
astore 9
start local 9 3: aload 9
ldc "key"
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
4: aload 9
ldc "column_family"
aload 2
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
5: aload 9
ldc "old"
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
6: aload 9
ldc "updates"
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
7: aload 9
ldc "consistency_level"
aload 6
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
8: aload 9
ldc "serial_consistency_level"
aload 5
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
9: aload 9
invokevirtual com.google.common.collect.ImmutableMap$Builder.build:()Lcom/google/common/collect/ImmutableMap;
astore 10
start local 10 10: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "cas"
aload 10
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 10 end local 9 11: goto 13
12: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "cas"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 9
start local 9 14: aload 9
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 10
start local 10 15: aload 9
aload 10
aload 2
getstatic org.apache.cassandra.auth.Permission.MODIFY:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
16: aload 9
aload 10
aload 2
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
17: aload 10
aload 2
iconst_0
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/cassandra/config/CFMetaData;
astore 11
start local 11 18: aload 11
invokevirtual org.apache.cassandra.config.CFMetaData.isView:()Z
ifeq 20
19: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot modify Materialized Views directly"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 11
aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKey:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)V
21: aload 11
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 23
22: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "CAS does not support supercolumns"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 4
invokedynamic apply()Lcom/google/common/base/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/thrift/CassandraServer.lambda$0(Lorg/apache/cassandra/thrift/Column;)Ljava/nio/ByteBuffer; (6)
(Lorg/apache/cassandra/thrift/Column;)Ljava/nio/ByteBuffer;
invokestatic com.google.common.collect.Iterables.transform:(Ljava/lang/Iterable;Lcom/google/common/base/Function;)Ljava/lang/Iterable;
astore 12
start local 12 24: aload 11
new org.apache.cassandra.thrift.ColumnParent
dup
aload 2
invokespecial org.apache.cassandra.thrift.ColumnParent.<init>:(Ljava/lang/String;)V
aload 12
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnNames:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Ljava/lang/Iterable;)V
25: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
goto 28
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer java.lang.String java.util.List java.util.List org.apache.cassandra.thrift.ConsistencyLevel org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData java.lang.Iterable top java.util.Iterator
StackMap stack:
26: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.Column
astore 13
start local 13 27: aload 11
aconst_null
aload 13
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnData:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Column;)V
end local 13 28: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
29: aload 11
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 13
start local 13 30: invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
istore 14
start local 14 31: aload 11
aload 13
aload 0
aload 11
aload 4
iload 14
invokevirtual org.apache.cassandra.thrift.CassandraServer.toLegacyCells:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;I)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
iload 14
invokestatic org.apache.cassandra.db.LegacyLayout.toRowIterator:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Ljava/util/Iterator;I)Lorg/apache/cassandra/db/rows/RowIterator;
aload 11
invokestatic org.apache.cassandra.db.filter.ColumnFilter.all:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/filter/ColumnFilter;
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.fromIterator:(Lorg/apache/cassandra/db/rows/RowIterator;Lorg/apache/cassandra/db/filter/ColumnFilter;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
astore 15
start local 15 32: aload 11
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
aload 11
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
aload 15
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.validate:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
33: aload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getWriteRpcTimeout:()J
invokevirtual org.apache.cassandra.thrift.CassandraServer.schedule:(J)V
34: aconst_null
astore 16
aconst_null
astore 17
35: aload 9
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
36: aload 2
37: aload 13
38: new org.apache.cassandra.thrift.CassandraServer$ThriftCASRequest
dup
aload 0
aload 11
aload 3
iload 14
invokevirtual org.apache.cassandra.thrift.CassandraServer.toLegacyCells:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;I)Ljava/util/List;
aload 15
iload 14
invokespecial org.apache.cassandra.thrift.CassandraServer$ThriftCASRequest.<init>:(Ljava/util/List;Lorg/apache/cassandra/db/partitions/PartitionUpdate;I)V
39: aload 5
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
40: aload 6
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
41: aload 9
42: lload 7
43: invokestatic org.apache.cassandra.service.StorageProxy.cas:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/service/CASRequest;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Lorg/apache/cassandra/db/rows/RowIterator;
astore 18
start local 18 44: aload 18
ifnonnull 46
45: new org.apache.cassandra.thrift.CASResult
dup
iconst_1
invokespecial org.apache.cassandra.thrift.CASResult.<init>:(Z)V
goto 47
46: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer java.lang.String java.util.List java.util.List org.apache.cassandra.thrift.ConsistencyLevel org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData java.lang.Iterable org.apache.cassandra.db.DecoratedKey int org.apache.cassandra.db.partitions.PartitionUpdate java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator
StackMap stack:
new org.apache.cassandra.thrift.CASResult
dup
iconst_0
invokespecial org.apache.cassandra.thrift.CASResult.<init>:(Z)V
aload 0
aload 11
aload 18
invokestatic org.apache.cassandra.db.LegacyLayout.fromRowIterator:(Lorg/apache/cassandra/db/rows/RowIterator;)Lorg/apache/cassandra/utils/Pair;
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.util.Iterator
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyColumnsAsColumns:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Iterator;)Ljava/util/List;
invokevirtual org.apache.cassandra.thrift.CASResult.setCurrent_values:(Ljava/util/List;)Lorg/apache/cassandra/thrift/CASResult;
StackMap locals:
StackMap stack: org.apache.cassandra.thrift.CASResult
47: astore 20
48: aload 18
ifnull 49
aload 18
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
49: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer java.lang.String java.util.List java.util.List org.apache.cassandra.thrift.ConsistencyLevel org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData java.lang.Iterable org.apache.cassandra.db.DecoratedKey int org.apache.cassandra.db.partitions.PartitionUpdate java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator top org.apache.cassandra.thrift.CASResult
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
50: aload 20
areturn
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer java.lang.String java.util.List java.util.List org.apache.cassandra.thrift.ConsistencyLevel org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData java.lang.Iterable org.apache.cassandra.db.DecoratedKey int org.apache.cassandra.db.partitions.PartitionUpdate java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator
StackMap stack: java.lang.Throwable
51: astore 16
52: aload 18
ifnull 53
aload 18
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
end local 18 StackMap locals:
StackMap stack:
53: aload 16
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
54: astore 17
aload 16
ifnonnull 55
aload 17
astore 16
goto 56
StackMap locals:
StackMap stack:
55: aload 16
aload 17
if_acmpeq 56
aload 16
aload 17
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
56: aload 16
athrow
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 57: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer java.lang.String java.util.List java.util.List org.apache.cassandra.thrift.ConsistencyLevel org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: org.apache.cassandra.db.UnknownColumnException
astore 9
start local 9 58: new org.apache.cassandra.thrift.InvalidRequestException
dup
aload 9
invokevirtual org.apache.cassandra.db.UnknownColumnException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 9 59: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestTimeoutException
astore 9
start local 9 60: aload 9
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestTimeoutException;)Lorg/apache/cassandra/thrift/TimedOutException;
athrow
end local 9 61: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 9
start local 9 62: aload 9
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 9 63: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
astore 9
start local 9 64: aload 9
invokestatic org.apache.cassandra.thrift.ThriftConversion.rethrow:(Lorg/apache/cassandra/exceptions/RequestExecutionException;)Ljava/lang/RuntimeException;
athrow
end local 9 65: StackMap locals:
StackMap stack: java.lang.Throwable
astore 19
66: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
67: aload 19
athrow
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 68 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 68 1 key Ljava/nio/ByteBuffer;
0 68 2 column_family Ljava/lang/String;
0 68 3 expected Ljava/util/List<Lorg/apache/cassandra/thrift/Column;>;
0 68 4 updates Ljava/util/List<Lorg/apache/cassandra/thrift/Column;>;
0 68 5 serial_consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
0 68 6 commit_consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 68 7 queryStartNanoTime J
3 11 9 builder Lcom/google/common/collect/ImmutableMap$Builder<Ljava/lang/String;Ljava/lang/String;>;
10 11 10 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
14 57 9 cState Lorg/apache/cassandra/thrift/ThriftClientState;
15 57 10 keyspace Ljava/lang/String;
18 57 11 metadata Lorg/apache/cassandra/config/CFMetaData;
24 57 12 names Ljava/lang/Iterable<Ljava/nio/ByteBuffer;>;
27 28 13 column Lorg/apache/cassandra/thrift/Column;
30 57 13 dk Lorg/apache/cassandra/db/DecoratedKey;
31 57 14 nowInSec I
32 57 15 partitionUpdates Lorg/apache/cassandra/db/partitions/PartitionUpdate;
44 53 18 result Lorg/apache/cassandra/db/rows/RowIterator;
58 59 9 e Lorg/apache/cassandra/db/UnknownColumnException;
60 61 9 e Lorg/apache/cassandra/exceptions/RequestTimeoutException;
62 63 9 e Lorg/apache/cassandra/exceptions/RequestValidationException;
64 65 9 e Lorg/apache/cassandra/exceptions/RequestExecutionException;
Exception table:
from to target type
44 48 51 any
35 49 54 any
51 54 54 any
13 49 57 Class org.apache.cassandra.db.UnknownColumnException
51 57 57 Class org.apache.cassandra.db.UnknownColumnException
13 49 59 Class org.apache.cassandra.exceptions.RequestTimeoutException
51 57 59 Class org.apache.cassandra.exceptions.RequestTimeoutException
13 49 61 Class org.apache.cassandra.exceptions.RequestValidationException
51 57 61 Class org.apache.cassandra.exceptions.RequestValidationException
13 49 63 Class org.apache.cassandra.exceptions.RequestExecutionException
51 57 63 Class org.apache.cassandra.exceptions.RequestExecutionException
13 49 65 any
51 65 65 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/nio/ByteBuffer;Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Column;>;Ljava/util/List<Lorg/apache/cassandra/thrift/Column;>;Lorg/apache/cassandra/thrift/ConsistencyLevel;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/thrift/CASResult;
MethodParameters:
Name Flags
key
column_family
expected
updates
serial_consistency_level
commit_consistency_level
private org.apache.cassandra.db.LegacyLayout$LegacyCell toLegacyCell(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.Column, int);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/Column;I)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aconst_null
aload 2
iload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.toLegacyCell:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Column;I)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 1 2 column Lorg/apache/cassandra/thrift/Column;
0 1 3 nowInSec I
Exceptions:
throws org.apache.cassandra.db.UnknownColumnException
MethodParameters:
Name Flags
metadata
column
nowInSec
private org.apache.cassandra.db.LegacyLayout$LegacyCell toLegacyCell(org.apache.cassandra.config.CFMetaData, java.nio.ByteBuffer, org.apache.cassandra.thrift.Column, int);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Column;I)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
getfield org.apache.cassandra.thrift.Column.ttl:I
ifle 2
1: aload 1
aload 2
aload 3
getfield org.apache.cassandra.thrift.Column.name:Ljava/nio/ByteBuffer;
aload 3
getfield org.apache.cassandra.thrift.Column.value:Ljava/nio/ByteBuffer;
aload 3
getfield org.apache.cassandra.thrift.Column.timestamp:J
aload 3
getfield org.apache.cassandra.thrift.Column.ttl:I
iload 4
invokestatic org.apache.cassandra.db.LegacyLayout$LegacyCell.expiring:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;JII)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
goto 3
2: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
getfield org.apache.cassandra.thrift.Column.name:Ljava/nio/ByteBuffer;
aload 3
getfield org.apache.cassandra.thrift.Column.value:Ljava/nio/ByteBuffer;
aload 3
getfield org.apache.cassandra.thrift.Column.timestamp:J
invokestatic org.apache.cassandra.db.LegacyLayout$LegacyCell.regular:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;J)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
3: StackMap locals:
StackMap stack: org.apache.cassandra.db.LegacyLayout$LegacyCell
areturn
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/thrift/CassandraServer;
0 4 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 4 2 superColumnName Ljava/nio/ByteBuffer;
0 4 3 column Lorg/apache/cassandra/thrift/Column;
0 4 4 nowInSec I
Exceptions:
throws org.apache.cassandra.db.UnknownColumnException
MethodParameters:
Name Flags
metadata
superColumnName
column
nowInSec
private org.apache.cassandra.db.LegacyLayout$LegacyCell toLegacyDeletion(org.apache.cassandra.config.CFMetaData, java.nio.ByteBuffer, long, int);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;JI)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
aload 1
aconst_null
aload 2
lload 3
iload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.toLegacyDeletion:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;JI)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 1 2 name Ljava/nio/ByteBuffer;
0 1 3 timestamp J
0 1 5 nowInSec I
Exceptions:
throws org.apache.cassandra.db.UnknownColumnException
MethodParameters:
Name Flags
metadata
name
timestamp
nowInSec
private org.apache.cassandra.db.LegacyLayout$LegacyCell toLegacyDeletion(org.apache.cassandra.config.CFMetaData, java.nio.ByteBuffer, java.nio.ByteBuffer, long, int);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;JI)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: aload 1
aload 2
aload 3
lload 4
iload 6
invokestatic org.apache.cassandra.db.LegacyLayout$LegacyCell.tombstone:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;JI)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 1 2 superColumnName Ljava/nio/ByteBuffer;
0 1 3 name Ljava/nio/ByteBuffer;
0 1 4 timestamp J
0 1 6 nowInSec I
Exceptions:
throws org.apache.cassandra.db.UnknownColumnException
MethodParameters:
Name Flags
metadata
superColumnName
name
timestamp
nowInSec
private org.apache.cassandra.db.LegacyLayout$LegacyCell toCounterLegacyCell(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.CounterColumn);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/CounterColumn;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokevirtual org.apache.cassandra.thrift.CassandraServer.toCounterLegacyCell:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/CounterColumn;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 1 2 column Lorg/apache/cassandra/thrift/CounterColumn;
Exceptions:
throws org.apache.cassandra.db.UnknownColumnException
MethodParameters:
Name Flags
metadata
column
private org.apache.cassandra.db.LegacyLayout$LegacyCell toCounterLegacyCell(org.apache.cassandra.config.CFMetaData, java.nio.ByteBuffer, org.apache.cassandra.thrift.CounterColumn);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/CounterColumn;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
getfield org.apache.cassandra.thrift.CounterColumn.name:Ljava/nio/ByteBuffer;
aload 3
getfield org.apache.cassandra.thrift.CounterColumn.value:J
invokestatic org.apache.cassandra.db.LegacyLayout$LegacyCell.counterUpdate:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;J)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 1 2 superColumnName Ljava/nio/ByteBuffer;
0 1 3 column Lorg/apache/cassandra/thrift/CounterColumn;
Exceptions:
throws org.apache.cassandra.db.UnknownColumnException
MethodParameters:
Name Flags
metadata
superColumnName
column
private void sortAndMerge(org.apache.cassandra.config.CFMetaData, java.util.List<org.apache.cassandra.db.LegacyLayout$LegacyCell>, );
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 1
invokestatic org.apache.cassandra.db.LegacyLayout.legacyCellComparator:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
1: aload 1
iconst_0
invokestatic org.apache.cassandra.db.LegacyLayout.legacyCellNameComparator:(Lorg/apache/cassandra/config/CFMetaData;Z)Ljava/util/Comparator;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: iconst_1
istore 6
start local 6 4: goto 29
5: StackMap locals: java.util.Comparator int int
StackMap stack:
aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.LegacyLayout$LegacyCell
astore 7
start local 7 6: aload 2
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.LegacyLayout$LegacyCell
astore 8
start local 8 7: aload 4
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
aload 8
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 9
start local 9 8: iload 9
ifne 25
9: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 14
10: aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.timestamp:J
aload 7
iload 3
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCell.isLive:(I)Z
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.value:Ljava/nio/ByteBuffer;
11: aload 8
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.timestamp:J
aload 8
iload 3
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCell.isLive:(I)Z
aload 8
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.value:Ljava/nio/ByteBuffer;
12: invokestatic org.apache.cassandra.db.Conflicts.resolveCounter:(JZLjava/nio/ByteBuffer;JZLjava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Conflicts$Resolution;
astore 10
start local 10 13: goto 17
end local 10 14: StackMap locals: org.apache.cassandra.db.LegacyLayout$LegacyCell org.apache.cassandra.db.LegacyLayout$LegacyCell int
StackMap stack:
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.timestamp:J
aload 7
iload 3
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCell.isLive:(I)Z
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.localDeletionTime:I
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.value:Ljava/nio/ByteBuffer;
15: aload 8
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.timestamp:J
aload 8
iload 3
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyCell.isLive:(I)Z
aload 8
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.localDeletionTime:I
aload 8
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.value:Ljava/nio/ByteBuffer;
16: invokestatic org.apache.cassandra.db.Conflicts.resolveRegular:(JZILjava/nio/ByteBuffer;JZILjava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Conflicts$Resolution;
astore 10
start local 10 17: StackMap locals: org.apache.cassandra.db.Conflicts$Resolution
StackMap stack:
invokestatic org.apache.cassandra.thrift.CassandraServer.$SWITCH_TABLE$org$apache$cassandra$db$Conflicts$Resolution:()[I
aload 10
invokevirtual org.apache.cassandra.db.Conflicts$Resolution.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 18
2: 21
3: 19
default: 24
}
18: StackMap locals:
StackMap stack:
goto 28
19: StackMap locals:
StackMap stack:
aload 2
iload 5
aload 8
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
20: goto 28
21: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.$assertionsDisabled:Z
ifne 22
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifne 22
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
22: StackMap locals:
StackMap stack:
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.value:Ljava/nio/ByteBuffer;
aload 8
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.value:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.Conflicts.mergeCounterValues:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
astore 11
start local 11 23: aload 2
iload 5
aload 7
getfield org.apache.cassandra.db.LegacyLayout$LegacyCell.name:Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
aload 11
invokestatic org.apache.cassandra.db.LegacyLayout$LegacyCell.counter:(Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
end local 11 end local 10 24: StackMap locals:
StackMap stack:
goto 28
25: StackMap locals:
StackMap stack:
iinc 5 1
26: iload 5
iload 6
if_icmpeq 28
27: aload 2
iload 5
aload 8
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 28: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
29: iload 6
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 5
end local 6 30: aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 6
start local 6 31: goto 34
32: StackMap locals:
StackMap stack:
aload 2
iload 6
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
33: iinc 6 -1
StackMap locals:
StackMap stack:
34: iload 6
iload 5
if_icmpgt 32
end local 6 35: 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 36 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 36 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 36 2 cells Ljava/util/List<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
0 36 3 nowInSec I
2 36 4 comparator Ljava/util/Comparator<Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;>;
3 36 5 previous I
4 30 6 current I
6 28 7 pc Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
7 28 8 cc Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
8 28 9 cmp I
13 14 10 res Lorg/apache/cassandra/db/Conflicts$Resolution;
17 24 10 res Lorg/apache/cassandra/db/Conflicts$Resolution;
23 24 11 merged Ljava/nio/ByteBuffer;
31 35 6 i I
Signature: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;I)V
MethodParameters:
Name Flags
metadata
cells
nowInSec
private java.util.List<org.apache.cassandra.db.LegacyLayout$LegacyCell> toLegacyCells(org.apache.cassandra.config.CFMetaData, java.util.List<org.apache.cassandra.thrift.Column>, int);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;I)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.ArrayList
dup
aload 2
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 1: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 4
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.config.CFMetaData java.util.List int java.util.List top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.Column
astore 5
start local 5 3: aload 4
aload 0
aload 1
aload 5
iload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.toLegacyCell:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/Column;I)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 4: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
aload 1
aload 4
iload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.sortAndMerge:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;I)V
6: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 7 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 7 2 columns Ljava/util/List<Lorg/apache/cassandra/thrift/Column;>;
0 7 3 nowInSec I
1 7 4 cells Ljava/util/List<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
3 4 5 column Lorg/apache/cassandra/thrift/Column;
Exceptions:
throws org.apache.cassandra.db.UnknownColumnException
Signature: (Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List<Lorg/apache/cassandra/thrift/Column;>;I)Ljava/util/List<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
MethodParameters:
Name Flags
metadata
columns
nowInSec
private java.util.List<org.apache.cassandra.db.IMutation> createMutationList(org.apache.cassandra.thrift.ConsistencyLevel, java.util.Map<java.nio.ByteBuffer, java.util.Map<java.lang.String, java.util.List<org.apache.cassandra.thrift.Mutation>>>, boolean);
descriptor: (Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/Map;Z)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=24, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 5
start local 5 2: aload 5
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 6
start local 6 3: invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
istore 7
start local 7 4: aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 53
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int top java.util.Iterator
StackMap stack:
5: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 6: aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 10
start local 10 7: aconst_null
astore 11
start local 11 8: aconst_null
astore 12
start local 12 9: aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Map
astore 13
start local 13 10: aload 13
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 46
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int java.util.Map$Entry java.util.Iterator java.nio.ByteBuffer org.apache.cassandra.db.Mutation org.apache.cassandra.db.Mutation java.util.Map top java.util.Iterator
StackMap stack:
11: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 14
start local 14 12: aload 14
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 16
start local 16 13: aload 14
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 17
start local 17 14: aload 5
aload 6
aload 16
getstatic org.apache.cassandra.auth.Permission.MODIFY:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
15: aload 6
aload 16
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 18
start local 18 16: aload 18
invokevirtual org.apache.cassandra.config.CFMetaData.isView:()Z
ifeq 18
17: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot modify Materialized Views directly"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int java.util.Map$Entry java.util.Iterator java.nio.ByteBuffer org.apache.cassandra.db.Mutation org.apache.cassandra.db.Mutation java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.util.List org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 18
aload 10
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKey:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)V
19: aload 18
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 21
20: aload 1
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
aload 18
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateCounterForWrite:(Lorg/apache/cassandra/config/CFMetaData;)V
21: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo.live:()Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;
astore 19
start local 19 22: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 20
start local 20 23: aload 17
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 22
goto 30
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int java.util.Map$Entry java.util.Iterator java.nio.ByteBuffer org.apache.cassandra.db.Mutation org.apache.cassandra.db.Mutation java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo java.util.List top java.util.Iterator
StackMap stack:
24: aload 22
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.Mutation
astore 21
start local 21 25: aload 18
aload 21
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateMutation:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/Mutation;)V
26: aload 21
getfield org.apache.cassandra.thrift.Mutation.deletion:Lorg/apache/cassandra/thrift/Deletion;
ifnull 28
27: aload 0
aload 19
aload 20
aload 18
aload 21
getfield org.apache.cassandra.thrift.Mutation.deletion:Lorg/apache/cassandra/thrift/Deletion;
iload 7
invokevirtual org.apache.cassandra.thrift.CassandraServer.deleteColumnOrSuperColumn:(Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;Ljava/util/List;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/Deletion;I)V
28: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int java.util.Map$Entry java.util.Iterator java.nio.ByteBuffer org.apache.cassandra.db.Mutation org.apache.cassandra.db.Mutation java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo java.util.List org.apache.cassandra.thrift.Mutation java.util.Iterator
StackMap stack:
aload 21
getfield org.apache.cassandra.thrift.Mutation.column_or_supercolumn:Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
ifnull 30
29: aload 0
aload 20
aload 18
aload 21
getfield org.apache.cassandra.thrift.Mutation.column_or_supercolumn:Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
iload 7
invokevirtual org.apache.cassandra.thrift.CassandraServer.addColumnOrSuperColumn:(Ljava/util/List;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;I)V
end local 21 30: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int java.util.Map$Entry java.util.Iterator java.nio.ByteBuffer org.apache.cassandra.db.Mutation org.apache.cassandra.db.Mutation java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo java.util.List top java.util.Iterator
StackMap stack:
aload 22
invokeinterface java.util.Iterator.hasNext:()Z
ifne 24
31: aload 0
aload 18
aload 20
iload 7
invokevirtual org.apache.cassandra.thrift.CassandraServer.sortAndMerge:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;I)V
32: aload 18
aload 10
invokevirtual org.apache.cassandra.config.CFMetaData.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 21
start local 21 33: aload 18
aload 21
aload 19
aload 20
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
invokestatic org.apache.cassandra.db.LegacyLayout.toUnfilteredRowIterator:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;Ljava/util/Iterator;)Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
aload 18
invokestatic org.apache.cassandra.db.filter.ColumnFilter.all:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/filter/ColumnFilter;
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.fromIterator:(Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;Lorg/apache/cassandra/db/filter/ColumnFilter;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
astore 22
start local 22 34: aload 18
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
aload 18
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
aload 22
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.validate:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
35: aload 18
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 41
36: aload 12
ifnonnull 37
new org.apache.cassandra.db.Mutation
dup
aload 6
aload 21
invokespecial org.apache.cassandra.db.Mutation.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/DecoratedKey;)V
goto 38
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int java.util.Map$Entry java.util.Iterator java.nio.ByteBuffer org.apache.cassandra.db.Mutation org.apache.cassandra.db.Mutation java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo java.util.List org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.partitions.PartitionUpdate
StackMap stack:
37: aload 12
StackMap locals:
StackMap stack: org.apache.cassandra.db.Mutation
38: astore 12
39: aload 12
astore 23
start local 23 40: goto 45
end local 23 41: StackMap locals:
StackMap stack:
aload 11
ifnonnull 42
new org.apache.cassandra.db.Mutation
dup
aload 6
aload 21
invokespecial org.apache.cassandra.db.Mutation.<init>:(Ljava/lang/String;Lorg/apache/cassandra/db/DecoratedKey;)V
goto 43
StackMap locals:
StackMap stack:
42: aload 11
StackMap locals:
StackMap stack: org.apache.cassandra.db.Mutation
43: astore 11
44: aload 11
astore 23
start local 23 45: StackMap locals: org.apache.cassandra.db.Mutation
StackMap stack:
aload 23
aload 22
invokevirtual org.apache.cassandra.db.Mutation.add:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)Lorg/apache/cassandra/db/Mutation;
pop
end local 23 end local 22 end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 14 46: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int java.util.Map$Entry java.util.Iterator java.nio.ByteBuffer org.apache.cassandra.db.Mutation org.apache.cassandra.db.Mutation java.util.Map top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
47: aload 11
ifnull 49
aload 11
invokevirtual org.apache.cassandra.db.Mutation.isEmpty:()Z
ifne 49
48: aload 4
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
49: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int java.util.Map$Entry java.util.Iterator java.nio.ByteBuffer org.apache.cassandra.db.Mutation org.apache.cassandra.db.Mutation java.util.Map
StackMap stack:
aload 12
ifnull 53
aload 12
invokevirtual org.apache.cassandra.db.Mutation.isEmpty:()Z
ifne 53
50: iload 3
ifeq 52
51: aload 4
new org.apache.cassandra.db.CounterMutation
dup
aload 12
aload 1
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
invokespecial org.apache.cassandra.db.CounterMutation.<init>:(Lorg/apache/cassandra/db/Mutation;Lorg/apache/cassandra/db/ConsistencyLevel;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
goto 53
52: StackMap locals:
StackMap stack:
new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Counter mutations are not allowed in atomic batches"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 13 end local 12 end local 11 end local 10 end local 8 53: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.Map int java.util.List org.apache.cassandra.thrift.ThriftClientState java.lang.String int top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
54: aload 4
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 55 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 55 1 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
0 55 2 mutation_map Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;>;
0 55 3 allowCounterMutations Z
1 55 4 mutations Ljava/util/List<Lorg/apache/cassandra/db/IMutation;>;
2 55 5 cState Lorg/apache/cassandra/thrift/ThriftClientState;
3 55 6 keyspace Ljava/lang/String;
4 55 7 nowInSec I
6 53 8 mutationEntry Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;>;
7 53 10 key Ljava/nio/ByteBuffer;
8 53 11 standardMutation Lorg/apache/cassandra/db/Mutation;
9 53 12 counterMutation Lorg/apache/cassandra/db/Mutation;
10 53 13 columnFamilyToMutations Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;
12 46 14 columnFamilyMutations Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;
13 46 16 cfName Ljava/lang/String;
14 46 17 muts Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;
16 46 18 metadata Lorg/apache/cassandra/config/CFMetaData;
22 46 19 delInfo Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;
23 46 20 cells Ljava/util/List<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
25 30 21 m Lorg/apache/cassandra/thrift/Mutation;
33 46 21 dk Lorg/apache/cassandra/db/DecoratedKey;
34 46 22 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
40 41 23 mutation Lorg/apache/cassandra/db/Mutation;
45 46 23 mutation Lorg/apache/cassandra/db/Mutation;
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException, org.apache.cassandra.thrift.InvalidRequestException
Signature: (Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;>;Z)Ljava/util/List<Lorg/apache/cassandra/db/IMutation;>;
MethodParameters:
Name Flags
consistency_level
mutation_map
allowCounterMutations
private void addColumnOrSuperColumn(java.util.List<org.apache.cassandra.db.LegacyLayout$LegacyCell>, org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.ColumnOrSuperColumn, );
descriptor: (Ljava/util/List;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
getfield org.apache.cassandra.thrift.ColumnOrSuperColumn.super_column:Lorg/apache/cassandra/thrift/SuperColumn;
ifnull 6
1: aload 3
getfield org.apache.cassandra.thrift.ColumnOrSuperColumn.super_column:Lorg/apache/cassandra/thrift/SuperColumn;
getfield org.apache.cassandra.thrift.SuperColumn.columns:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 4
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnOrSuperColumn int top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.Column
astore 5
start local 5 3: aload 1
aload 0
aload 2
aload 3
getfield org.apache.cassandra.thrift.ColumnOrSuperColumn.super_column:Lorg/apache/cassandra/thrift/SuperColumn;
getfield org.apache.cassandra.thrift.SuperColumn.name:Ljava/nio/ByteBuffer;
aload 5
iload 4
invokevirtual org.apache.cassandra.thrift.CassandraServer.toLegacyCell:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Column;I)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 4: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: goto 19
6: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnOrSuperColumn int
StackMap stack:
aload 3
getfield org.apache.cassandra.thrift.ColumnOrSuperColumn.column:Lorg/apache/cassandra/thrift/Column;
ifnull 9
7: aload 1
aload 0
aload 2
aload 3
getfield org.apache.cassandra.thrift.ColumnOrSuperColumn.column:Lorg/apache/cassandra/thrift/Column;
iload 4
invokevirtual org.apache.cassandra.thrift.CassandraServer.toLegacyCell:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/Column;I)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: goto 19
9: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.cassandra.thrift.ColumnOrSuperColumn.counter_super_column:Lorg/apache/cassandra/thrift/CounterSuperColumn;
ifnull 15
10: aload 3
getfield org.apache.cassandra.thrift.ColumnOrSuperColumn.counter_super_column:Lorg/apache/cassandra/thrift/CounterSuperColumn;
getfield org.apache.cassandra.thrift.CounterSuperColumn.columns:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnOrSuperColumn int top java.util.Iterator
StackMap stack:
11: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.CounterColumn
astore 5
start local 5 12: aload 1
aload 0
aload 2
aload 3
getfield org.apache.cassandra.thrift.ColumnOrSuperColumn.counter_super_column:Lorg/apache/cassandra/thrift/CounterSuperColumn;
getfield org.apache.cassandra.thrift.CounterSuperColumn.name:Ljava/nio/ByteBuffer;
aload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.toCounterLegacyCell:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/CounterColumn;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: goto 19
15: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.ColumnOrSuperColumn int
StackMap stack:
aload 1
aload 0
aload 2
aload 3
getfield org.apache.cassandra.thrift.ColumnOrSuperColumn.counter_column:Lorg/apache/cassandra/thrift/CounterColumn;
invokevirtual org.apache.cassandra.thrift.CassandraServer.toCounterLegacyCell:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/CounterColumn;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: goto 19
17: StackMap locals:
StackMap stack: org.apache.cassandra.db.UnknownColumnException
astore 5
start local 5 18: new org.apache.cassandra.thrift.InvalidRequestException
dup
aload 5
invokevirtual org.apache.cassandra.db.UnknownColumnException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 5 19: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 20 1 cells Ljava/util/List<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
0 20 2 cfm Lorg/apache/cassandra/config/CFMetaData;
0 20 3 cosc Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;
0 20 4 nowInSec I
3 4 5 column Lorg/apache/cassandra/thrift/Column;
12 13 5 column Lorg/apache/cassandra/thrift/CounterColumn;
18 19 5 e Lorg/apache/cassandra/db/UnknownColumnException;
Exception table:
from to target type
0 16 17 Class org.apache.cassandra.db.UnknownColumnException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;I)V
MethodParameters:
Name Flags
cells
cfm
cosc
nowInSec
private void addRange(org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo, org.apache.cassandra.db.ClusteringBound, org.apache.cassandra.db.ClusteringBound, long, int);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;JI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aload 2
aload 1
new org.apache.cassandra.db.RangeTombstone
dup
aload 3
aload 4
invokestatic org.apache.cassandra.db.Slice.make:(Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;)Lorg/apache/cassandra/db/Slice;
new org.apache.cassandra.db.DeletionTime
dup
lload 5
iload 7
invokespecial org.apache.cassandra.db.DeletionTime.<init>:(JI)V
invokespecial org.apache.cassandra.db.RangeTombstone.<init>:(Lorg/apache/cassandra/db/Slice;Lorg/apache/cassandra/db/DeletionTime;)V
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo.add:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/RangeTombstone;)V
1: return
end local 7 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 2 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 2 1 cfm Lorg/apache/cassandra/config/CFMetaData;
0 2 2 delInfo Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;
0 2 3 start Lorg/apache/cassandra/db/ClusteringBound;
0 2 4 end Lorg/apache/cassandra/db/ClusteringBound;
0 2 5 timestamp J
0 2 7 nowInSec I
MethodParameters:
Name Flags
cfm
delInfo
start
end
timestamp
nowInSec
private void deleteColumnOrSuperColumn(org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo, java.util.List<org.apache.cassandra.db.LegacyLayout$LegacyCell>, org.apache.cassandra.config.CFMetaData, org.apache.cassandra.thrift.Deletion, );
descriptor: (Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;Ljava/util/List;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/Deletion;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
getfield org.apache.cassandra.thrift.Deletion.predicate:Lorg/apache/cassandra/thrift/SlicePredicate;
ifnull 13
aload 4
getfield org.apache.cassandra.thrift.Deletion.predicate:Lorg/apache/cassandra/thrift/SlicePredicate;
getfield org.apache.cassandra.thrift.SlicePredicate.column_names:Ljava/util/List;
ifnull 13
1: aload 4
getfield org.apache.cassandra.thrift.Deletion.predicate:Lorg/apache/cassandra/thrift/SlicePredicate;
getfield org.apache.cassandra.thrift.SlicePredicate.column_names:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.Deletion int top java.util.Iterator
StackMap stack:
2: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 6
start local 6 3: aload 4
getfield org.apache.cassandra.thrift.Deletion.super_column:Ljava/nio/ByteBuffer;
ifnonnull 5
aload 3
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 5
4: aload 0
aload 3
aload 1
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 6
aastore
invokestatic org.apache.cassandra.db.ClusteringBound.inclusiveStartOf:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/ClusteringBound;
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 6
aastore
invokestatic org.apache.cassandra.db.ClusteringBound.inclusiveEndOf:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/ClusteringBound;
aload 4
getfield org.apache.cassandra.thrift.Deletion.timestamp:J
iload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.addRange:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;JI)V
goto 11
5: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.Deletion int java.nio.ByteBuffer java.util.Iterator
StackMap stack:
aload 4
getfield org.apache.cassandra.thrift.Deletion.super_column:Ljava/nio/ByteBuffer;
ifnull 7
6: aload 2
aload 0
aload 3
aload 4
getfield org.apache.cassandra.thrift.Deletion.super_column:Ljava/nio/ByteBuffer;
aload 6
aload 4
getfield org.apache.cassandra.thrift.Deletion.timestamp:J
iload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.toLegacyDeletion:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;JI)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
goto 11
7: StackMap locals:
StackMap stack:
aload 2
aload 0
aload 3
aload 6
aload 4
getfield org.apache.cassandra.thrift.Deletion.timestamp:J
iload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.toLegacyDeletion:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;JI)Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: goto 11
9: StackMap locals:
StackMap stack: org.apache.cassandra.db.UnknownColumnException
astore 8
start local 8 10: new org.apache.cassandra.thrift.InvalidRequestException
dup
aload 8
invokevirtual org.apache.cassandra.db.UnknownColumnException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 8 end local 6 11: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.Deletion int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: goto 23
13: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo java.util.List org.apache.cassandra.config.CFMetaData org.apache.cassandra.thrift.Deletion int
StackMap stack:
aload 4
getfield org.apache.cassandra.thrift.Deletion.predicate:Lorg/apache/cassandra/thrift/SlicePredicate;
ifnull 20
aload 4
getfield org.apache.cassandra.thrift.Deletion.predicate:Lorg/apache/cassandra/thrift/SlicePredicate;
getfield org.apache.cassandra.thrift.SlicePredicate.slice_range:Lorg/apache/cassandra/thrift/SliceRange;
ifnull 20
14: aload 4
getfield org.apache.cassandra.thrift.Deletion.super_column:Ljava/nio/ByteBuffer;
ifnonnull 19
15: aload 3
aload 4
getfield org.apache.cassandra.thrift.Deletion.predicate:Lorg/apache/cassandra/thrift/SlicePredicate;
invokevirtual org.apache.cassandra.thrift.SlicePredicate.getSlice_range:()Lorg/apache/cassandra/thrift/SliceRange;
getfield org.apache.cassandra.thrift.SliceRange.start:Ljava/nio/ByteBuffer;
iconst_1
invokestatic org.apache.cassandra.db.LegacyLayout.decodeTombstoneBound:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Z)Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
astore 6
start local 6 16: aload 3
aload 4
getfield org.apache.cassandra.thrift.Deletion.predicate:Lorg/apache/cassandra/thrift/SlicePredicate;
invokevirtual org.apache.cassandra.thrift.SlicePredicate.getSlice_range:()Lorg/apache/cassandra/thrift/SliceRange;
getfield org.apache.cassandra.thrift.SliceRange.finish:Ljava/nio/ByteBuffer;
iconst_0
invokestatic org.apache.cassandra.db.LegacyLayout.decodeTombstoneBound:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Z)Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
astore 7
start local 7 17: aload 1
aload 3
new org.apache.cassandra.db.LegacyLayout$LegacyRangeTombstone
dup
aload 6
aload 7
new org.apache.cassandra.db.DeletionTime
dup
aload 4
getfield org.apache.cassandra.thrift.Deletion.timestamp:J
iload 5
invokespecial org.apache.cassandra.db.DeletionTime.<init>:(JI)V
invokespecial org.apache.cassandra.db.LegacyLayout$LegacyRangeTombstone.<init>:(Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;Lorg/apache/cassandra/db/DeletionTime;)V
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo.add:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyRangeTombstone;)V
end local 7 end local 6 18: goto 23
19: StackMap locals:
StackMap stack:
new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "Cannot delete a range of subcolumns in a super column"
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 4
getfield org.apache.cassandra.thrift.Deletion.super_column:Ljava/nio/ByteBuffer;
ifnull 22
21: aload 0
aload 3
aload 1
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 4
getfield org.apache.cassandra.thrift.Deletion.super_column:Ljava/nio/ByteBuffer;
aastore
invokestatic org.apache.cassandra.db.ClusteringBound.inclusiveStartOf:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/ClusteringBound;
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 4
getfield org.apache.cassandra.thrift.Deletion.super_column:Ljava/nio/ByteBuffer;
aastore
invokestatic org.apache.cassandra.db.ClusteringBound.inclusiveEndOf:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/ClusteringBound;
aload 4
getfield org.apache.cassandra.thrift.Deletion.timestamp:J
iload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.addRange:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;JI)V
goto 23
22: StackMap locals:
StackMap stack:
aload 1
new org.apache.cassandra.db.DeletionTime
dup
aload 4
getfield org.apache.cassandra.thrift.Deletion.timestamp:J
iload 5
invokespecial org.apache.cassandra.db.DeletionTime.<init>:(JI)V
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo.add:(Lorg/apache/cassandra/db/DeletionTime;)V
23: StackMap locals:
StackMap stack:
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 24 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 24 1 delInfo Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;
0 24 2 cells Ljava/util/List<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;
0 24 3 cfm Lorg/apache/cassandra/config/CFMetaData;
0 24 4 del Lorg/apache/cassandra/thrift/Deletion;
0 24 5 nowInSec I
3 11 6 c Ljava/nio/ByteBuffer;
10 11 8 e Lorg/apache/cassandra/db/UnknownColumnException;
16 18 6 start Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
17 18 7 end Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
Exception table:
from to target type
3 8 9 Class org.apache.cassandra.db.UnknownColumnException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException
Signature: (Lorg/apache/cassandra/db/LegacyLayout$LegacyDeletionInfo;Ljava/util/List<Lorg/apache/cassandra/db/LegacyLayout$LegacyCell;>;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/Deletion;I)V
MethodParameters:
Name Flags
delInfo
cells
cfm
del
nowInSec
public void batch_mutate(java.util.Map<java.nio.ByteBuffer, java.util.Map<java.lang.String, java.util.List<org.apache.cassandra.thrift.Mutation>>>, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/util/Map;Lorg/apache/cassandra/thrift/ConsistencyLevel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.nanoTime:()J
lstore 3
start local 3 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 12
2: invokestatic com.google.common.collect.Maps.newLinkedHashMap:()Ljava/util/LinkedHashMap;
astore 5
start local 5 3: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.Map org.apache.cassandra.thrift.ConsistencyLevel long java.util.Map top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 5: aload 5
aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
6: ldc ";"
invokestatic com.google.common.base.Joiner.on:(Ljava/lang/String;)Lcom/google/common/base/Joiner;
ldc ":"
invokevirtual com.google.common.base.Joiner.withKeyValueSeparator:(Ljava/lang/String;)Lcom/google/common/base/Joiner$MapJoiner;
aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Map
invokevirtual com.google.common.base.Joiner$MapJoiner.join:(Ljava/util/Map;)Ljava/lang/String;
7: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 5
ldc "consistency_level"
aload 2
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "batch_mutate"
aload 5
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 5 11: goto 13
12: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.Map org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "batch_mutate"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 0
aload 2
aload 1
iconst_1
invokevirtual org.apache.cassandra.thrift.CassandraServer.createMutationList:(Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/Map;Z)Ljava/util/List;
lload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.doInsert:(Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List;J)V
14: goto 20
15: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 5
start local 5 16: aload 5
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 5 17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
18: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
19: aload 6
athrow
20: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
21: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 22 1 mutation_map Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;>;
0 22 2 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 22 3 queryStartNanoTime J
3 11 5 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 8 6 mutationEntry Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;>;
16 17 5 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
13 14 15 Class org.apache.cassandra.exceptions.RequestValidationException
13 17 17 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;>;Lorg/apache/cassandra/thrift/ConsistencyLevel;)V
MethodParameters:
Name Flags
mutation_map
consistency_level
public void atomic_batch_mutate(java.util.Map<java.nio.ByteBuffer, java.util.Map<java.lang.String, java.util.List<org.apache.cassandra.thrift.Mutation>>>, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/util/Map;Lorg/apache/cassandra/thrift/ConsistencyLevel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.nanoTime:()J
lstore 3
start local 3 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 12
2: invokestatic com.google.common.collect.Maps.newLinkedHashMap:()Ljava/util/LinkedHashMap;
astore 5
start local 5 3: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.Map org.apache.cassandra.thrift.ConsistencyLevel long java.util.Map top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 5: aload 5
aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
6: ldc ";"
invokestatic com.google.common.base.Joiner.on:(Ljava/lang/String;)Lcom/google/common/base/Joiner;
ldc ":"
invokevirtual com.google.common.base.Joiner.withKeyValueSeparator:(Ljava/lang/String;)Lcom/google/common/base/Joiner$MapJoiner;
aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Map
invokevirtual com.google.common.base.Joiner$MapJoiner.join:(Ljava/util/Map;)Ljava/lang/String;
7: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 5
ldc "consistency_level"
aload 2
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "atomic_batch_mutate"
aload 5
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 5 11: goto 13
12: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.Map org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "atomic_batch_mutate"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 0
aload 2
aload 1
iconst_0
invokevirtual org.apache.cassandra.thrift.CassandraServer.createMutationList:(Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/Map;Z)Ljava/util/List;
iconst_1
lload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.doInsert:(Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List;ZJ)V
14: goto 20
15: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 5
start local 5 16: aload 5
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 5 17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
18: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
19: aload 6
athrow
20: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
21: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 22 1 mutation_map Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;>;
0 22 2 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 22 3 queryStartNanoTime J
3 11 5 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 8 6 mutationEntry Ljava/util/Map$Entry<Ljava/nio/ByteBuffer;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;>;
16 17 5 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
13 14 15 Class org.apache.cassandra.exceptions.RequestValidationException
13 17 17 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Ljava/util/Map<Ljava/nio/ByteBuffer;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/cassandra/thrift/Mutation;>;>;>;Lorg/apache/cassandra/thrift/ConsistencyLevel;)V
MethodParameters:
Name Flags
mutation_map
consistency_level
private void internal_remove(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnPath, long, org.apache.cassandra.thrift.ConsistencyLevel, boolean, long);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnPath;JLorg/apache/cassandra/thrift/ConsistencyLevel;ZJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=18, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 start local 7 0: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 9
start local 9 1: aload 9
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 10
start local 10 2: aload 9
aload 10
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.MODIFY:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
3: aload 10
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column_family:Ljava/lang/String;
iload 6
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/cassandra/config/CFMetaData;
astore 11
start local 11 4: aload 11
invokevirtual org.apache.cassandra.config.CFMetaData.isView:()Z
ifeq 6
5: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot modify Materialized Views directly"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 11
aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKey:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)V
7: aload 11
aload 2
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnPathOrParent:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnPath;)V
8: iload 6
ifeq 10
9: aload 5
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
aload 11
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateCounterForWrite:(Lorg/apache/cassandra/config/CFMetaData;)V
10: StackMap locals:
StackMap stack:
aload 11
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 12
start local 12 11: invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
istore 13
start local 13 12: aload 2
getfield org.apache.cassandra.thrift.ColumnPath.super_column:Ljava/nio/ByteBuffer;
ifnonnull 15
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column:Ljava/nio/ByteBuffer;
ifnonnull 15
13: aload 11
aload 12
lload 3
iload 13
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.fullPartitionDelete:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;JI)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
astore 14
start local 14 14: goto 28
end local 14 15: StackMap locals: org.apache.cassandra.db.DecoratedKey int
StackMap stack:
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.super_column:Ljava/nio/ByteBuffer;
ifnull 19
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column:Ljava/nio/ByteBuffer;
ifnonnull 19
16: iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.super_column:Ljava/nio/ByteBuffer;
aastore
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
new org.apache.cassandra.db.DeletionTime
dup
lload 3
iload 13
invokespecial org.apache.cassandra.db.DeletionTime.<init>:(JI)V
invokestatic org.apache.cassandra.db.rows.Row$Deletion.regular:(Lorg/apache/cassandra/db/DeletionTime;)Lorg/apache/cassandra/db/rows/Row$Deletion;
invokestatic org.apache.cassandra.db.rows.BTreeRow.emptyDeletedRow:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/rows/Row$Deletion;)Lorg/apache/cassandra/db/rows/BTreeRow;
astore 15
start local 15 17: aload 11
aload 12
aload 15
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.singleRowUpdate:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
astore 14
end local 15 start local 14 18: goto 28
end local 14 19: StackMap locals:
StackMap stack:
aload 11
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.super_column:Ljava/nio/ByteBuffer;
aload 2
getfield org.apache.cassandra.thrift.ColumnPath.column:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.LegacyLayout.decodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
astore 15
start local 15 20: aload 15
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.collectionElement:Ljava/nio/ByteBuffer;
ifnonnull 21
aconst_null
goto 22
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath long org.apache.cassandra.thrift.ConsistencyLevel int long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.DecoratedKey int top org.apache.cassandra.db.LegacyLayout$LegacyCellName
StackMap stack:
21: aload 15
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.collectionElement:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
StackMap locals:
StackMap stack: org.apache.cassandra.db.rows.CellPath
22: astore 16
start local 16 23: aload 15
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.column:Lorg/apache/cassandra/config/ColumnDefinition;
lload 3
iload 13
aload 16
invokestatic org.apache.cassandra.db.rows.BufferCell.tombstone:(Lorg/apache/cassandra/config/ColumnDefinition;JILorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/BufferCell;
astore 17
start local 17 24: aload 11
aload 12
aload 15
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
aload 17
invokestatic org.apache.cassandra.db.rows.BTreeRow.singleCellRow:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/rows/Cell;)Lorg/apache/cassandra/db/rows/BTreeRow;
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.singleRowUpdate:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/DecoratedKey;Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
astore 14
end local 17 end local 16 end local 15 start local 14 25: goto 28
end local 14 26: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnPath long org.apache.cassandra.thrift.ConsistencyLevel int long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.DecoratedKey int
StackMap stack: org.apache.cassandra.db.UnknownColumnException
astore 15
start local 15 27: new org.apache.cassandra.exceptions.InvalidRequestException
dup
aload 15
invokevirtual org.apache.cassandra.db.UnknownColumnException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 15 start local 14 28: StackMap locals: org.apache.cassandra.db.partitions.PartitionUpdate
StackMap stack:
new org.apache.cassandra.db.Mutation
dup
aload 14
invokespecial org.apache.cassandra.db.Mutation.<init>:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
astore 15
start local 15 29: iload 6
ifeq 31
30: aload 0
aload 5
new org.apache.cassandra.db.CounterMutation
dup
aload 15
aload 5
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
invokespecial org.apache.cassandra.db.CounterMutation.<init>:(Lorg/apache/cassandra/db/Mutation;Lorg/apache/cassandra/db/ConsistencyLevel;)V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
lload 7
invokevirtual org.apache.cassandra.thrift.CassandraServer.doInsert:(Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List;J)V
goto 32
31: StackMap locals: org.apache.cassandra.db.Mutation
StackMap stack:
aload 0
aload 5
aload 15
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
lload 7
invokevirtual org.apache.cassandra.thrift.CassandraServer.doInsert:(Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List;J)V
32: StackMap locals:
StackMap stack:
return
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 33 1 key Ljava/nio/ByteBuffer;
0 33 2 column_path Lorg/apache/cassandra/thrift/ColumnPath;
0 33 3 timestamp J
0 33 5 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
0 33 6 isCommutativeOp Z
0 33 7 queryStartNanoTime J
1 33 9 cState Lorg/apache/cassandra/thrift/ThriftClientState;
2 33 10 keyspace Ljava/lang/String;
4 33 11 metadata Lorg/apache/cassandra/config/CFMetaData;
11 33 12 dk Lorg/apache/cassandra/db/DecoratedKey;
12 33 13 nowInSec I
14 15 14 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
18 19 14 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
25 26 14 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
28 33 14 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
17 18 15 row Lorg/apache/cassandra/db/rows/Row;
20 25 15 name Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
23 25 16 path Lorg/apache/cassandra/db/rows/CellPath;
24 25 17 cell Lorg/apache/cassandra/db/rows/Cell;
27 28 15 e Lorg/apache/cassandra/db/UnknownColumnException;
29 33 15 mutation Lorg/apache/cassandra/db/Mutation;
Exception table:
from to target type
19 25 26 Class org.apache.cassandra.db.UnknownColumnException
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
MethodParameters:
Name Flags
key
column_path
timestamp
consistency_level
isCommutativeOp
queryStartNanoTime
public void remove(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnPath, long, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnPath;JLorg/apache/cassandra/thrift/ConsistencyLevel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: invokestatic java.lang.System.nanoTime:()J
lstore 6
start local 6 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 9
2: ldc "key"
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
3: ldc "column_path"
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnPath.toString:()Ljava/lang/String;
4: ldc "timestamp"
new java.lang.StringBuilder
dup
lload 3
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: ldc "consistency_level"
aload 5
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
6: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 8
start local 8 7: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "remove"
aload 8
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 8 8: goto 10
9: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "remove"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
lload 3
aload 5
iconst_0
lload 6
invokevirtual org.apache.cassandra.thrift.CassandraServer.internal_remove:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnPath;JLorg/apache/cassandra/thrift/ConsistencyLevel;ZJ)V
11: goto 17
12: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 8
start local 8 13: aload 8
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 8 14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
15: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
16: aload 9
athrow
17: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
18: return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 19 1 key Ljava/nio/ByteBuffer;
0 19 2 column_path Lorg/apache/cassandra/thrift/ColumnPath;
0 19 3 timestamp J
0 19 5 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 19 6 queryStartNanoTime J
7 8 8 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
13 14 8 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
10 11 12 Class org.apache.cassandra.exceptions.RequestValidationException
10 14 14 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
MethodParameters:
Name Flags
key
column_path
timestamp
consistency_level
private void doInsert(org.apache.cassandra.thrift.ConsistencyLevel, java.util.List<? extends org.apache.cassandra.db.IMutation>, );
descriptor: (Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_0
lload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.doInsert:(Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List;ZJ)V
1: return
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/thrift/CassandraServer;
0 2 1 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
0 2 2 mutations Ljava/util/List<+Lorg/apache/cassandra/db/IMutation;>;
0 2 3 queryStartNanoTime J
Exceptions:
throws org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException, org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List<+Lorg/apache/cassandra/db/IMutation;>;J)V
MethodParameters:
Name Flags
consistency_level
mutations
queryStartNanoTime
private void doInsert(org.apache.cassandra.thrift.ConsistencyLevel, java.util.List<? extends org.apache.cassandra.db.IMutation>, boolean, );
descriptor: (Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List;ZJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
astore 6
start local 6 1: aload 6
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateForWrite:(Ljava/lang/String;)V
2: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: return
4: StackMap locals: org.apache.cassandra.db.ConsistencyLevel
StackMap stack:
ldc 9223372036854775807
lstore 7
start local 7 5: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 8
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.List int long org.apache.cassandra.db.ConsistencyLevel long top java.util.Iterator
StackMap stack:
6: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.IMutation
astore 9
start local 9 7: iconst_2
newarray 11
dup
iconst_0
lload 7
lastore
dup
iconst_1
aload 9
invokeinterface org.apache.cassandra.db.IMutation.getTimeout:()J
lastore
invokestatic com.google.common.primitives.Longs.min:([J)J
lstore 7
end local 9 8: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 0
lload 7
invokevirtual org.apache.cassandra.thrift.CassandraServer.schedule:(J)V
10: aload 2
aload 6
iload 3
lload 4
invokestatic org.apache.cassandra.service.StorageProxy.mutateWithTriggers:(Ljava/util/Collection;Lorg/apache/cassandra/db/ConsistencyLevel;ZJ)V
11: goto 18
12: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ConsistencyLevel java.util.List int long org.apache.cassandra.db.ConsistencyLevel long
StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
astore 9
start local 9 13: aload 9
invokestatic org.apache.cassandra.thrift.ThriftConversion.rethrow:(Lorg/apache/cassandra/exceptions/RequestExecutionException;)Ljava/lang/RuntimeException;
pop
end local 9 14: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
goto 19
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
16: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
17: aload 10
athrow
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
19: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 20 1 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
0 20 2 mutations Ljava/util/List<+Lorg/apache/cassandra/db/IMutation;>;
0 20 3 mutateAtomically Z
0 20 4 queryStartNanoTime J
1 20 6 consistencyLevel Lorg/apache/cassandra/db/ConsistencyLevel;
5 20 7 timeout J
7 8 9 m Lorg/apache/cassandra/db/IMutation;
13 14 9 e Lorg/apache/cassandra/exceptions/RequestExecutionException;
Exception table:
from to target type
10 11 12 Class org.apache.cassandra.exceptions.RequestExecutionException
10 14 15 any
Exceptions:
throws org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException, org.apache.cassandra.exceptions.InvalidRequestException
Signature: (Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List<+Lorg/apache/cassandra/db/IMutation;>;ZJ)V
MethodParameters:
Name Flags
consistency_level
mutations
mutateAtomically
queryStartNanoTime
private void validateLogin();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.validateLogin:()V
1: goto 4
2: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.UnauthorizedException
astore 1
start local 1 3: new org.apache.cassandra.thrift.InvalidRequestException
dup
aload 1
invokevirtual org.apache.cassandra.exceptions.UnauthorizedException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/thrift/CassandraServer;
3 4 1 e Lorg/apache/cassandra/exceptions/UnauthorizedException;
Exception table:
from to target type
0 1 2 Class org.apache.cassandra.exceptions.UnauthorizedException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException
public org.apache.cassandra.thrift.KsDef describe_keyspace(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/thrift/KsDef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.validateLogin:()V
1: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 1
invokevirtual org.apache.cassandra.config.Schema.getKSMetaData:(Ljava/lang/String;)Lorg/apache/cassandra/schema/KeyspaceMetadata;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: new org.apache.cassandra.thrift.NotFoundException
dup
invokespecial org.apache.cassandra.thrift.NotFoundException.<init>:()V
athrow
4: StackMap locals: org.apache.cassandra.schema.KeyspaceMetadata
StackMap stack:
aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/schema/KeyspaceMetadata;)Lorg/apache/cassandra/thrift/KsDef;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 5 1 keyspaceName Ljava/lang/String;
2 5 2 ksm Lorg/apache/cassandra/schema/KeyspaceMetadata;
Exceptions:
throws org.apache.cassandra.thrift.NotFoundException, org.apache.cassandra.thrift.InvalidRequestException
MethodParameters:
Name Flags
keyspaceName
public java.util.List<org.apache.cassandra.thrift.KeySlice> get_range_slices(org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.KeyRange, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/KeyRange;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=24, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 9
2: ldc "column_parent"
aload 1
invokevirtual org.apache.cassandra.thrift.ColumnParent.toString:()Ljava/lang/String;
3: ldc "predicate"
aload 2
invokevirtual org.apache.cassandra.thrift.SlicePredicate.toString:()Ljava/lang/String;
4: ldc "range"
aload 3
invokevirtual org.apache.cassandra.thrift.KeyRange.toString:()Ljava/lang/String;
5: ldc "consistency_level"
aload 4
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
6: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 7
start local 7 7: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "get_range_slices"
aload 7
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 7 8: goto 10
9: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "range_slice"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 11: aload 7
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 8
start local 8 12: aload 7
aload 8
aload 1
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
13: aload 8
aload 1
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 9
start local 9 14: aload 9
aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnParent:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;)V
15: aload 9
aload 1
aload 2
invokestatic org.apache.cassandra.thrift.ThriftValidation.validatePredicate:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)V
16: aload 9
aload 1
getfield org.apache.cassandra.thrift.ColumnParent.super_column:Ljava/nio/ByteBuffer;
aload 3
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKeyRange:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/KeyRange;)V
17: aload 4
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
astore 10
start local 10 18: aload 10
aload 8
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateForRead:(Ljava/lang/String;)V
19: aload 9
getfield org.apache.cassandra.config.CFMetaData.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
astore 11
start local 11 20: aload 3
getfield org.apache.cassandra.thrift.KeyRange.start_key:Ljava/nio/ByteBuffer;
ifnonnull 26
21: aload 11
invokeinterface org.apache.cassandra.dht.IPartitioner.getTokenFactory:()Lorg/apache/cassandra/dht/Token$TokenFactory;
astore 13
start local 13 22: aload 13
aload 3
getfield org.apache.cassandra.thrift.KeyRange.start_token:Ljava/lang/String;
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromString:(Ljava/lang/String;)Lorg/apache/cassandra/dht/Token;
astore 14
start local 14 23: aload 13
aload 3
getfield org.apache.cassandra.thrift.KeyRange.end_token:Ljava/lang/String;
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromString:(Ljava/lang/String;)Lorg/apache/cassandra/dht/Token;
astore 15
start local 15 24: aload 14
aload 15
invokestatic org.apache.cassandra.dht.Range.makeRowRange:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/dht/Range;
astore 12
end local 15 end local 14 end local 13 start local 12 25: goto 31
end local 12 26: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.KeyRange org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner
StackMap stack:
aload 3
getfield org.apache.cassandra.thrift.KeyRange.end_key:Ljava/nio/ByteBuffer;
ifnonnull 28
27: aload 11
invokeinterface org.apache.cassandra.dht.IPartitioner.getTokenFactory:()Lorg/apache/cassandra/dht/Token$TokenFactory;
aload 3
getfield org.apache.cassandra.thrift.KeyRange.end_token:Ljava/lang/String;
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromString:(Ljava/lang/String;)Lorg/apache/cassandra/dht/Token;
invokevirtual org.apache.cassandra.dht.Token.maxKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
goto 29
28: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.cassandra.thrift.KeyRange.end_key:Ljava/nio/ByteBuffer;
aload 11
invokestatic org.apache.cassandra.db.PartitionPosition$ForKey.get:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/db/PartitionPosition;
29: StackMap locals:
StackMap stack: org.apache.cassandra.db.PartitionPosition
astore 13
start local 13 30: new org.apache.cassandra.dht.Bounds
dup
aload 3
getfield org.apache.cassandra.thrift.KeyRange.start_key:Ljava/nio/ByteBuffer;
aload 11
invokestatic org.apache.cassandra.db.PartitionPosition$ForKey.get:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/db/PartitionPosition;
aload 13
invokespecial org.apache.cassandra.dht.Bounds.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
astore 12
end local 13 start local 12 31: StackMap locals: org.apache.cassandra.dht.AbstractBounds
StackMap stack:
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
istore 13
start local 13 32: aload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRangeRpcTimeout:()J
invokevirtual org.apache.cassandra.thrift.CassandraServer.schedule:(J)V
33: aload 0
aload 9
aload 1
aload 2
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeColumnFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 14
start local 14 34: aload 0
aload 9
aload 1
aload 2
invokevirtual org.apache.cassandra.thrift.CassandraServer.toInternalFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
astore 15
start local 15 35: aload 0
aload 3
getfield org.apache.cassandra.thrift.KeyRange.count:I
aload 9
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 36
aload 1
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
ifne 36
iconst_1
goto 37
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.KeyRange org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter
StackMap stack: org.apache.cassandra.thrift.CassandraServer int
36: iconst_0
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.KeyRange org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter
StackMap stack: org.apache.cassandra.thrift.CassandraServer int int
37: aload 2
invokevirtual org.apache.cassandra.thrift.CassandraServer.getLimits:(IZLorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/DataLimits;
astore 16
start local 16 38: iconst_1
39: aload 9
40: iload 13
41: aload 14
42: aload 9
aload 3
getfield org.apache.cassandra.thrift.KeyRange.row_filter:Ljava/util/List;
invokestatic org.apache.cassandra.thrift.ThriftConversion.rowFilterFromThrift:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;)Lorg/apache/cassandra/db/filter/RowFilter;
43: aload 16
44: new org.apache.cassandra.db.DataRange
dup
aload 12
aload 15
invokespecial org.apache.cassandra.db.DataRange.<init>:(Lorg/apache/cassandra/dht/AbstractBounds;Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;)V
45: invokestatic org.apache.cassandra.db.PartitionRangeReadCommand.create:(ZLorg/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/DataRange;)Lorg/apache/cassandra/db/PartitionRangeReadCommand;
46: astore 17
start local 17 47: aconst_null
astore 18
aconst_null
astore 19
48: aload 17
aload 10
lload 5
invokestatic org.apache.cassandra.service.StorageProxy.getRangeSlice:(Lorg/apache/cassandra/db/PartitionRangeReadCommand;Lorg/apache/cassandra/db/ConsistencyLevel;J)Lorg/apache/cassandra/db/partitions/PartitionIterator;
astore 20
start local 20 49: getstatic org.apache.cassandra.thrift.CassandraServer.$assertionsDisabled:Z
ifne 50
aload 20
ifnonnull 50
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
50: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.KeyRange org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.filter.DataLimits org.apache.cassandra.db.PartitionRangeReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator
StackMap stack:
aload 0
aload 20
aload 1
aload 16
invokevirtual org.apache.cassandra.db.filter.DataLimits.perPartitionCount:()I
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyKeySlices:(Lorg/apache/cassandra/db/partitions/PartitionIterator;Lorg/apache/cassandra/thrift/ColumnParent;I)Ljava/util/List;
astore 22
51: aload 20
ifnull 52
aload 20
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
52: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.KeyRange org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.filter.DataLimits org.apache.cassandra.db.PartitionRangeReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator top java.util.List
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
53: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
54: aload 22
areturn
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.KeyRange org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.filter.DataLimits org.apache.cassandra.db.PartitionRangeReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator
StackMap stack: java.lang.Throwable
55: astore 18
56: aload 20
ifnull 57
aload 20
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
end local 20 StackMap locals:
StackMap stack:
57: aload 18
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
58: astore 19
aload 18
ifnonnull 59
aload 19
astore 18
goto 60
StackMap locals:
StackMap stack:
59: aload 18
aload 19
if_acmpeq 60
aload 18
aload 19
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
60: aload 18
athrow
end local 17 end local 16 end local 15 end local 14 61: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.KeyRange org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int
StackMap stack: java.lang.Throwable
astore 21
62: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
63: aload 21
athrow
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 64: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.KeyRange org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 7
start local 7 65: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 7 66: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
astore 7
start local 7 67: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.rethrow:(Lorg/apache/cassandra/exceptions/RequestExecutionException;)Ljava/lang/RuntimeException;
athrow
end local 7 68: StackMap locals:
StackMap stack: java.lang.Throwable
astore 23
69: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
70: aload 23
athrow
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 71 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 71 1 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 71 2 predicate Lorg/apache/cassandra/thrift/SlicePredicate;
0 71 3 range Lorg/apache/cassandra/thrift/KeyRange;
0 71 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 71 5 queryStartNanoTime J
7 8 7 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
11 64 7 cState Lorg/apache/cassandra/thrift/ThriftClientState;
12 64 8 keyspace Ljava/lang/String;
14 64 9 metadata Lorg/apache/cassandra/config/CFMetaData;
18 64 10 consistencyLevel Lorg/apache/cassandra/db/ConsistencyLevel;
20 64 11 p Lorg/apache/cassandra/dht/IPartitioner;
25 26 12 bounds Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
31 64 12 bounds Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
22 25 13 tokenFactory Lorg/apache/cassandra/dht/Token$TokenFactory;
23 25 14 left Lorg/apache/cassandra/dht/Token;
24 25 15 right Lorg/apache/cassandra/dht/Token;
30 31 13 end Lorg/apache/cassandra/db/PartitionPosition;
32 64 13 nowInSec I
34 61 14 columns Lorg/apache/cassandra/db/filter/ColumnFilter;
35 61 15 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
38 61 16 limits Lorg/apache/cassandra/db/filter/DataLimits;
47 61 17 cmd Lorg/apache/cassandra/db/PartitionRangeReadCommand;
49 57 20 results Lorg/apache/cassandra/db/partitions/PartitionIterator;
65 66 7 e Lorg/apache/cassandra/exceptions/RequestValidationException;
67 68 7 e Lorg/apache/cassandra/exceptions/RequestExecutionException;
Exception table:
from to target type
49 51 55 any
48 52 58 any
55 58 58 any
33 52 61 any
55 61 61 any
10 53 64 Class org.apache.cassandra.exceptions.RequestValidationException
55 64 64 Class org.apache.cassandra.exceptions.RequestValidationException
10 53 66 Class org.apache.cassandra.exceptions.RequestExecutionException
55 64 66 Class org.apache.cassandra.exceptions.RequestExecutionException
10 53 68 any
55 68 68 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.thrift.TException, org.apache.cassandra.thrift.TimedOutException
Signature: (Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/KeyRange;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/List<Lorg/apache/cassandra/thrift/KeySlice;>;
MethodParameters:
Name Flags
column_parent
predicate
range
consistency_level
public java.util.List<org.apache.cassandra.thrift.KeySlice> get_paged_slice(java.lang.String, org.apache.cassandra.thrift.KeyRange, java.nio.ByteBuffer, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/thrift/KeyRange;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=24, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 9
2: ldc "column_family"
aload 1
3: ldc "range"
aload 2
invokevirtual org.apache.cassandra.thrift.KeyRange.toString:()Ljava/lang/String;
4: ldc "start_column"
aload 3
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
5: ldc "consistency_level"
aload 4
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
6: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 7
start local 7 7: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "get_paged_slice"
aload 7
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 7 8: goto 10
9: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "get_paged_slice"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 11: aload 7
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 8
start local 8 12: aload 7
aload 8
aload 1
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
13: aload 8
aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 9
start local 9 14: aload 9
aconst_null
aload 2
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKeyRange:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/KeyRange;)V
15: aload 4
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
astore 10
start local 10 16: aload 10
aload 8
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateForRead:(Ljava/lang/String;)V
17: aload 9
getfield org.apache.cassandra.config.CFMetaData.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
astore 11
start local 11 18: aload 2
getfield org.apache.cassandra.thrift.KeyRange.start_key:Ljava/nio/ByteBuffer;
ifnonnull 24
19: aload 11
invokeinterface org.apache.cassandra.dht.IPartitioner.getTokenFactory:()Lorg/apache/cassandra/dht/Token$TokenFactory;
astore 13
start local 13 20: aload 13
aload 2
getfield org.apache.cassandra.thrift.KeyRange.start_token:Ljava/lang/String;
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromString:(Ljava/lang/String;)Lorg/apache/cassandra/dht/Token;
astore 14
start local 14 21: aload 13
aload 2
getfield org.apache.cassandra.thrift.KeyRange.end_token:Ljava/lang/String;
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromString:(Ljava/lang/String;)Lorg/apache/cassandra/dht/Token;
astore 15
start local 15 22: aload 14
aload 15
invokestatic org.apache.cassandra.dht.Range.makeRowRange:(Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/dht/Token;)Lorg/apache/cassandra/dht/Range;
astore 12
end local 15 end local 14 end local 13 start local 12 23: goto 29
end local 12 24: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String org.apache.cassandra.thrift.KeyRange java.nio.ByteBuffer org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner
StackMap stack:
aload 2
getfield org.apache.cassandra.thrift.KeyRange.end_key:Ljava/nio/ByteBuffer;
ifnonnull 26
25: aload 11
invokeinterface org.apache.cassandra.dht.IPartitioner.getTokenFactory:()Lorg/apache/cassandra/dht/Token$TokenFactory;
aload 2
getfield org.apache.cassandra.thrift.KeyRange.end_token:Ljava/lang/String;
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromString:(Ljava/lang/String;)Lorg/apache/cassandra/dht/Token;
invokevirtual org.apache.cassandra.dht.Token.maxKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
goto 27
26: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.cassandra.thrift.KeyRange.end_key:Ljava/nio/ByteBuffer;
aload 11
invokestatic org.apache.cassandra.db.PartitionPosition$ForKey.get:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/db/PartitionPosition;
27: StackMap locals:
StackMap stack: org.apache.cassandra.db.PartitionPosition
astore 13
start local 13 28: new org.apache.cassandra.dht.Bounds
dup
aload 2
getfield org.apache.cassandra.thrift.KeyRange.start_key:Ljava/nio/ByteBuffer;
aload 11
invokestatic org.apache.cassandra.db.PartitionPosition$ForKey.get:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/db/PartitionPosition;
aload 13
invokespecial org.apache.cassandra.dht.Bounds.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
astore 12
end local 13 start local 12 29: StackMap locals: org.apache.cassandra.dht.AbstractBounds
StackMap stack:
aload 2
getfield org.apache.cassandra.thrift.KeyRange.row_filter:Ljava/util/List;
ifnull 31
aload 2
getfield org.apache.cassandra.thrift.KeyRange.row_filter:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 31
30: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "Cross-row paging is not supported along with index clauses"
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
istore 13
start local 13 32: aload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRangeRpcTimeout:()J
invokevirtual org.apache.cassandra.thrift.CassandraServer.schedule:(J)V
33: 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
astore 14
start local 14 34: aload 0
aload 2
getfield org.apache.cassandra.thrift.KeyRange.count:I
iconst_1
ldc 2147483647
invokevirtual org.apache.cassandra.thrift.CassandraServer.getLimits:(IZI)Lorg/apache/cassandra/db/filter/DataLimits;
astore 15
start local 15 35: aload 9
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 37
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
36: aload 3
aastore
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
goto 38
37: StackMap locals: int org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.filter.DataLimits
StackMap stack:
aload 9
aload 3
invokestatic org.apache.cassandra.db.LegacyLayout.decodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
38: StackMap locals:
StackMap stack: org.apache.cassandra.db.Clustering
astore 16
start local 16 39: iconst_1
40: aload 9
41: iload 13
42: aload 9
invokestatic org.apache.cassandra.db.filter.ColumnFilter.all:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/filter/ColumnFilter;
43: getstatic org.apache.cassandra.db.filter.RowFilter.NONE:Lorg/apache/cassandra/db/filter/RowFilter;
44: aload 15
45: new org.apache.cassandra.db.DataRange
dup
aload 12
aload 14
invokespecial org.apache.cassandra.db.DataRange.<init>:(Lorg/apache/cassandra/dht/AbstractBounds;Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;)V
aload 12
aload 9
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 16
iconst_1
invokevirtual org.apache.cassandra.db.DataRange.forPaging:(Lorg/apache/cassandra/dht/AbstractBounds;Lorg/apache/cassandra/db/ClusteringComparator;Lorg/apache/cassandra/db/Clustering;Z)Lorg/apache/cassandra/db/DataRange;
46: invokestatic org.apache.cassandra.db.PartitionRangeReadCommand.create:(ZLorg/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/DataRange;)Lorg/apache/cassandra/db/PartitionRangeReadCommand;
47: astore 17
start local 17 48: aconst_null
astore 18
aconst_null
astore 19
49: aload 17
aload 10
lload 5
invokestatic org.apache.cassandra.service.StorageProxy.getRangeSlice:(Lorg/apache/cassandra/db/PartitionRangeReadCommand;Lorg/apache/cassandra/db/ConsistencyLevel;J)Lorg/apache/cassandra/db/partitions/PartitionIterator;
astore 20
start local 20 50: aload 0
aload 20
new org.apache.cassandra.thrift.ColumnParent
dup
aload 1
invokespecial org.apache.cassandra.thrift.ColumnParent.<init>:(Ljava/lang/String;)V
aload 15
invokevirtual org.apache.cassandra.db.filter.DataLimits.perPartitionCount:()I
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyKeySlices:(Lorg/apache/cassandra/db/partitions/PartitionIterator;Lorg/apache/cassandra/thrift/ColumnParent;I)Ljava/util/List;
astore 22
51: aload 20
ifnull 52
aload 20
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
52: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String org.apache.cassandra.thrift.KeyRange java.nio.ByteBuffer org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.filter.DataLimits org.apache.cassandra.db.Clustering org.apache.cassandra.db.PartitionRangeReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator top java.util.List
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
53: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
54: aload 22
areturn
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String org.apache.cassandra.thrift.KeyRange java.nio.ByteBuffer org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.filter.DataLimits org.apache.cassandra.db.Clustering org.apache.cassandra.db.PartitionRangeReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator
StackMap stack: java.lang.Throwable
55: astore 18
56: aload 20
ifnull 57
aload 20
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
end local 20 StackMap locals:
StackMap stack:
57: aload 18
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
58: astore 19
aload 18
ifnonnull 59
aload 19
astore 18
goto 60
StackMap locals:
StackMap stack:
59: aload 18
aload 19
if_acmpeq 60
aload 18
aload 19
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
60: aload 18
athrow
end local 17 end local 16 end local 15 end local 14 61: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String org.apache.cassandra.thrift.KeyRange java.nio.ByteBuffer org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int
StackMap stack: org.apache.cassandra.db.UnknownColumnException
astore 14
start local 14 62: new org.apache.cassandra.thrift.InvalidRequestException
dup
aload 14
invokevirtual org.apache.cassandra.db.UnknownColumnException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 14 63: StackMap locals:
StackMap stack: java.lang.Throwable
astore 21
64: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
65: aload 21
athrow
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 66: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String org.apache.cassandra.thrift.KeyRange java.nio.ByteBuffer org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 7
start local 7 67: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 7 68: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
astore 7
start local 7 69: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.rethrow:(Lorg/apache/cassandra/exceptions/RequestExecutionException;)Ljava/lang/RuntimeException;
athrow
end local 7 70: StackMap locals:
StackMap stack: java.lang.Throwable
astore 23
71: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
72: aload 23
athrow
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 73 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 73 1 column_family Ljava/lang/String;
0 73 2 range Lorg/apache/cassandra/thrift/KeyRange;
0 73 3 start_column Ljava/nio/ByteBuffer;
0 73 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 73 5 queryStartNanoTime J
7 8 7 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
11 66 7 cState Lorg/apache/cassandra/thrift/ThriftClientState;
12 66 8 keyspace Ljava/lang/String;
14 66 9 metadata Lorg/apache/cassandra/config/CFMetaData;
16 66 10 consistencyLevel Lorg/apache/cassandra/db/ConsistencyLevel;
18 66 11 p Lorg/apache/cassandra/dht/IPartitioner;
23 24 12 bounds Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
29 66 12 bounds Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
20 23 13 tokenFactory Lorg/apache/cassandra/dht/Token$TokenFactory;
21 23 14 left Lorg/apache/cassandra/dht/Token;
22 23 15 right Lorg/apache/cassandra/dht/Token;
28 29 13 end Lorg/apache/cassandra/db/PartitionPosition;
32 66 13 nowInSec I
34 61 14 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
35 61 15 limits Lorg/apache/cassandra/db/filter/DataLimits;
39 61 16 pageFrom Lorg/apache/cassandra/db/Clustering;
48 61 17 cmd Lorg/apache/cassandra/db/PartitionRangeReadCommand;
50 57 20 results Lorg/apache/cassandra/db/partitions/PartitionIterator;
62 63 14 e Lorg/apache/cassandra/db/UnknownColumnException;
67 68 7 e Lorg/apache/cassandra/exceptions/RequestValidationException;
69 70 7 e Lorg/apache/cassandra/exceptions/RequestExecutionException;
Exception table:
from to target type
50 51 55 any
49 52 58 any
55 58 58 any
33 52 61 Class org.apache.cassandra.db.UnknownColumnException
55 61 61 Class org.apache.cassandra.db.UnknownColumnException
33 52 63 any
55 63 63 any
10 53 66 Class org.apache.cassandra.exceptions.RequestValidationException
55 66 66 Class org.apache.cassandra.exceptions.RequestValidationException
10 53 68 Class org.apache.cassandra.exceptions.RequestExecutionException
55 66 68 Class org.apache.cassandra.exceptions.RequestExecutionException
10 53 70 any
55 70 70 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException, org.apache.thrift.TException
Signature: (Ljava/lang/String;Lorg/apache/cassandra/thrift/KeyRange;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/List<Lorg/apache/cassandra/thrift/KeySlice;>;
MethodParameters:
Name Flags
column_family
range
start_column
consistency_level
private java.util.List<org.apache.cassandra.thrift.KeySlice> thriftifyKeySlices(org.apache.cassandra.db.partitions.PartitionIterator, org.apache.cassandra.thrift.ColumnParent, int);
descriptor: (Lorg/apache/cassandra/db/partitions/PartitionIterator;Lorg/apache/cassandra/thrift/ColumnParent;I)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
aconst_null
astore 5
1: aload 1
astore 6
start local 6 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 3: goto 16
4: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.partitions.PartitionIterator org.apache.cassandra.thrift.ColumnParent int java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator java.util.List
StackMap stack:
aconst_null
astore 8
aconst_null
astore 9
5: aload 6
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.rows.RowIterator
astore 10
start local 10 6: aload 0
aload 10
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.super_column:Ljava/nio/ByteBuffer;
ifnull 7
iconst_1
goto 8
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.partitions.PartitionIterator org.apache.cassandra.thrift.ColumnParent int java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator java.util.List java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator
StackMap stack: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.rows.RowIterator
7: iconst_0
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.partitions.PartitionIterator org.apache.cassandra.thrift.ColumnParent int java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator java.util.List java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.rows.RowIterator
StackMap stack: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.rows.RowIterator int
8: aload 10
invokeinterface org.apache.cassandra.db.rows.RowIterator.isReverseOrder:()Z
iload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyPartition:(Lorg/apache/cassandra/db/rows/RowIterator;ZZI)Ljava/util/List;
astore 11
start local 11 9: aload 7
new org.apache.cassandra.thrift.KeySlice
dup
aload 10
invokeinterface org.apache.cassandra.db.rows.RowIterator.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
aload 11
invokespecial org.apache.cassandra.thrift.KeySlice.<init>:(Ljava/nio/ByteBuffer;Ljava/util/List;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 10: aload 10
ifnull 16
aload 10
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 8
aload 10
ifnull 12
aload 10
invokeinterface org.apache.cassandra.db.rows.RowIterator.close:()V
end local 10 StackMap locals:
StackMap stack:
12: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 9
aload 8
ifnonnull 14
aload 9
astore 8
goto 15
StackMap locals:
StackMap stack:
14: aload 8
aload 9
if_acmpeq 15
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 8
athrow
16: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.hasNext:()Z
ifne 4
17: aload 7
18: aload 6
ifnull 19
aload 6
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
19: StackMap locals:
StackMap stack: java.util.List
areturn
end local 7 StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.db.partitions.PartitionIterator org.apache.cassandra.thrift.ColumnParent int java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator
StackMap stack: java.lang.Throwable
20: astore 4
21: aload 6
ifnull 22
aload 6
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
end local 6 StackMap locals:
StackMap stack:
22: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 5
aload 4
ifnonnull 24
aload 5
astore 4
goto 25
StackMap locals:
StackMap stack:
24: aload 4
aload 5
if_acmpeq 25
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
25: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 26 1 results Lorg/apache/cassandra/db/partitions/PartitionIterator;
0 26 2 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 26 3 cellLimit I
2 22 6 iter Lorg/apache/cassandra/db/partitions/PartitionIterator;
3 20 7 keySlices Ljava/util/List<Lorg/apache/cassandra/thrift/KeySlice;>;
6 12 10 partition Lorg/apache/cassandra/db/rows/RowIterator;
9 10 11 thriftifiedColumns Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
Exception table:
from to target type
6 10 11 any
5 13 13 any
2 18 20 any
1 19 23 any
20 23 23 any
Signature: (Lorg/apache/cassandra/db/partitions/PartitionIterator;Lorg/apache/cassandra/thrift/ColumnParent;I)Ljava/util/List<Lorg/apache/cassandra/thrift/KeySlice;>;
MethodParameters:
Name Flags
results
column_parent
cellLimit
public java.util.List<org.apache.cassandra.thrift.KeySlice> get_indexed_slices(org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.IndexClause, org.apache.cassandra.thrift.SlicePredicate, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/IndexClause;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=23, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 9
2: ldc "column_parent"
aload 1
invokevirtual org.apache.cassandra.thrift.ColumnParent.toString:()Ljava/lang/String;
3: ldc "index_clause"
aload 2
invokevirtual org.apache.cassandra.thrift.IndexClause.toString:()Ljava/lang/String;
4: ldc "slice_predicate"
aload 3
invokevirtual org.apache.cassandra.thrift.SlicePredicate.toString:()Ljava/lang/String;
5: ldc "consistency_level"
aload 4
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
6: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 7
start local 7 7: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "get_indexed_slices"
aload 7
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 7 8: goto 10
9: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "scan"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 11: aload 7
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 8
start local 8 12: aload 7
aload 8
aload 1
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
13: aload 8
aload 1
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
iconst_0
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/cassandra/config/CFMetaData;
astore 9
start local 9 14: aload 9
aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnParent:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;)V
15: aload 9
aload 1
aload 3
invokestatic org.apache.cassandra.thrift.ThriftValidation.validatePredicate:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)V
16: aload 9
aload 2
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateIndexClauses:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/IndexClause;)V
17: aload 4
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
astore 10
start local 10 18: aload 10
aload 8
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateForRead:(Ljava/lang/String;)V
19: aload 9
getfield org.apache.cassandra.config.CFMetaData.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
astore 11
start local 11 20: new org.apache.cassandra.dht.Bounds
dup
aload 2
getfield org.apache.cassandra.thrift.IndexClause.start_key:Ljava/nio/ByteBuffer;
aload 11
invokestatic org.apache.cassandra.db.PartitionPosition$ForKey.get:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/dht/IPartitioner;)Lorg/apache/cassandra/db/PartitionPosition;
21: aload 11
invokeinterface org.apache.cassandra.dht.IPartitioner.getMinimumToken:()Lorg/apache/cassandra/dht/Token;
invokevirtual org.apache.cassandra.dht.Token.minKeyBound:()Lorg/apache/cassandra/dht/Token$KeyBound;
22: invokespecial org.apache.cassandra.dht.Bounds.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
astore 12
start local 12 23: invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
istore 13
start local 13 24: aload 0
aload 9
aload 1
aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeColumnFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 14
start local 14 25: aload 0
aload 9
aload 1
aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.toInternalFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
astore 15
start local 15 26: aload 0
aload 2
getfield org.apache.cassandra.thrift.IndexClause.count:I
aload 9
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 27
aload 1
invokevirtual org.apache.cassandra.thrift.ColumnParent.isSetSuper_column:()Z
ifne 27
iconst_1
goto 28
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.IndexClause org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter
StackMap stack: org.apache.cassandra.thrift.CassandraServer int
27: iconst_0
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.IndexClause org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter
StackMap stack: org.apache.cassandra.thrift.CassandraServer int int
28: aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.getLimits:(IZLorg/apache/cassandra/thrift/SlicePredicate;)Lorg/apache/cassandra/db/filter/DataLimits;
astore 16
start local 16 29: iconst_1
30: aload 9
31: iload 13
32: aload 14
33: aload 9
aload 2
getfield org.apache.cassandra.thrift.IndexClause.expressions:Ljava/util/List;
invokestatic org.apache.cassandra.thrift.ThriftConversion.rowFilterFromThrift:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/List;)Lorg/apache/cassandra/db/filter/RowFilter;
34: aload 16
35: new org.apache.cassandra.db.DataRange
dup
aload 12
aload 15
invokespecial org.apache.cassandra.db.DataRange.<init>:(Lorg/apache/cassandra/dht/AbstractBounds;Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;)V
36: invokestatic org.apache.cassandra.db.PartitionRangeReadCommand.create:(ZLorg/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/DataRange;)Lorg/apache/cassandra/db/PartitionRangeReadCommand;
37: astore 17
start local 17 38: aload 17
invokevirtual org.apache.cassandra.db.PartitionRangeReadCommand.maybeValidateIndex:()V
39: aconst_null
astore 18
aconst_null
astore 19
40: aload 17
aload 10
lload 5
invokestatic org.apache.cassandra.service.StorageProxy.getRangeSlice:(Lorg/apache/cassandra/db/PartitionRangeReadCommand;Lorg/apache/cassandra/db/ConsistencyLevel;J)Lorg/apache/cassandra/db/partitions/PartitionIterator;
astore 20
start local 20 41: aload 0
aload 20
aload 1
aload 16
invokevirtual org.apache.cassandra.db.filter.DataLimits.perPartitionCount:()I
invokevirtual org.apache.cassandra.thrift.CassandraServer.thriftifyKeySlices:(Lorg/apache/cassandra/db/partitions/PartitionIterator;Lorg/apache/cassandra/thrift/ColumnParent;I)Ljava/util/List;
astore 22
42: aload 20
ifnull 43
aload 20
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
43: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.IndexClause org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.filter.DataLimits org.apache.cassandra.db.PartitionRangeReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator top java.util.List
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
44: aload 22
areturn
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.IndexClause org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.dht.IPartitioner org.apache.cassandra.dht.AbstractBounds int org.apache.cassandra.db.filter.ColumnFilter org.apache.cassandra.db.filter.ClusteringIndexFilter org.apache.cassandra.db.filter.DataLimits org.apache.cassandra.db.PartitionRangeReadCommand java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator
StackMap stack: java.lang.Throwable
45: astore 18
46: aload 20
ifnull 47
aload 20
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
end local 20 StackMap locals:
StackMap stack:
47: aload 18
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
48: astore 19
aload 18
ifnonnull 49
aload 19
astore 18
goto 50
StackMap locals:
StackMap stack:
49: aload 18
aload 19
if_acmpeq 50
aload 18
aload 19
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
50: aload 18
athrow
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 51: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.IndexClause org.apache.cassandra.thrift.SlicePredicate org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 7
start local 7 52: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 7 53: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
astore 7
start local 7 54: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.rethrow:(Lorg/apache/cassandra/exceptions/RequestExecutionException;)Ljava/lang/RuntimeException;
athrow
end local 7 55: StackMap locals:
StackMap stack: java.lang.Throwable
astore 21
56: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
57: aload 21
athrow
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 58 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 58 1 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 58 2 index_clause Lorg/apache/cassandra/thrift/IndexClause;
0 58 3 column_predicate Lorg/apache/cassandra/thrift/SlicePredicate;
0 58 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 58 5 queryStartNanoTime J
7 8 7 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
11 51 7 cState Lorg/apache/cassandra/thrift/ThriftClientState;
12 51 8 keyspace Ljava/lang/String;
14 51 9 metadata Lorg/apache/cassandra/config/CFMetaData;
18 51 10 consistencyLevel Lorg/apache/cassandra/db/ConsistencyLevel;
20 51 11 p Lorg/apache/cassandra/dht/IPartitioner;
23 51 12 bounds Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
24 51 13 nowInSec I
25 51 14 columns Lorg/apache/cassandra/db/filter/ColumnFilter;
26 51 15 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
29 51 16 limits Lorg/apache/cassandra/db/filter/DataLimits;
38 51 17 cmd Lorg/apache/cassandra/db/PartitionRangeReadCommand;
41 47 20 results Lorg/apache/cassandra/db/partitions/PartitionIterator;
52 53 7 e Lorg/apache/cassandra/exceptions/RequestValidationException;
54 55 7 e Lorg/apache/cassandra/exceptions/RequestExecutionException;
Exception table:
from to target type
41 42 45 any
40 43 48 any
45 48 48 any
10 43 51 Class org.apache.cassandra.exceptions.RequestValidationException
45 51 51 Class org.apache.cassandra.exceptions.RequestValidationException
10 43 53 Class org.apache.cassandra.exceptions.RequestExecutionException
45 51 53 Class org.apache.cassandra.exceptions.RequestExecutionException
10 43 55 any
45 55 55 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException, org.apache.thrift.TException
Signature: (Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/IndexClause;Lorg/apache/cassandra/thrift/SlicePredicate;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Ljava/util/List<Lorg/apache/cassandra/thrift/KeySlice;>;
MethodParameters:
Name Flags
column_parent
index_clause
column_predicate
consistency_level
public java.util.List<org.apache.cassandra.thrift.KsDef> describe_keyspaces();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.validateLogin:()V
1: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getKeyspaces:()Ljava/util/Set;
astore 1
start local 1 2: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.Set.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 3: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.Set java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 2
aload 0
aload 3
invokevirtual org.apache.cassandra.thrift.CassandraServer.describe_keyspace:(Ljava/lang/String;)Lorg/apache/cassandra/thrift/KsDef;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: goto 9
7: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.Set java.util.List java.lang.String java.util.Iterator
StackMap stack: org.apache.cassandra.thrift.NotFoundException
pop
8: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "Failed to find metadata for keyspace '{}'. Continuing... "
aload 3
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V
end local 3 9: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.util.Set java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
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/thrift/CassandraServer;
2 11 1 keyspaces Ljava/util/Set<Ljava/lang/String;>;
3 11 2 ksset Ljava/util/List<Lorg/apache/cassandra/thrift/KsDef;>;
5 9 3 ks Ljava/lang/String;
Exception table:
from to target type
5 6 7 Class org.apache.cassandra.thrift.NotFoundException
Exceptions:
throws org.apache.thrift.TException, org.apache.cassandra.thrift.InvalidRequestException
Signature: ()Ljava/util/List<Lorg/apache/cassandra/thrift/KsDef;>;
public java.lang.String describe_cluster_name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getClusterName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
Exceptions:
throws org.apache.thrift.TException
public java.lang.String describe_version();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "20.1.0"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
Exceptions:
throws org.apache.thrift.TException
public java.util.List<org.apache.cassandra.thrift.TokenRange> describe_ring(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
aload 1
invokevirtual org.apache.cassandra.service.StorageService.describeRing:(Ljava/lang/String;)Ljava/util/List;
1: areturn
2: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 2
start local 2 3: aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 4 1 keyspace Ljava/lang/String;
3 4 2 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
0 1 2 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException
Signature: (Ljava/lang/String;)Ljava/util/List<Lorg/apache/cassandra/thrift/TokenRange;>;
MethodParameters:
Name Flags
keyspace
public java.util.List<org.apache.cassandra.thrift.TokenRange> describe_local_ring(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
aload 1
invokevirtual org.apache.cassandra.service.StorageService.describeLocalRing:(Ljava/lang/String;)Ljava/util/List;
1: areturn
2: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 2
start local 2 3: aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 4 1 keyspace Ljava/lang/String;
3 4 2 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
0 1 2 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.thrift.TException
Signature: (Ljava/lang/String;)Ljava/util/List<Lorg/apache/cassandra/thrift/TokenRange;>;
MethodParameters:
Name Flags
keyspace
public java.util.Map<java.lang.String, java.lang.String> describe_token_map();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
invokevirtual org.apache.cassandra.service.StorageService.getTokenToEndpointMap:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.lang.String describe_partitioner();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
invokevirtual org.apache.cassandra.service.StorageService.getPartitionerName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
Exceptions:
throws org.apache.thrift.TException
public java.lang.String describe_snitch();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getEndpointSnitch:()Lorg/apache/cassandra/locator/IEndpointSnitch;
instanceof org.apache.cassandra.locator.DynamicEndpointSnitch
ifeq 2
1: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getEndpointSnitch:()Lorg/apache/cassandra/locator/IEndpointSnitch;
checkcast org.apache.cassandra.locator.DynamicEndpointSnitch
getfield org.apache.cassandra.locator.DynamicEndpointSnitch.subsnitch:Lorg/apache/cassandra/locator/IEndpointSnitch;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getEndpointSnitch:()Lorg/apache/cassandra/locator/IEndpointSnitch;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/thrift/CassandraServer;
Exceptions:
throws org.apache.thrift.TException
public java.util.List<java.lang.String> describe_splits(java.lang.String, java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
iload 4
invokevirtual org.apache.cassandra.thrift.CassandraServer.describe_splits_ex:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/util/List;
astore 5
start local 5 1: new java.util.ArrayList
dup
aload 5
invokeinterface java.util.List.size:()I
iconst_1
iadd
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 2: aload 6
aload 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.CfSplit
invokevirtual org.apache.cassandra.thrift.CfSplit.getStart_token:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 6
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String java.lang.String java.lang.String int java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.CfSplit
astore 7
start local 7 5: aload 6
aload 7
invokevirtual org.apache.cassandra.thrift.CfSplit.getEnd_token:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 6: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 6
areturn
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 8 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 8 1 cfName Ljava/lang/String;
0 8 2 start_token Ljava/lang/String;
0 8 3 end_token Ljava/lang/String;
0 8 4 keys_per_split I
1 8 5 splits Ljava/util/List<Lorg/apache/cassandra/thrift/CfSplit;>;
2 8 6 result Ljava/util/List<Ljava/lang/String;>;
5 6 7 cfSplit Lorg/apache/cassandra/thrift/CfSplit;
Exceptions:
throws org.apache.thrift.TException, org.apache.cassandra.thrift.InvalidRequestException
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/util/List<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
cfName
start_token
end_token
keys_per_split
public java.util.List<org.apache.cassandra.thrift.CfSplit> describe_splits_ex(java.lang.String, java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
invokevirtual org.apache.cassandra.service.StorageService.getTokenFactory:()Lorg/apache/cassandra/dht/Token$TokenFactory;
astore 5
start local 5 1: new org.apache.cassandra.dht.Range
dup
aload 5
aload 2
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromString:(Ljava/lang/String;)Lorg/apache/cassandra/dht/Token;
aload 5
aload 3
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromString:(Ljava/lang/String;)Lorg/apache/cassandra/dht/Token;
invokespecial org.apache.cassandra.dht.Range.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
astore 6
start local 6 2: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
aload 1
aload 6
iload 4
invokevirtual org.apache.cassandra.service.StorageService.getSplits:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/dht/Range;I)Ljava/util/List;
3: astore 7
start local 7 4: new java.util.ArrayList
dup
aload 7
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 5: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 8
StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String java.lang.String java.lang.String int org.apache.cassandra.dht.Token$TokenFactory org.apache.cassandra.dht.Range java.util.List java.util.List top java.util.Iterator
StackMap stack:
6: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Pair
astore 9
start local 9 7: aload 8
new org.apache.cassandra.thrift.CfSplit
dup
aload 9
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Range
getfield org.apache.cassandra.dht.Range.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 9
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.dht.Range
getfield org.apache.cassandra.dht.Range.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.dht.Token
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 9
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokespecial org.apache.cassandra.thrift.CfSplit.<init>:(Ljava/lang/String;Ljava/lang/String;J)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 8: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 8
10: areturn
end local 8 end local 7 end local 6 end local 5 11: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String java.lang.String java.lang.String int
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 5
start local 5 12: aload 5
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
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 13 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 13 1 cfName Ljava/lang/String;
0 13 2 start_token Ljava/lang/String;
0 13 3 end_token Ljava/lang/String;
0 13 4 keys_per_split I
1 11 5 tf Lorg/apache/cassandra/dht/Token$TokenFactory;
2 11 6 tr Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
4 11 7 splits Ljava/util/List<Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;Ljava/lang/Long;>;>;
5 11 8 result Ljava/util/List<Lorg/apache/cassandra/thrift/CfSplit;>;
7 8 9 split Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;Ljava/lang/Long;>;
12 13 5 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
0 10 11 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.thrift.TException
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/util/List<Lorg/apache/cassandra/thrift/CfSplit;>;
MethodParameters:
Name Flags
cfName
start_token
end_token
keys_per_split
public void login(org.apache.cassandra.thrift.AuthenticationRequest);
descriptor: (Lorg/apache/cassandra/thrift/AuthenticationRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getAuthenticator:()Lorg/apache/cassandra/auth/IAuthenticator;
aload 1
invokevirtual org.apache.cassandra.thrift.AuthenticationRequest.getCredentials:()Ljava/util/Map;
invokeinterface org.apache.cassandra.auth.IAuthenticator.legacyAuthenticate:(Ljava/util/Map;)Lorg/apache/cassandra/auth/AuthenticatedUser;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.login:(Lorg/apache/cassandra/auth/AuthenticatedUser;)V
1: goto 4
2: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.AuthenticationException
astore 2
start local 2 3: aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/AuthenticationException;)Lorg/apache/cassandra/thrift/AuthenticationException;
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 5 1 auth_request Lorg/apache/cassandra/thrift/AuthenticationRequest;
3 4 2 e Lorg/apache/cassandra/exceptions/AuthenticationException;
Exception table:
from to target type
0 1 2 Class org.apache.cassandra.exceptions.AuthenticationException
Exceptions:
throws org.apache.thrift.TException
MethodParameters:
Name Flags
auth_request
private void schedule(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.thrift.CassandraServer.requestScheduler:Lorg/apache/cassandra/scheduler/IRequestScheduler;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getSchedulingValue:()Ljava/lang/String;
lload 1
invokeinterface org.apache.cassandra.scheduler.IRequestScheduler.queue:(Ljava/lang/Thread;Ljava/lang/String;J)V
1: goto 4
2: StackMap locals:
StackMap stack: java.util.concurrent.TimeoutException
pop
3: new org.apache.cassandra.thrift.UnavailableException
dup
invokespecial org.apache.cassandra.thrift.UnavailableException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 5 1 timeoutMS J
Exception table:
from to target type
0 1 2 Class java.util.concurrent.TimeoutException
Exceptions:
throws org.apache.cassandra.thrift.UnavailableException
MethodParameters:
Name Flags
timeoutMS
private void release();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.thrift.CassandraServer.requestScheduler:Lorg/apache/cassandra/scheduler/IRequestScheduler;
invokeinterface org.apache.cassandra.scheduler.IRequestScheduler.release:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/thrift/CassandraServer;
public java.lang.String system_add_column_family(org.apache.cassandra.thrift.CfDef);
descriptor: (Lorg/apache/cassandra/thrift/CfDef;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "add_column_family"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 2
start local 2 2: aload 2
invokevirtual org.apache.cassandra.service.ClientState.getKeyspace:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
aload 3
getstatic org.apache.cassandra.auth.Permission.CREATE:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.service.ClientState.hasKeyspaceAccess:(Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
4: aload 1
invokevirtual org.apache.cassandra.thrift.CfDef.unsetId:()V
5: aload 1
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/CfDef;)Lorg/apache/cassandra/config/CFMetaData;
astore 4
start local 4 6: aload 4
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.compaction:Lorg/apache/cassandra/schema/CompactionParams;
invokevirtual org.apache.cassandra.schema.CompactionParams.validate:()V
7: aload 4
invokevirtual org.apache.cassandra.config.CFMetaData.getTriggers:()Lorg/apache/cassandra/schema/Triggers;
invokevirtual org.apache.cassandra.schema.Triggers.isEmpty:()Z
ifne 9
8: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
ldc "Only superusers are allowed to add triggers."
invokevirtual org.apache.cassandra.thrift.ThriftClientState.ensureIsSuper:(Ljava/lang/String;)V
9: StackMap locals: org.apache.cassandra.service.ClientState java.lang.String org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 4
invokestatic org.apache.cassandra.service.MigrationManager.announceNewColumnFamily:(Lorg/apache/cassandra/config/CFMetaData;)V
10: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getVersion:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
11: areturn
end local 4 end local 3 end local 2 12: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.CfDef
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 2
start local 2 13: aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 14 1 cf_def Lorg/apache/cassandra/thrift/CfDef;
2 12 2 cState Lorg/apache/cassandra/service/ClientState;
3 12 3 keyspace Ljava/lang/String;
6 12 4 cfm Lorg/apache/cassandra/config/CFMetaData;
13 14 2 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
1 11 12 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.thrift.TException
MethodParameters:
Name Flags
cf_def
public java.lang.String system_drop_column_family(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "drop_column_family"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 2
start local 2 2: aload 2
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getKeyspace:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
aload 3
aload 1
getstatic org.apache.cassandra.auth.Permission.DROP:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
4: aload 3
aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 4
start local 4 5: aload 4
invokevirtual org.apache.cassandra.config.CFMetaData.isView:()Z
ifeq 7
6: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot drop Materialized Views from Thrift"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.apache.cassandra.thrift.ThriftClientState java.lang.String org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 3
aload 1
invokestatic org.apache.cassandra.service.MigrationManager.announceColumnFamilyDrop:(Ljava/lang/String;Ljava/lang/String;)V
8: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getVersion:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
9: areturn
end local 4 end local 3 10: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String org.apache.cassandra.thrift.ThriftClientState
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 3
start local 3 11: aload 3
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
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/thrift/CassandraServer;
0 12 1 column_family Ljava/lang/String;
2 12 2 cState Lorg/apache/cassandra/thrift/ThriftClientState;
3 10 3 keyspace Ljava/lang/String;
5 10 4 metadata Lorg/apache/cassandra/config/CFMetaData;
11 12 3 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
2 9 10 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.SchemaDisagreementException, org.apache.thrift.TException
MethodParameters:
Name Flags
column_family
public java.lang.String system_add_keyspace(org.apache.cassandra.thrift.KsDef);
descriptor: (Lorg/apache/cassandra/thrift/KsDef;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "add_keyspace"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
1: aload 1
getfield org.apache.cassandra.thrift.KsDef.name:Ljava/lang/String;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKeyspaceNotSystem:(Ljava/lang/String;)V
2: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
getstatic org.apache.cassandra.auth.Permission.CREATE:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasAllKeyspacesAccess:(Lorg/apache/cassandra/auth/Permission;)V
3: aload 1
getfield org.apache.cassandra.thrift.KsDef.name:Ljava/lang/String;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKeyspaceNotYetExisting:(Ljava/lang/String;)V
4: aload 1
getfield org.apache.cassandra.thrift.KsDef.cf_defs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.KsDef top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.CfDef
astore 2
start local 2 6: aload 2
invokevirtual org.apache.cassandra.thrift.CfDef.getKeyspace:()Ljava/lang/String;
aload 1
invokevirtual org.apache.cassandra.thrift.KsDef.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
7: new org.apache.cassandra.thrift.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "CfDef ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.apache.cassandra.thrift.CfDef.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") had a keyspace definition that did not match KsDef"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: new java.util.ArrayList
dup
aload 1
getfield org.apache.cassandra.thrift.KsDef.cf_defs:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 10: aload 1
getfield org.apache.cassandra.thrift.KsDef.cf_defs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 17
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.KsDef java.util.Collection top java.util.Iterator
StackMap stack:
11: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.CfDef
astore 3
start local 3 12: aload 3
invokevirtual org.apache.cassandra.thrift.CfDef.unsetId:()V
13: aload 3
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/CfDef;)Lorg/apache/cassandra/config/CFMetaData;
astore 5
start local 5 14: aload 5
invokevirtual org.apache.cassandra.config.CFMetaData.getTriggers:()Lorg/apache/cassandra/schema/Triggers;
invokevirtual org.apache.cassandra.schema.Triggers.isEmpty:()Z
ifne 16
15: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
ldc "Only superusers are allowed to add triggers."
invokevirtual org.apache.cassandra.thrift.ThriftClientState.ensureIsSuper:(Ljava/lang/String;)V
16: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.KsDef java.util.Collection org.apache.cassandra.thrift.CfDef java.util.Iterator org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 2
aload 5
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 17: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.KsDef java.util.Collection top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
18: aload 1
aload 2
aload 2
invokeinterface java.util.Collection.size:()I
anewarray org.apache.cassandra.config.CFMetaData
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.cassandra.config.CFMetaData[]
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/KsDef;[Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/schema/KeyspaceMetadata;
invokestatic org.apache.cassandra.service.MigrationManager.announceNewKeyspace:(Lorg/apache/cassandra/schema/KeyspaceMetadata;)V
19: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getVersion:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
20: areturn
end local 2 21: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.KsDef
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 2
start local 2 22: aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 23 1 ks_def Lorg/apache/cassandra/thrift/KsDef;
6 8 2 cf Lorg/apache/cassandra/thrift/CfDef;
10 21 2 cfDefs Ljava/util/Collection<Lorg/apache/cassandra/config/CFMetaData;>;
12 17 3 cf_def Lorg/apache/cassandra/thrift/CfDef;
14 17 5 cfm Lorg/apache/cassandra/config/CFMetaData;
22 23 2 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
1 20 21 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.SchemaDisagreementException, org.apache.thrift.TException
MethodParameters:
Name Flags
ks_def
public java.lang.String system_drop_keyspace(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "drop_keyspace"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
1: aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKeyspaceNotSystem:(Ljava/lang/String;)V
2: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
aload 1
getstatic org.apache.cassandra.auth.Permission.DROP:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasKeyspaceAccess:(Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
3: aload 1
invokestatic org.apache.cassandra.service.MigrationManager.announceKeyspaceDrop:(Ljava/lang/String;)V
4: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getVersion:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
5: areturn
6: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 2
start local 2 7: aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 8 1 keyspace Ljava/lang/String;
7 8 2 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
1 5 6 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.SchemaDisagreementException, org.apache.thrift.TException
MethodParameters:
Name Flags
keyspace
public java.lang.String system_update_keyspace(org.apache.cassandra.thrift.KsDef);
descriptor: (Lorg/apache/cassandra/thrift/KsDef;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "update_keyspace"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
1: aload 1
getfield org.apache.cassandra.thrift.KsDef.name:Ljava/lang/String;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKeyspaceNotSystem:(Ljava/lang/String;)V
2: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
aload 1
getfield org.apache.cassandra.thrift.KsDef.name:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.ALTER:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasKeyspaceAccess:(Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
3: aload 1
getfield org.apache.cassandra.thrift.KsDef.name:Ljava/lang/String;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKeyspace:(Ljava/lang/String;)V
4: aload 1
invokevirtual org.apache.cassandra.thrift.KsDef.getCf_defs:()Ljava/util/List;
ifnull 6
aload 1
invokevirtual org.apache.cassandra.thrift.KsDef.getCf_defs:()Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 6
5: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "Keyspace update must not contain any table definitions."
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
iconst_0
anewarray org.apache.cassandra.config.CFMetaData
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/KsDef;[Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/schema/KeyspaceMetadata;
invokestatic org.apache.cassandra.service.MigrationManager.announceKeyspaceUpdate:(Lorg/apache/cassandra/schema/KeyspaceMetadata;)V
7: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getVersion:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
8: areturn
9: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 2
start local 2 10: aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 11 1 ks_def Lorg/apache/cassandra/thrift/KsDef;
10 11 2 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
1 8 9 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.SchemaDisagreementException, org.apache.thrift.TException
MethodParameters:
Name Flags
ks_def
public java.lang.String system_update_column_family(org.apache.cassandra.thrift.CfDef);
descriptor: (Lorg/apache/cassandra/thrift/CfDef;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "update_column_family"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
1: aload 1
getfield org.apache.cassandra.thrift.CfDef.keyspace:Ljava/lang/String;
ifnull 2
aload 1
getfield org.apache.cassandra.thrift.CfDef.name:Ljava/lang/String;
ifnonnull 3
2: StackMap locals:
StackMap stack:
new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "Keyspace and CF name must be set."
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
aload 1
getfield org.apache.cassandra.thrift.CfDef.keyspace:Ljava/lang/String;
aload 1
getfield org.apache.cassandra.thrift.CfDef.name:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.ALTER:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
4: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 1
getfield org.apache.cassandra.thrift.CfDef.keyspace:Ljava/lang/String;
aload 1
getfield org.apache.cassandra.thrift.CfDef.name:Ljava/lang/String;
invokevirtual org.apache.cassandra.config.Schema.getCFMetaData:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 2
start local 2 5: aload 2
ifnonnull 7
6: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "Could not find table definition to modify."
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.config.CFMetaData.isView:()Z
ifeq 9
8: new org.apache.cassandra.thrift.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "Cannot modify Materialized View table "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " as it may break the schema. You should use cqlsh to modify Materialized View tables instead."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.cassandra.thrift.CfDef.keyspace:Ljava/lang/String;
aload 1
getfield org.apache.cassandra.thrift.CfDef.name:Ljava/lang/String;
invokestatic org.apache.cassandra.db.view.View.findAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.isEmpty:(Ljava/lang/Iterable;)Z
ifne 11
10: new org.apache.cassandra.thrift.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "Cannot modify table with Materialized View "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " as it may break the schema. You should use cqlsh to modify tables with Materialized Views instead."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.config.CFMetaData.isThriftCompatible:()Z
ifne 13
12: new org.apache.cassandra.thrift.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "Cannot modify CQL3 table "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " as it may break the schema. You should use cqlsh to modify CQL3 tables instead."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThriftForUpdate:(Lorg/apache/cassandra/thrift/CfDef;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/config/CFMetaData;
astore 3
start local 3 14: aload 3
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.compaction:Lorg/apache/cassandra/schema/CompactionParams;
invokevirtual org.apache.cassandra.schema.CompactionParams.validate:()V
15: aload 2
invokevirtual org.apache.cassandra.config.CFMetaData.getTriggers:()Lorg/apache/cassandra/schema/Triggers;
aload 3
invokevirtual org.apache.cassandra.config.CFMetaData.getTriggers:()Lorg/apache/cassandra/schema/Triggers;
invokevirtual org.apache.cassandra.schema.Triggers.equals:(Ljava/lang/Object;)Z
ifne 17
16: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
ldc "Only superusers are allowed to add or remove triggers."
invokevirtual org.apache.cassandra.thrift.ThriftClientState.ensureIsSuper:(Ljava/lang/String;)V
17: StackMap locals: org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 3
invokestatic org.apache.cassandra.service.MigrationManager.announceColumnFamilyUpdate:(Lorg/apache/cassandra/config/CFMetaData;)V
18: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getVersion:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
19: areturn
end local 3 end local 2 20: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.CfDef
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 2
start local 2 21: aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 22 1 cf_def Lorg/apache/cassandra/thrift/CfDef;
5 20 2 oldCfm Lorg/apache/cassandra/config/CFMetaData;
14 20 3 cfm Lorg/apache/cassandra/config/CFMetaData;
21 22 2 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
1 19 20 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.SchemaDisagreementException, org.apache.thrift.TException
MethodParameters:
Name Flags
cf_def
public void truncate(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 2
start local 2 1: aload 2
invokevirtual org.apache.cassandra.service.ClientState.getKeyspace:()Ljava/lang/String;
astore 3
start local 3 2: aload 2
aload 3
aload 1
getstatic org.apache.cassandra.auth.Permission.MODIFY:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.service.ClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
3: aload 3
aload 1
iconst_0
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/cassandra/config/CFMetaData;
astore 4
start local 4 4: aload 4
invokevirtual org.apache.cassandra.config.CFMetaData.isView:()Z
ifeq 6
5: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot truncate Materialized Views"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.apache.cassandra.service.ClientState java.lang.String org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 9
7: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "truncate"
ldc "cf"
aload 1
ldc "ks"
aload 3
invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
8: goto 10
9: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "truncating {}.{}"
aload 2
invokevirtual org.apache.cassandra.service.ClientState.getKeyspace:()Ljava/lang/String;
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getTruncateRpcTimeout:()J
invokevirtual org.apache.cassandra.thrift.CassandraServer.schedule:(J)V
11: aload 2
invokevirtual org.apache.cassandra.service.ClientState.getKeyspace:()Ljava/lang/String;
aload 1
invokestatic org.apache.cassandra.service.StorageProxy.truncateBlocking:(Ljava/lang/String;Ljava/lang/String;)V
12: goto 16
13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
14: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
15: aload 5
athrow
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.release:()V
end local 4 end local 3 17: goto 27
18: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.lang.String org.apache.cassandra.service.ClientState
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 3
start local 3 19: aload 3
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 3 20: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.UnavailableException
astore 3
start local 3 21: aload 3
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/UnavailableException;)Lorg/apache/cassandra/thrift/UnavailableException;
athrow
end local 3 22: StackMap locals:
StackMap stack: java.util.concurrent.TimeoutException
pop
23: new org.apache.cassandra.thrift.TimedOutException
dup
invokespecial org.apache.cassandra.thrift.TimedOutException.<init>:()V
athrow
24: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
25: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
26: aload 6
athrow
27: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
28: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 29 1 cfname Ljava/lang/String;
1 29 2 cState Lorg/apache/cassandra/service/ClientState;
2 17 3 keyspace Ljava/lang/String;
4 17 4 metadata Lorg/apache/cassandra/config/CFMetaData;
19 20 3 e Lorg/apache/cassandra/exceptions/RequestValidationException;
21 22 3 e Lorg/apache/cassandra/exceptions/UnavailableException;
Exception table:
from to target type
11 13 13 any
1 17 18 Class org.apache.cassandra.exceptions.RequestValidationException
1 17 20 Class org.apache.cassandra.exceptions.UnavailableException
1 17 22 Class java.util.concurrent.TimeoutException
1 24 24 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException, org.apache.thrift.TException
MethodParameters:
Name Flags
cfname
public void set_keyspace(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
aload 1
invokevirtual org.apache.cassandra.thrift.ThriftClientState.setKeyspace:(Ljava/lang/String;)V
1: goto 4
2: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 2
start local 2 3: aload 2
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 5 1 keyspace Ljava/lang/String;
3 4 2 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
0 1 2 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.thrift.TException
MethodParameters:
Name Flags
keyspace
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> describe_schema_versions();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "checking schema agreement"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
1: invokestatic org.apache.cassandra.service.StorageProxy.describeSchemaVersions:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/thrift/CassandraServer;
Exceptions:
throws org.apache.thrift.TException, org.apache.cassandra.thrift.InvalidRequestException
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public void add(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnParent, org.apache.cassandra.thrift.CounterColumn, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnParent;Lorg/apache/cassandra/thrift/CounterColumn;Lorg/apache/cassandra/thrift/ConsistencyLevel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=17, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 8
2: ldc "column_parent"
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnParent.toString:()Ljava/lang/String;
3: ldc "column"
aload 3
invokevirtual org.apache.cassandra.thrift.CounterColumn.toString:()Ljava/lang/String;
4: ldc "consistency_level"
aload 4
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
5: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 7
start local 7 6: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "add"
aload 7
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 7 7: goto 9
8: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "add"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 10: aload 7
invokevirtual org.apache.cassandra.service.ClientState.getKeyspace:()Ljava/lang/String;
astore 8
start local 8 11: aload 7
aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.MODIFY:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.service.ClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
12: aload 8
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
iconst_1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/cassandra/config/CFMetaData;
astore 9
start local 9 13: aload 9
invokevirtual org.apache.cassandra.config.CFMetaData.isView:()Z
ifeq 15
14: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Cannot modify Materialized Views directly"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: org.apache.cassandra.service.ClientState java.lang.String org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 9
aload 1
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKey:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)V
16: aload 4
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
aload 9
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateCounterForWrite:(Lorg/apache/cassandra/config/CFMetaData;)V
17: aload 9
aload 2
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnParent:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;)V
18: aload 9
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 20
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.super_column:Ljava/nio/ByteBuffer;
ifnonnull 20
19: new org.apache.cassandra.thrift.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "missing mandatory super column name for super CF "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 9
aload 2
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 3
getfield org.apache.cassandra.thrift.CounterColumn.name:Ljava/nio/ByteBuffer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnNames:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;Ljava/lang/Iterable;)V
21: aload 9
aload 2
getfield org.apache.cassandra.thrift.ColumnParent.super_column:Ljava/nio/ByteBuffer;
aload 3
getfield org.apache.cassandra.thrift.CounterColumn.name:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.LegacyLayout.decodeCellName:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
astore 10
start local 10 22: invokestatic org.apache.cassandra.db.context.CounterContext.instance:()Lorg/apache/cassandra/db/context/CounterContext;
aload 3
getfield org.apache.cassandra.thrift.CounterColumn.value:J
invokevirtual org.apache.cassandra.db.context.CounterContext.createUpdate:(J)Ljava/nio/ByteBuffer;
astore 11
start local 11 23: aload 10
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.collectionElement:Ljava/nio/ByteBuffer;
ifnonnull 24
aconst_null
goto 25
StackMap locals: org.apache.cassandra.db.LegacyLayout$LegacyCellName java.nio.ByteBuffer
StackMap stack:
24: aload 10
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.collectionElement:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.rows.CellPath.create:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/rows/CellPath;
StackMap locals:
StackMap stack: org.apache.cassandra.db.rows.CellPath
25: astore 12
start local 12 26: aload 10
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.column:Lorg/apache/cassandra/config/ColumnDefinition;
invokestatic org.apache.cassandra.utils.FBUtilities.timestampMicros:()J
aload 11
aload 12
invokestatic org.apache.cassandra.db.rows.BufferCell.live:(Lorg/apache/cassandra/config/ColumnDefinition;JLjava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/rows/BufferCell;
astore 13
start local 13 27: aload 9
aload 1
aload 10
getfield org.apache.cassandra.db.LegacyLayout$LegacyCellName.clustering:Lorg/apache/cassandra/db/Clustering;
aload 13
invokestatic org.apache.cassandra.db.rows.BTreeRow.singleCellRow:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/db/rows/Cell;)Lorg/apache/cassandra/db/rows/BTreeRow;
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.singleRowUpdate:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/rows/Row;)Lorg/apache/cassandra/db/partitions/PartitionUpdate;
astore 14
start local 14 28: new org.apache.cassandra.db.Mutation
dup
aload 14
invokespecial org.apache.cassandra.db.Mutation.<init>:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
astore 15
start local 15 29: aload 0
aload 4
iconst_1
anewarray org.apache.cassandra.db.CounterMutation
dup
iconst_0
new org.apache.cassandra.db.CounterMutation
dup
aload 15
aload 4
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
invokespecial org.apache.cassandra.db.CounterMutation.<init>:(Lorg/apache/cassandra/db/Mutation;Lorg/apache/cassandra/db/ConsistencyLevel;)V
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
lload 5
invokevirtual org.apache.cassandra.thrift.CassandraServer.doInsert:(Lorg/apache/cassandra/thrift/ConsistencyLevel;Ljava/util/List;J)V
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 30: goto 38
31: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.CounterColumn org.apache.cassandra.thrift.ConsistencyLevel long org.apache.cassandra.service.ClientState java.lang.String org.apache.cassandra.config.CFMetaData
StackMap stack: java.lang.Exception
astore 10
start local 10 32: new org.apache.cassandra.thrift.InvalidRequestException
dup
aload 10
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 10 end local 9 end local 8 end local 7 33: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.ColumnParent org.apache.cassandra.thrift.CounterColumn org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 7
start local 7 34: aload 7
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 7 35: StackMap locals:
StackMap stack: java.lang.Throwable
astore 16
36: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
37: aload 16
athrow
38: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
39: 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 40 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 40 1 key Ljava/nio/ByteBuffer;
0 40 2 column_parent Lorg/apache/cassandra/thrift/ColumnParent;
0 40 3 column Lorg/apache/cassandra/thrift/CounterColumn;
0 40 4 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 40 5 queryStartNanoTime J
6 7 7 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
10 33 7 cState Lorg/apache/cassandra/service/ClientState;
11 33 8 keyspace Ljava/lang/String;
13 33 9 metadata Lorg/apache/cassandra/config/CFMetaData;
22 30 10 name Lorg/apache/cassandra/db/LegacyLayout$LegacyCellName;
23 30 11 value Ljava/nio/ByteBuffer;
26 30 12 path Lorg/apache/cassandra/db/rows/CellPath;
27 30 13 cell Lorg/apache/cassandra/db/rows/Cell;
28 30 14 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
29 30 15 mutation Lorg/apache/cassandra/db/Mutation;
32 33 10 e Ljava/lang/Exception;
34 35 7 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
21 30 31 Class org.apache.cassandra.serializers.MarshalException
21 30 31 Class org.apache.cassandra.db.UnknownColumnException
9 33 33 Class org.apache.cassandra.exceptions.RequestValidationException
9 35 35 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException, org.apache.thrift.TException
MethodParameters:
Name Flags
key
column_parent
column
consistency_level
public void remove_counter(java.nio.ByteBuffer, org.apache.cassandra.thrift.ColumnPath, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnPath;Lorg/apache/cassandra/thrift/ConsistencyLevel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.System.nanoTime:()J
lstore 4
start local 4 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 8
2: ldc "key"
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
3: ldc "column_path"
aload 2
invokevirtual org.apache.cassandra.thrift.ColumnPath.toString:()Ljava/lang/String;
4: ldc "consistency_level"
aload 3
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
5: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 6
start local 6 6: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "remove_counter"
aload 6
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 6 7: goto 9
8: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "remove_counter"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.apache.cassandra.utils.FBUtilities.timestampMicros:()J
aload 3
iconst_1
lload 4
invokevirtual org.apache.cassandra.thrift.CassandraServer.internal_remove:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/ColumnPath;JLorg/apache/cassandra/thrift/ConsistencyLevel;ZJ)V
10: goto 16
11: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 6
start local 6 12: aload 6
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 6 13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
14: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
15: aload 7
athrow
16: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 18 1 key Ljava/nio/ByteBuffer;
0 18 2 path Lorg/apache/cassandra/thrift/ColumnPath;
0 18 3 consistency_level Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 18 4 queryStartNanoTime J
6 7 6 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
12 13 6 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
9 10 11 Class org.apache.cassandra.exceptions.RequestValidationException
9 13 13 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException, org.apache.thrift.TException
MethodParameters:
Name Flags
key
path
consistency_level
private static java.lang.String uncompress(java.nio.ByteBuffer, org.apache.cassandra.thrift.Compression);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Compression;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: invokestatic org.apache.cassandra.thrift.CassandraServer.$SWITCH_TABLE$org$apache$cassandra$thrift$Compression:()[I
aload 1
invokevirtual org.apache.cassandra.thrift.Compression.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 2
2: 21
default: 25
}
2: StackMap locals: java.lang.String
StackMap stack:
new org.apache.cassandra.io.util.DataOutputBuffer
dup
invokespecial org.apache.cassandra.io.util.DataOutputBuffer.<init>:()V
astore 3
start local 3 3: sipush 1024
newarray 8
astore 4
start local 4 4: sipush 1024
newarray 8
astore 5
start local 5 5: new java.util.zip.Inflater
dup
invokespecial java.util.zip.Inflater.<init>:()V
astore 6
start local 6 6: iconst_0
istore 7
start local 7 7: StackMap locals: java.nio.ByteBuffer org.apache.cassandra.thrift.Compression java.lang.String org.apache.cassandra.io.util.DataOutputBuffer byte[] byte[] java.util.zip.Inflater int
StackMap stack:
aload 6
invokevirtual java.util.zip.Inflater.needsInput:()Z
ifeq 11
8: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
sipush 1024
if_icmpge 9
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
goto 10
StackMap locals:
StackMap stack:
9: sipush 1024
StackMap locals:
StackMap stack: int
10: istore 7
11: StackMap locals:
StackMap stack:
aload 0
aload 5
iconst_0
iload 7
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
12: aload 6
aload 5
iconst_0
iload 7
invokevirtual java.util.zip.Inflater.setInput:([BII)V
13: iconst_0
istore 8
start local 8 14: goto 16
15: StackMap locals: int
StackMap stack:
aload 3
aload 4
iconst_0
iload 8
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.write:([BII)V
16: StackMap locals:
StackMap stack:
aload 6
aload 4
invokevirtual java.util.zip.Inflater.inflate:([B)I
dup
istore 8
ifne 15
17: aload 6
invokevirtual java.util.zip.Inflater.finished:()Z
ifeq 7
end local 8 18: aload 6
invokevirtual java.util.zip.Inflater.end:()V
19: new java.lang.String
dup
aload 3
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.getData:()[B
iconst_0
aload 3
invokevirtual org.apache.cassandra.io.util.DataOutputBuffer.getLength:()I
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BIILjava/nio/charset/Charset;)V
astore 2
20: goto 30
end local 7 end local 6 end local 5 end local 4 end local 3 21: StackMap locals: java.nio.ByteBuffer org.apache.cassandra.thrift.Compression java.lang.String
StackMap stack:
aload 0
invokestatic org.apache.cassandra.utils.ByteBufferUtil.string:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
astore 2
22: goto 30
23: StackMap locals:
StackMap stack: java.nio.charset.CharacterCodingException
astore 8
start local 8 24: new org.apache.cassandra.thrift.InvalidRequestException
dup
aload 8
invokevirtual java.nio.charset.CharacterCodingException.getMessage:()Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 8 25: StackMap locals:
StackMap stack:
goto 30
26: StackMap locals:
StackMap stack: java.util.zip.DataFormatException
pop
27: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "Error deflating query string."
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 29: new java.lang.AssertionError
dup
aload 3
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 3 30: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 query Ljava/nio/ByteBuffer;
0 31 1 compression Lorg/apache/cassandra/thrift/Compression;
1 31 2 queryString Ljava/lang/String;
3 21 3 decompressed Lorg/apache/cassandra/io/util/DataOutputBuffer;
4 21 4 outBuffer [B
5 21 5 inBuffer [B
6 21 6 decompressor Ljava/util/zip/Inflater;
7 21 7 lenRead I
14 18 8 lenWrite I
24 25 8 ex Ljava/nio/charset/CharacterCodingException;
29 30 3 e Ljava/io/IOException;
Exception table:
from to target type
21 22 23 Class java.nio.charset.CharacterCodingException
1 25 26 Class java.util.zip.DataFormatException
1 25 28 Class java.io.IOException
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException
MethodParameters:
Name Flags
query
compression
public org.apache.cassandra.thrift.CqlResult execute_cql_query(java.nio.ByteBuffer, org.apache.cassandra.thrift.Compression);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Compression;)Lorg/apache/cassandra/thrift/CqlResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "CQL2 has been removed in Cassandra 3.0. Please use CQL3 instead"
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 query Ljava/nio/ByteBuffer;
0 1 2 compression Lorg/apache/cassandra/thrift/Compression;
Exceptions:
throws org.apache.thrift.TException
MethodParameters:
Name Flags
query
compression
public org.apache.cassandra.thrift.CqlResult execute_cql3_query(java.nio.ByteBuffer, org.apache.cassandra.thrift.Compression, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Compression;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/thrift/CqlResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.System.nanoTime:()J
lstore 4
start local 4 1: aload 1
aload 2
invokestatic org.apache.cassandra.thrift.CassandraServer.uncompress:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Compression;)Ljava/lang/String;
astore 6
start local 6 2: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 9
3: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "execute_cql3_query"
4: ldc "query"
aload 6
5: ldc "consistency_level"
aload 3
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
6: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
7: invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
8: goto 10
9: StackMap locals: long java.lang.String
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "execute_cql3_query"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 7
start local 7 11: invokestatic org.apache.cassandra.service.ClientState.getCQLQueryHandler:()Lorg/apache/cassandra/cql3/QueryHandler;
aload 6
12: aload 7
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getQueryState:()Lorg/apache/cassandra/service/QueryState;
13: aload 3
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
14: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
15: invokestatic org.apache.cassandra.cql3.QueryOptions.fromThrift:(Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/util/List;)Lorg/apache/cassandra/cql3/QueryOptions;
16: aconst_null
17: lload 4
18: invokeinterface org.apache.cassandra.cql3.QueryHandler.process:(Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;Ljava/util/Map;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
19: invokevirtual org.apache.cassandra.transport.messages.ResultMessage.toThriftResult:()Lorg/apache/cassandra/thrift/CqlResult;
astore 9
20: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
21: aload 9
areturn
end local 7 end local 6 end local 4 22: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.Compression org.apache.cassandra.thrift.ConsistencyLevel
StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
astore 4
start local 4 23: aload 4
invokestatic org.apache.cassandra.thrift.ThriftConversion.rethrow:(Lorg/apache/cassandra/exceptions/RequestExecutionException;)Ljava/lang/RuntimeException;
athrow
end local 4 24: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 4
start local 4 25: aload 4
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 4 26: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
27: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
28: aload 8
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 29 1 query Ljava/nio/ByteBuffer;
0 29 2 compression Lorg/apache/cassandra/thrift/Compression;
0 29 3 cLevel Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 22 4 queryStartNanoTime J
2 22 6 queryString Ljava/lang/String;
11 22 7 cState Lorg/apache/cassandra/thrift/ThriftClientState;
23 24 4 e Lorg/apache/cassandra/exceptions/RequestExecutionException;
25 26 4 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
0 20 22 Class org.apache.cassandra.exceptions.RequestExecutionException
0 20 24 Class org.apache.cassandra.exceptions.RequestValidationException
0 20 26 any
22 26 26 any
Exceptions:
throws org.apache.thrift.TException
MethodParameters:
Name Flags
query
compression
cLevel
public org.apache.cassandra.thrift.CqlPreparedResult prepare_cql_query(java.nio.ByteBuffer, org.apache.cassandra.thrift.Compression);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Compression;)Lorg/apache/cassandra/thrift/CqlPreparedResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "CQL2 has been removed in Cassandra 3.0. Please use CQL3 instead"
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 query Ljava/nio/ByteBuffer;
0 1 2 compression Lorg/apache/cassandra/thrift/Compression;
Exceptions:
throws org.apache.thrift.TException
MethodParameters:
Name Flags
query
compression
public org.apache.cassandra.thrift.CqlPreparedResult prepare_cql3_query(java.nio.ByteBuffer, org.apache.cassandra.thrift.Compression);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Compression;)Lorg/apache/cassandra/thrift/CqlPreparedResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "prepare_cql3_query"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
1: aload 1
aload 2
invokestatic org.apache.cassandra.thrift.CassandraServer.uncompress:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/thrift/Compression;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 4
start local 4 3: aload 4
invokevirtual org.apache.cassandra.thrift.ThriftClientState.validateLogin:()V
4: invokestatic org.apache.cassandra.service.ClientState.getCQLQueryHandler:()Lorg/apache/cassandra/cql3/QueryHandler;
aload 3
aload 4
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getQueryState:()Lorg/apache/cassandra/service/QueryState;
aconst_null
invokeinterface org.apache.cassandra.cql3.QueryHandler.prepare:(Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Ljava/util/Map;)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
invokevirtual org.apache.cassandra.transport.messages.ResultMessage$Prepared.toThriftPreparedResult:()Lorg/apache/cassandra/thrift/CqlPreparedResult;
5: areturn
6: StackMap locals: org.apache.cassandra.thrift.CassandraServer java.nio.ByteBuffer org.apache.cassandra.thrift.Compression java.lang.String org.apache.cassandra.thrift.ThriftClientState
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 5
start local 5 7: aload 5
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
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/thrift/CassandraServer;
0 8 1 query Ljava/nio/ByteBuffer;
0 8 2 compression Lorg/apache/cassandra/thrift/Compression;
2 8 3 queryString Ljava/lang/String;
3 8 4 cState Lorg/apache/cassandra/thrift/ThriftClientState;
7 8 5 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
3 5 6 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.thrift.TException
MethodParameters:
Name Flags
query
compression
public org.apache.cassandra.thrift.CqlResult execute_prepared_cql_query(int, java.util.List<java.nio.ByteBuffer>);
descriptor: (ILjava/util/List;)Lorg/apache/cassandra/thrift/CqlResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "CQL2 has been removed in Cassandra 3.0. Please use CQL3 instead"
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 itemId I
0 1 2 bindVariables Ljava/util/List<Ljava/nio/ByteBuffer;>;
Exceptions:
throws org.apache.thrift.TException
Signature: (ILjava/util/List<Ljava/nio/ByteBuffer;>;)Lorg/apache/cassandra/thrift/CqlResult;
MethodParameters:
Name Flags
itemId
bindVariables
public org.apache.cassandra.thrift.CqlResult execute_prepared_cql3_query(int, java.util.List<java.nio.ByteBuffer>, org.apache.cassandra.thrift.ConsistencyLevel);
descriptor: (ILjava/util/List;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/thrift/CqlResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.System.nanoTime:()J
lstore 4
start local 4 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 4
2: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "execute_prepared_cql3_query"
ldc "consistency_level"
aload 3
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
3: goto 5
4: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "execute_prepared_cql3_query"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 6
start local 6 6: invokestatic org.apache.cassandra.service.ClientState.getCQLQueryHandler:()Lorg/apache/cassandra/cql3/QueryHandler;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.apache.cassandra.cql3.QueryHandler.getPreparedForThrift:(Ljava/lang/Integer;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
astore 7
start local 7 7: aload 7
ifnonnull 11
8: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "Prepared query with ID %d not found (either the query was not prepared on this host (maybe the host has been restarted?) or you have prepared too many queries and it has been evicted from the internal cache)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
9: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.apache.cassandra.thrift.ThriftClientState org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "Retrieved prepared statement #{} with {} bind markers"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 7
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
invokeinterface org.apache.cassandra.cql3.CQLStatement.getBoundTerms:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
12: invokestatic org.apache.cassandra.service.ClientState.getCQLQueryHandler:()Lorg/apache/cassandra/cql3/QueryHandler;
aload 7
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
13: aload 6
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getQueryState:()Lorg/apache/cassandra/service/QueryState;
14: aload 3
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
aload 2
invokestatic org.apache.cassandra.cql3.QueryOptions.fromThrift:(Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/util/List;)Lorg/apache/cassandra/cql3/QueryOptions;
15: aconst_null
16: lload 4
17: invokeinterface org.apache.cassandra.cql3.QueryHandler.processPrepared:(Lorg/apache/cassandra/cql3/CQLStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;Ljava/util/Map;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
18: invokevirtual org.apache.cassandra.transport.messages.ResultMessage.toThriftResult:()Lorg/apache/cassandra/thrift/CqlResult;
astore 9
19: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
20: aload 9
areturn
end local 7 end local 6 21: StackMap locals: org.apache.cassandra.thrift.CassandraServer int java.util.List org.apache.cassandra.thrift.ConsistencyLevel long
StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
astore 6
start local 6 22: aload 6
invokestatic org.apache.cassandra.thrift.ThriftConversion.rethrow:(Lorg/apache/cassandra/exceptions/RequestExecutionException;)Ljava/lang/RuntimeException;
athrow
end local 6 23: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 6
start local 6 24: aload 6
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 6 25: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
26: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
27: aload 8
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 28 1 itemId I
0 28 2 bindVariables Ljava/util/List<Ljava/nio/ByteBuffer;>;
0 28 3 cLevel Lorg/apache/cassandra/thrift/ConsistencyLevel;
1 28 4 queryStartNanoTime J
6 21 6 cState Lorg/apache/cassandra/thrift/ThriftClientState;
7 21 7 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
22 23 6 e Lorg/apache/cassandra/exceptions/RequestExecutionException;
24 25 6 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
5 19 21 Class org.apache.cassandra.exceptions.RequestExecutionException
5 19 23 Class org.apache.cassandra.exceptions.RequestValidationException
5 19 25 any
21 25 25 any
Exceptions:
throws org.apache.thrift.TException
Signature: (ILjava/util/List<Ljava/nio/ByteBuffer;>;Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/thrift/CqlResult;
MethodParameters:
Name Flags
itemId
bindVariables
cLevel
public java.util.List<org.apache.cassandra.thrift.ColumnOrSuperColumn> get_multi_slice(org.apache.cassandra.thrift.MultiSliceRequest);
descriptor: (Lorg/apache/cassandra/thrift/MultiSliceRequest;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=17, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.nanoTime:()J
lstore 2
start local 2 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.startSessionIfRequested:()Z
ifeq 10
2: ldc "key"
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.key:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
3: ldc "column_parent"
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.column_parent:Lorg/apache/cassandra/thrift/ColumnParent;
invokevirtual org.apache.cassandra.thrift.ColumnParent.toString:()Ljava/lang/String;
4: ldc "consistency_level"
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.consistency_level:Lorg/apache/cassandra/thrift/ConsistencyLevel;
invokevirtual org.apache.cassandra.thrift.ConsistencyLevel.name:()Ljava/lang/String;
5: ldc "count"
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.count:I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
6: ldc "column_slices"
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.column_slices:Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
7: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
astore 4
start local 4 8: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
ldc "get_multi_slice"
aload 4
invokevirtual org.apache.cassandra.tracing.Tracing.begin:(Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
pop
end local 4 9: goto 11
10: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.thrift.CassandraServer.logger:Lorg/slf4j/Logger;
ldc "get_multi_slice"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
astore 4
start local 4 12: aload 4
invokevirtual org.apache.cassandra.service.ClientState.getKeyspace:()Ljava/lang/String;
astore 5
start local 5 13: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
aload 5
aload 1
invokevirtual org.apache.cassandra.thrift.MultiSliceRequest.getColumn_parent:()Lorg/apache/cassandra/thrift/ColumnParent;
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.hasColumnFamilyAccess:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/auth/Permission;)V
14: aload 5
aload 1
invokevirtual org.apache.cassandra.thrift.MultiSliceRequest.getColumn_parent:()Lorg/apache/cassandra/thrift/ColumnParent;
getfield org.apache.cassandra.thrift.ColumnParent.column_family:Ljava/lang/String;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnFamily:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
astore 6
start local 6 15: aload 6
invokevirtual org.apache.cassandra.config.CFMetaData.isSuper:()Z
ifeq 17
16: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "get_multi_slice does not support super columns"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals: org.apache.cassandra.service.ClientState java.lang.String org.apache.cassandra.config.CFMetaData
StackMap stack:
aload 6
aload 1
invokevirtual org.apache.cassandra.thrift.MultiSliceRequest.getColumn_parent:()Lorg/apache/cassandra/thrift/ColumnParent;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateColumnParent:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/thrift/ColumnParent;)V
18: aload 1
invokevirtual org.apache.cassandra.thrift.MultiSliceRequest.getConsistency_level:()Lorg/apache/cassandra/thrift/ConsistencyLevel;
invokestatic org.apache.cassandra.thrift.ThriftConversion.fromThrift:(Lorg/apache/cassandra/thrift/ConsistencyLevel;)Lorg/apache/cassandra/db/ConsistencyLevel;
astore 7
start local 7 19: aload 7
aload 5
invokevirtual org.apache.cassandra.db.ConsistencyLevel.validateForRead:(Ljava/lang/String;)V
20: new org.apache.cassandra.db.Slices$Builder
dup
aload 6
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 1
invokevirtual org.apache.cassandra.thrift.MultiSliceRequest.getColumn_slices:()Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial org.apache.cassandra.db.Slices$Builder.<init>:(Lorg/apache/cassandra/db/ClusteringComparator;I)V
astore 8
start local 8 21: iconst_0
istore 9
start local 9 22: goto 35
23: StackMap locals: org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.db.Slices$Builder int
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.thrift.MultiSliceRequest.getColumn_slices:()Ljava/util/List;
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.ColumnSlice
invokestatic org.apache.cassandra.thrift.CassandraServer.fixOptionalSliceParameters:(Lorg/apache/cassandra/thrift/ColumnSlice;)V
24: aload 6
aload 1
invokevirtual org.apache.cassandra.thrift.MultiSliceRequest.getColumn_slices:()Ljava/util/List;
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.ColumnSlice
getfield org.apache.cassandra.thrift.ColumnSlice.start:Ljava/nio/ByteBuffer;
iconst_1
invokestatic org.apache.cassandra.db.LegacyLayout.decodeSliceBound:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Z)Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
astore 10
start local 10 25: aload 6
aload 1
invokevirtual org.apache.cassandra.thrift.MultiSliceRequest.getColumn_slices:()Ljava/util/List;
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.thrift.ColumnSlice
getfield org.apache.cassandra.thrift.ColumnSlice.finish:Ljava/nio/ByteBuffer;
iconst_0
invokestatic org.apache.cassandra.db.LegacyLayout.decodeSliceBound:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;Z)Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
astore 11
start local 11 26: aload 6
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 10
aload 11
invokevirtual org.apache.cassandra.db.ClusteringComparator.compare:(Lorg/apache/cassandra/db/ClusteringPrefix;Lorg/apache/cassandra/db/ClusteringPrefix;)I
istore 12
start local 12 27: aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.reversed:Z
ifne 29
iload 12
ifle 29
28: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "Column slice at index %d had start greater than finish"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals: org.apache.cassandra.db.ClusteringBound org.apache.cassandra.db.ClusteringBound int
StackMap stack:
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.reversed:Z
ifeq 31
iload 12
ifge 31
30: new org.apache.cassandra.thrift.InvalidRequestException
dup
ldc "Reversed column slice at index %d had start less than finish"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.thrift.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
aload 8
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.reversed:Z
ifeq 32
aload 11
aload 10
invokestatic org.apache.cassandra.db.Slice.make:(Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;)Lorg/apache/cassandra/db/Slice;
goto 33
StackMap locals:
StackMap stack: org.apache.cassandra.db.Slices$Builder
32: aload 10
aload 11
invokestatic org.apache.cassandra.db.Slice.make:(Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;)Lorg/apache/cassandra/db/Slice;
StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.MultiSliceRequest long org.apache.cassandra.service.ClientState java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.db.Slices$Builder int org.apache.cassandra.db.ClusteringBound org.apache.cassandra.db.ClusteringBound int
StackMap stack: org.apache.cassandra.db.Slices$Builder org.apache.cassandra.db.Slice
33: invokevirtual org.apache.cassandra.db.Slices$Builder.add:(Lorg/apache/cassandra/db/Slice;)Lorg/apache/cassandra/db/Slices$Builder;
pop
end local 12 end local 11 end local 10 34: iinc 9 1
StackMap locals:
StackMap stack:
35: iload 9
aload 1
invokevirtual org.apache.cassandra.thrift.MultiSliceRequest.getColumn_slices:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 23
end local 9 36: aload 8
invokevirtual org.apache.cassandra.db.Slices$Builder.build:()Lorg/apache/cassandra/db/Slices;
astore 9
start local 9 37: aload 0
aload 6
aload 9
invokevirtual org.apache.cassandra.thrift.CassandraServer.makeColumnFilter:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/Slices;)Lorg/apache/cassandra/db/filter/ColumnFilter;
astore 10
start local 10 38: new org.apache.cassandra.db.filter.ClusteringIndexSliceFilter
dup
aload 9
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.reversed:Z
invokespecial org.apache.cassandra.db.filter.ClusteringIndexSliceFilter.<init>:(Lorg/apache/cassandra/db/Slices;Z)V
astore 11
start local 11 39: aload 0
iconst_1
iconst_0
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.count:I
invokevirtual org.apache.cassandra.thrift.CassandraServer.getLimits:(IZI)Lorg/apache/cassandra/db/filter/DataLimits;
astore 12
start local 12 40: aload 6
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.key:Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.thrift.ThriftValidation.validateKey:(Lorg/apache/cassandra/config/CFMetaData;Ljava/nio/ByteBuffer;)V
41: aload 6
aload 1
getfield org.apache.cassandra.thrift.MultiSliceRequest.key:Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.config.CFMetaData.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 13
start local 13 42: iconst_1
aload 6
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
aload 10
getstatic org.apache.cassandra.db.filter.RowFilter.NONE:Lorg/apache/cassandra/db/filter/RowFilter;
aload 12
aload 13
aload 11
invokestatic org.apache.cassandra.db.SinglePartitionReadCommand.create:(ZLorg/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;
astore 14
start local 14 43: aload 0
aload 14
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
44: iconst_0
45: aload 12
invokevirtual org.apache.cassandra.db.filter.DataLimits.perPartitionCount:()I
46: aload 7
47: aload 4
48: lload 2
49: invokevirtual org.apache.cassandra.thrift.CassandraServer.getSlice:(Ljava/util/List;ZILorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/ClientState;J)Ljava/util/Map;
50: invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 16
51: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
52: aload 16
areturn
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 53: StackMap locals: org.apache.cassandra.thrift.CassandraServer org.apache.cassandra.thrift.MultiSliceRequest long
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 4
start local 4 54: aload 4
invokestatic org.apache.cassandra.thrift.ThriftConversion.toThrift:(Lorg/apache/cassandra/exceptions/RequestValidationException;)Lorg/apache/cassandra/thrift/InvalidRequestException;
athrow
end local 4 55: StackMap locals:
StackMap stack: java.lang.Throwable
astore 15
56: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
invokevirtual org.apache.cassandra.tracing.Tracing.stopSession:()V
57: aload 15
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 58 1 request Lorg/apache/cassandra/thrift/MultiSliceRequest;
1 58 2 queryStartNanoTime J
8 9 4 traceParameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
12 53 4 cState Lorg/apache/cassandra/service/ClientState;
13 53 5 keyspace Ljava/lang/String;
15 53 6 metadata Lorg/apache/cassandra/config/CFMetaData;
19 53 7 consistencyLevel Lorg/apache/cassandra/db/ConsistencyLevel;
21 53 8 builder Lorg/apache/cassandra/db/Slices$Builder;
22 36 9 i I
25 34 10 start Lorg/apache/cassandra/db/ClusteringBound;
26 34 11 finish Lorg/apache/cassandra/db/ClusteringBound;
27 34 12 compare I
37 53 9 slices Lorg/apache/cassandra/db/Slices;
38 53 10 columns Lorg/apache/cassandra/db/filter/ColumnFilter;
39 53 11 filter Lorg/apache/cassandra/db/filter/ClusteringIndexSliceFilter;
40 53 12 limits Lorg/apache/cassandra/db/filter/DataLimits;
42 53 13 dk Lorg/apache/cassandra/db/DecoratedKey;
43 53 14 cmd Lorg/apache/cassandra/db/SinglePartitionReadCommand;
54 55 4 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
11 51 53 Class org.apache.cassandra.exceptions.RequestValidationException
11 51 55 any
53 55 55 any
Exceptions:
throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
Signature: (Lorg/apache/cassandra/thrift/MultiSliceRequest;)Ljava/util/List<Lorg/apache/cassandra/thrift/ColumnOrSuperColumn;>;
MethodParameters:
Name Flags
request
private static void fixOptionalSliceParameters(org.apache.cassandra.thrift.ColumnSlice);
descriptor: (Lorg/apache/cassandra/thrift/ColumnSlice;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.thrift.ColumnSlice.isSetStart:()Z
ifne 2
1: aload 0
iconst_0
newarray 8
invokevirtual org.apache.cassandra.thrift.ColumnSlice.setStart:([B)Lorg/apache/cassandra/thrift/ColumnSlice;
pop
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.thrift.ColumnSlice.isSetFinish:()Z
ifne 4
3: aload 0
iconst_0
newarray 8
invokevirtual org.apache.cassandra.thrift.ColumnSlice.setFinish:([B)Lorg/apache/cassandra/thrift/ColumnSlice;
pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 columnSlice Lorg/apache/cassandra/thrift/ColumnSlice;
MethodParameters:
Name Flags
columnSlice
public void set_cql_version(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/thrift/CassandraServer;
0 1 1 version Ljava/lang/String;
MethodParameters:
Name Flags
version
public java.nio.ByteBuffer trace_next_query();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic org.apache.cassandra.utils.UUIDGen.getTimeUUID:()Ljava/util/UUID;
astore 1
start local 1 1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getQueryState:()Lorg/apache/cassandra/service/QueryState;
aload 1
invokevirtual org.apache.cassandra.service.QueryState.prepareTracingSession:(Ljava/util/UUID;)V
2: getstatic org.apache.cassandra.db.marshal.TimeUUIDType.instance:Lorg/apache/cassandra/db/marshal/TimeUUIDType;
aload 1
invokevirtual org.apache.cassandra.db.marshal.TimeUUIDType.decompose:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/thrift/CassandraServer;
1 3 1 sessionId Ljava/util/UUID;
Exceptions:
throws org.apache.thrift.TException
private boolean startSessionIfRequested();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getQueryState:()Lorg/apache/cassandra/service/QueryState;
invokevirtual org.apache.cassandra.service.QueryState.traceNextQuery:()Z
ifeq 3
1: aload 0
invokevirtual org.apache.cassandra.thrift.CassandraServer.state:()Lorg/apache/cassandra/thrift/ThriftClientState;
invokevirtual org.apache.cassandra.thrift.ThriftClientState.getQueryState:()Lorg/apache/cassandra/service/QueryState;
getstatic java.util.Collections.EMPTY_MAP:Ljava/util/Map;
invokevirtual org.apache.cassandra.service.QueryState.createTracingSession:(Ljava/util/Map;)V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/thrift/CassandraServer;
private void registerMetrics();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.metrics.ClientMetrics.instance:Lorg/apache/cassandra/metrics/ClientMetrics;
ldc "connectedThriftClients"
new org.apache.cassandra.thrift.CassandraServer$1
dup
aload 0
invokespecial org.apache.cassandra.thrift.CassandraServer$1.<init>:(Lorg/apache/cassandra/thrift/CassandraServer;)V
invokevirtual org.apache.cassandra.metrics.ClientMetrics.addCounter:(Ljava/lang/String;Ljava/util/concurrent/Callable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/thrift/CassandraServer;
static int[] $SWITCH_TABLE$org$apache$cassandra$db$Conflicts$Resolution();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.thrift.CassandraServer.$SWITCH_TABLE$org$apache$cassandra$db$Conflicts$Resolution:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.db.Conflicts$Resolution.values:()[Lorg/apache/cassandra/db/Conflicts$Resolution;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.db.Conflicts$Resolution.LEFT_WINS:Lorg/apache/cassandra/db/Conflicts$Resolution;
invokevirtual org.apache.cassandra.db.Conflicts$Resolution.ordinal:()I
iconst_1
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.Conflicts$Resolution.MERGE:Lorg/apache/cassandra/db/Conflicts$Resolution;
invokevirtual org.apache.cassandra.db.Conflicts$Resolution.ordinal:()I
iconst_2
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.Conflicts$Resolution.RIGHT_WINS:Lorg/apache/cassandra/db/Conflicts$Resolution;
invokevirtual org.apache.cassandra.db.Conflicts$Resolution.ordinal:()I
iconst_3
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.thrift.CassandraServer.$SWITCH_TABLE$org$apache$cassandra$db$Conflicts$Resolution:[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
static int[] $SWITCH_TABLE$org$apache$cassandra$thrift$Compression();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.thrift.CassandraServer.$SWITCH_TABLE$org$apache$cassandra$thrift$Compression:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.thrift.Compression.values:()[Lorg/apache/cassandra/thrift/Compression;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.thrift.Compression.GZIP:Lorg/apache/cassandra/thrift/Compression;
invokevirtual org.apache.cassandra.thrift.Compression.ordinal:()I
iconst_1
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.thrift.Compression.NONE:Lorg/apache/cassandra/thrift/Compression;
invokevirtual org.apache.cassandra.thrift.Compression.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
dup
putstatic org.apache.cassandra.thrift.CassandraServer.$SWITCH_TABLE$org$apache$cassandra$thrift$Compression:[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
private static java.nio.ByteBuffer lambda$0(org.apache.cassandra.thrift.Column);
descriptor: (Lorg/apache/cassandra/thrift/Column;)Ljava/nio/ByteBuffer;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.thrift.Column.name:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 column Lorg/apache/cassandra/thrift/Column;
}
SourceFile: "CassandraServer.java"
NestMembers:
org.apache.cassandra.thrift.CassandraServer$1 org.apache.cassandra.thrift.CassandraServer$ThriftCASRequest
InnerClasses:
public final MapJoiner = com.google.common.base.Joiner$MapJoiner of com.google.common.base.Joiner
public Builder = com.google.common.collect.ImmutableMap$Builder of com.google.common.collect.ImmutableMap
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public Prepared = org.apache.cassandra.cql3.statements.ParsedStatement$Prepared of org.apache.cassandra.cql3.statements.ParsedStatement
public final Resolution = org.apache.cassandra.db.Conflicts$Resolution of org.apache.cassandra.db.Conflicts
public LegacyBound = org.apache.cassandra.db.LegacyLayout$LegacyBound of org.apache.cassandra.db.LegacyLayout
public LegacyCell = org.apache.cassandra.db.LegacyLayout$LegacyCell of org.apache.cassandra.db.LegacyLayout
public LegacyCellName = org.apache.cassandra.db.LegacyLayout$LegacyCellName of org.apache.cassandra.db.LegacyLayout
public LegacyDeletionInfo = org.apache.cassandra.db.LegacyLayout$LegacyDeletionInfo of org.apache.cassandra.db.LegacyLayout
public LegacyRangeTombstone = org.apache.cassandra.db.LegacyLayout$LegacyRangeTombstone of org.apache.cassandra.db.LegacyLayout
public LegacyRangeTombstoneList = org.apache.cassandra.db.LegacyLayout$LegacyRangeTombstoneList of org.apache.cassandra.db.LegacyLayout
public Builder = org.apache.cassandra.db.PartitionColumns$Builder of org.apache.cassandra.db.PartitionColumns
public final ForKey = org.apache.cassandra.db.PartitionPosition$ForKey of org.apache.cassandra.db.PartitionPosition
public Group = org.apache.cassandra.db.SinglePartitionReadCommand$Group of org.apache.cassandra.db.SinglePartitionReadCommand
public Builder = org.apache.cassandra.db.Slices$Builder of org.apache.cassandra.db.Slices
public Builder = org.apache.cassandra.db.filter.ColumnFilter$Builder of org.apache.cassandra.db.filter.ColumnFilter
public Deletion = org.apache.cassandra.db.rows.Row$Deletion of org.apache.cassandra.db.rows.Row
public KeyBound = org.apache.cassandra.dht.Token$KeyBound of org.apache.cassandra.dht.Token
public abstract TokenFactory = org.apache.cassandra.dht.Token$TokenFactory of org.apache.cassandra.dht.Token
public abstract Iface = org.apache.cassandra.thrift.Cassandra$Iface of org.apache.cassandra.thrift.Cassandra
org.apache.cassandra.thrift.CassandraServer$1
private ThriftCASRequest = org.apache.cassandra.thrift.CassandraServer$ThriftCASRequest of org.apache.cassandra.thrift.CassandraServer
public Prepared = org.apache.cassandra.transport.messages.ResultMessage$Prepared of org.apache.cassandra.transport.messages.ResultMessage