public class org.apache.cassandra.cql3.QueryProcessor implements org.apache.cassandra.cql3.QueryHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cql3.QueryProcessor
super_class: java.lang.Object
{
public static final org.apache.cassandra.utils.CassandraVersion CQL_VERSION;
descriptor: Lorg/apache/cassandra/utils/CassandraVersion;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.cassandra.cql3.QueryProcessor instance;
descriptor: Lorg/apache/cassandra/cql3/QueryProcessor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap<org.apache.cassandra.utils.MD5Digest, org.apache.cassandra.cql3.statements.ParsedStatement$Prepared> preparedStatements;
descriptor: Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap<Lorg/apache/cassandra/utils/MD5Digest;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;>;
private static final com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap<java.lang.Integer, org.apache.cassandra.cql3.statements.ParsedStatement$Prepared> thriftPreparedStatements;
descriptor: Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap<Ljava/lang/Integer;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;>;
private static final java.util.concurrent.ConcurrentMap<java.lang.String, org.apache.cassandra.cql3.statements.ParsedStatement$Prepared> internalStatements;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;>;
public static final org.apache.cassandra.metrics.CQLMetrics metrics;
descriptor: Lorg/apache/cassandra/metrics/CQLMetrics;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.atomic.AtomicInteger lastMinuteEvictionsCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.atomic.AtomicInteger thriftLastMinuteEvictionsCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/cql3/QueryProcessor;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.cql3.QueryProcessor.$assertionsDisabled:Z
3: new org.apache.cassandra.utils.CassandraVersion
dup
ldc "3.4.4"
invokespecial org.apache.cassandra.utils.CassandraVersion.<init>:(Ljava/lang/String;)V
putstatic org.apache.cassandra.cql3.QueryProcessor.CQL_VERSION:Lorg/apache/cassandra/utils/CassandraVersion;
4: new org.apache.cassandra.cql3.QueryProcessor
dup
invokespecial org.apache.cassandra.cql3.QueryProcessor.<init>:()V
putstatic org.apache.cassandra.cql3.QueryProcessor.instance:Lorg/apache/cassandra/cql3/QueryProcessor;
5: ldc Lorg/apache/cassandra/cql3/QueryProcessor;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
6: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic org.apache.cassandra.cql3.QueryProcessor.internalStatements:Ljava/util/concurrent/ConcurrentMap;
7: new org.apache.cassandra.metrics.CQLMetrics
dup
invokespecial org.apache.cassandra.metrics.CQLMetrics.<init>:()V
putstatic org.apache.cassandra.cql3.QueryProcessor.metrics:Lorg/apache/cassandra/metrics/CQLMetrics;
8: new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putstatic org.apache.cassandra.cql3.QueryProcessor.lastMinuteEvictionsCount:Ljava/util/concurrent/atomic/AtomicInteger;
9: new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putstatic org.apache.cassandra.cql3.QueryProcessor.thriftLastMinuteEvictionsCount:Ljava/util/concurrent/atomic/AtomicInteger;
10: new com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder
dup
invokespecial com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.<init>:()V
11: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getPreparedStatementsCacheSizeMB:()J
invokestatic org.apache.cassandra.cql3.QueryProcessor.capacityToBytes:(J)J
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.maximumWeightedCapacity:(J)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
12: invokedynamic weightOf()Lcom/googlecode/concurrentlinkedhashmap/EntryWeigher;
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;)I
org/apache/cassandra/cql3/QueryProcessor.measure(Ljava/lang/Object;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)I (6)
(Lorg/apache/cassandra/utils/MD5Digest;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)I
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.weigher:(Lcom/googlecode/concurrentlinkedhashmap/EntryWeigher;)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
13: invokedynamic onEviction()Lcom/googlecode/concurrentlinkedhashmap/EvictionListener;
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;)V
org/apache/cassandra/cql3/QueryProcessor.lambda$1(Lorg/apache/cassandra/utils/MD5Digest;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)V (6)
(Lorg/apache/cassandra/utils/MD5Digest;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)V
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.listener:(Lcom/googlecode/concurrentlinkedhashmap/EvictionListener;)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
14: invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.build:()Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
15: putstatic org.apache.cassandra.cql3.QueryProcessor.preparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
16: new com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder
dup
invokespecial com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.<init>:()V
17: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getThriftPreparedStatementsCacheSizeMB:()J
invokestatic org.apache.cassandra.cql3.QueryProcessor.capacityToBytes:(J)J
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.maximumWeightedCapacity:(J)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
18: invokedynamic weightOf()Lcom/googlecode/concurrentlinkedhashmap/EntryWeigher;
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;)I
org/apache/cassandra/cql3/QueryProcessor.measure(Ljava/lang/Object;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)I (6)
(Ljava/lang/Integer;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)I
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.weigher:(Lcom/googlecode/concurrentlinkedhashmap/EntryWeigher;)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
19: invokedynamic onEviction()Lcom/googlecode/concurrentlinkedhashmap/EvictionListener;
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;)V
org/apache/cassandra/cql3/QueryProcessor.lambda$3(Ljava/lang/Integer;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)V (6)
(Ljava/lang/Integer;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)V
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.listener:(Lcom/googlecode/concurrentlinkedhashmap/EvictionListener;)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
20: invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.build:()Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
21: putstatic org.apache.cassandra.cql3.QueryProcessor.thriftPreparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
22: getstatic org.apache.cassandra.concurrent.ScheduledExecutors.scheduledTasks:Lorg/apache/cassandra/concurrent/DebuggableScheduledThreadPoolExecutor;
invokedynamic run()Ljava/lang/Runnable;
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:
()V
org/apache/cassandra/cql3/QueryProcessor.lambda$4()V (6)
()V
23: lconst_1
lconst_1
getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
24: invokevirtual org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor.scheduleAtFixedRate:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
pop
25: getstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
ldc "Initialized prepared statement caches with {} MB (native) and {} MB (Thrift)"
26: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getPreparedStatementsCacheSizeMB:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
27: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getThriftPreparedStatementsCacheSizeMB:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
28: invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
29: return
LocalVariableTable:
Start End Slot Name Signature
private static long capacityToBytes(long);
descriptor: (J)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 1024
lmul
ldc 1024
lmul
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cacheSizeMB J
MethodParameters:
Name Flags
cacheSizeMB
public static int preparedStatementsCount();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic org.apache.cassandra.cql3.QueryProcessor.preparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.size:()I
getstatic org.apache.cassandra.cql3.QueryProcessor.thriftPreparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.size:()I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static void preloadPreparedStatement();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=0
0: invokestatic org.apache.cassandra.service.ClientState.forInternalCalls:()Lorg/apache/cassandra/service/ClientState;
astore 0
start local 0 1: iconst_0
istore 1
start local 1 2: invokestatic org.apache.cassandra.db.SystemKeyspace.loadPreparedStatements:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: org.apache.cassandra.service.ClientState int top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Pair
astore 2
start local 2 4: aload 0
aload 2
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.apache.cassandra.service.ClientState.setKeyspace:(Ljava/lang/String;)V
5: aload 2
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.String
aload 0
iconst_0
invokestatic org.apache.cassandra.cql3.QueryProcessor.prepare:(Ljava/lang/String;Lorg/apache/cassandra/service/ClientState;Z)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
pop
6: iinc 1 1
7: goto 10
8: StackMap locals: org.apache.cassandra.service.ClientState int org.apache.cassandra.utils.Pair java.util.Iterator
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 4
start local 4 9: getstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
ldc "prepared statement recreation error: {}"
aload 2
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
aload 4
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 end local 2 10: StackMap locals: org.apache.cassandra.service.ClientState int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: getstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
ldc "Preloaded {} prepared statements"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 13 0 clientState Lorg/apache/cassandra/service/ClientState;
2 13 1 count I
4 10 2 useKeyspaceAndCQL Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;
9 10 4 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
4 7 8 Class org.apache.cassandra.exceptions.RequestValidationException
public static void clearPreparedStatements(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.cql3.QueryProcessor.preparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.clear:()V
1: getstatic org.apache.cassandra.cql3.QueryProcessor.thriftPreparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.clear:()V
2: iload 0
ifne 4
3: invokestatic org.apache.cassandra.db.SystemKeyspace.resetPreparedStatements:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 memoryOnly Z
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
memoryOnly
public static org.apache.cassandra.service.QueryState internalQueryState();
descriptor: ()Lorg/apache/cassandra/service/QueryState;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.cassandra.cql3.QueryProcessor$InternalStateInstance.INSTANCE:Lorg/apache/cassandra/cql3/QueryProcessor$InternalStateInstance;
getfield org.apache.cassandra.cql3.QueryProcessor$InternalStateInstance.queryState:Lorg/apache/cassandra/service/QueryState;
areturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.apache.cassandra.service.MigrationManager.instance:Lorg/apache/cassandra/service/MigrationManager;
new org.apache.cassandra.cql3.QueryProcessor$MigrationSubscriber
dup
invokespecial org.apache.cassandra.cql3.QueryProcessor$MigrationSubscriber.<init>:()V
invokevirtual org.apache.cassandra.service.MigrationManager.register:(Lorg/apache/cassandra/service/MigrationListener;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
public org.apache.cassandra.cql3.statements.ParsedStatement$Prepared getPrepared(org.apache.cassandra.utils.MD5Digest);
descriptor: (Lorg/apache/cassandra/utils/MD5Digest;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.cql3.QueryProcessor.preparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 1
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 1 1 id Lorg/apache/cassandra/utils/MD5Digest;
MethodParameters:
Name Flags
id
public org.apache.cassandra.cql3.statements.ParsedStatement$Prepared getPreparedForThrift(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.cql3.QueryProcessor.thriftPreparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 1
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 1 1 id Ljava/lang/Integer;
MethodParameters:
Name Flags
id
public static void validateKey(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 2
1: StackMap locals:
StackMap stack:
new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Key may not be empty"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.utils.ByteBufferUtil.UNSET_BYTE_BUFFER:Ljava/nio/ByteBuffer;
if_acmpne 4
3: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Key may not be unset"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
ldc 65535
if_icmple 8
5: new org.apache.cassandra.exceptions.InvalidRequestException
dup
new java.lang.StringBuilder
dup
ldc "Key length of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
6: ldc " is longer than maximum of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc 65535
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 key Ljava/nio/ByteBuffer;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
key
public org.apache.cassandra.transport.messages.ResultMessage processStatement(org.apache.cassandra.cql3.CQLStatement, org.apache.cassandra.service.QueryState, org.apache.cassandra.cql3.QueryOptions, long);
descriptor: (Lorg/apache/cassandra/cql3/CQLStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
ldc "Process {} @CL.{}"
aload 1
aload 3
invokevirtual org.apache.cassandra.cql3.QueryOptions.getConsistency:()Lorg/apache/cassandra/db/ConsistencyLevel;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 2
invokevirtual org.apache.cassandra.service.QueryState.getClientState:()Lorg/apache/cassandra/service/ClientState;
astore 6
start local 6 2: aload 1
aload 6
invokeinterface org.apache.cassandra.cql3.CQLStatement.checkAccess:(Lorg/apache/cassandra/service/ClientState;)V
3: aload 1
aload 6
invokeinterface org.apache.cassandra.cql3.CQLStatement.validate:(Lorg/apache/cassandra/service/ClientState;)V
4: aload 1
aload 2
aload 3
lload 4
invokeinterface org.apache.cassandra.cql3.CQLStatement.execute:(Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
astore 7
start local 7 5: aload 7
ifnonnull 6
new org.apache.cassandra.transport.messages.ResultMessage$Void
dup
invokespecial org.apache.cassandra.transport.messages.ResultMessage$Void.<init>:()V
goto 7
StackMap locals: org.apache.cassandra.service.ClientState org.apache.cassandra.transport.messages.ResultMessage
StackMap stack:
6: aload 7
StackMap locals:
StackMap stack: org.apache.cassandra.transport.messages.ResultMessage
7: areturn
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 8 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 8 1 statement Lorg/apache/cassandra/cql3/CQLStatement;
0 8 2 queryState Lorg/apache/cassandra/service/QueryState;
0 8 3 options Lorg/apache/cassandra/cql3/QueryOptions;
0 8 4 queryStartNanoTime J
2 8 6 clientState Lorg/apache/cassandra/service/ClientState;
5 8 7 result Lorg/apache/cassandra/transport/messages/ResultMessage;
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
statement
queryState
options
queryStartNanoTime
public static org.apache.cassandra.transport.messages.ResultMessage process(java.lang.String, org.apache.cassandra.db.ConsistencyLevel, org.apache.cassandra.service.QueryState, long);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/QueryState;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.cassandra.cql3.QueryProcessor.instance:Lorg/apache/cassandra/cql3/QueryProcessor;
aload 0
aload 2
aload 1
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokestatic org.apache.cassandra.cql3.QueryOptions.forInternalCalls:(Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/util/List;)Lorg/apache/cassandra/cql3/QueryOptions;
lload 3
invokevirtual org.apache.cassandra.cql3.QueryProcessor.process:(Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 queryString Ljava/lang/String;
0 1 1 cl Lorg/apache/cassandra/db/ConsistencyLevel;
0 1 2 queryState Lorg/apache/cassandra/service/QueryState;
0 1 3 queryStartNanoTime J
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
queryString
cl
queryState
queryStartNanoTime
public org.apache.cassandra.transport.messages.ResultMessage process(java.lang.String, org.apache.cassandra.service.QueryState, org.apache.cassandra.cql3.QueryOptions, java.util.Map<java.lang.String, java.nio.ByteBuffer>, long);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;Ljava/util/Map;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0001) ACC_PUBLIC
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 5 0: aload 0
aload 1
aload 2
aload 3
lload 5
invokevirtual org.apache.cassandra.cql3.QueryProcessor.process:(Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
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 1 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 1 1 query Ljava/lang/String;
0 1 2 state Lorg/apache/cassandra/service/QueryState;
0 1 3 options Lorg/apache/cassandra/cql3/QueryOptions;
0 1 4 customPayload Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;
0 1 5 queryStartNanoTime J
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
Signature: (Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
MethodParameters:
Name Flags
query
state
options
customPayload
queryStartNanoTime
public org.apache.cassandra.transport.messages.ResultMessage process(java.lang.String, org.apache.cassandra.service.QueryState, org.apache.cassandra.cql3.QueryOptions, long);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0001) ACC_PUBLIC
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
aload 2
invokevirtual org.apache.cassandra.service.QueryState.getClientState:()Lorg/apache/cassandra/service/ClientState;
invokestatic org.apache.cassandra.cql3.QueryProcessor.getStatement:(Ljava/lang/String;Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
astore 6
start local 6 1: aload 3
aload 6
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.boundNames:Ljava/util/List;
invokevirtual org.apache.cassandra.cql3.QueryOptions.prepare:(Ljava/util/List;)Lorg/apache/cassandra/cql3/QueryOptions;
pop
2: aload 6
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
astore 7
start local 7 3: aload 7
invokeinterface org.apache.cassandra.cql3.CQLStatement.getBoundTerms:()I
aload 3
invokevirtual org.apache.cassandra.cql3.QueryOptions.getValues:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpeq 5
4: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Invalid amount of bind variables"
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared org.apache.cassandra.cql3.CQLStatement
StackMap stack:
aload 2
invokevirtual org.apache.cassandra.service.QueryState.getClientState:()Lorg/apache/cassandra/service/ClientState;
getfield org.apache.cassandra.service.ClientState.isInternal:Z
ifne 7
6: getstatic org.apache.cassandra.cql3.QueryProcessor.metrics:Lorg/apache/cassandra/metrics/CQLMetrics;
getfield org.apache.cassandra.metrics.CQLMetrics.regularStatementsExecuted:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.inc:()V
7: StackMap locals:
StackMap stack:
aload 0
aload 7
aload 2
aload 3
lload 4
invokevirtual org.apache.cassandra.cql3.QueryProcessor.processStatement:(Lorg/apache/cassandra/cql3/CQLStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
areturn
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 8 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 8 1 queryString Ljava/lang/String;
0 8 2 queryState Lorg/apache/cassandra/service/QueryState;
0 8 3 options Lorg/apache/cassandra/cql3/QueryOptions;
0 8 4 queryStartNanoTime J
1 8 6 p Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
3 8 7 prepared Lorg/apache/cassandra/cql3/CQLStatement;
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
queryString
queryState
options
queryStartNanoTime
public static org.apache.cassandra.cql3.statements.ParsedStatement$Prepared parseStatement(java.lang.String, org.apache.cassandra.service.QueryState);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.service.QueryState.getClientState:()Lorg/apache/cassandra/service/ClientState;
invokestatic org.apache.cassandra.cql3.QueryProcessor.getStatement:(Ljava/lang/String;Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 queryStr Ljava/lang/String;
0 1 1 queryState Lorg/apache/cassandra/service/QueryState;
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
queryStr
queryState
public static org.apache.cassandra.cql3.UntypedResultSet process(java.lang.String, org.apache.cassandra.db.ConsistencyLevel);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/db/ConsistencyLevel;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokestatic org.apache.cassandra.cql3.QueryProcessor.process:(Ljava/lang/String;Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/util/List;)Lorg/apache/cassandra/cql3/UntypedResultSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 query Ljava/lang/String;
0 1 1 cl Lorg/apache/cassandra/db/ConsistencyLevel;
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException
MethodParameters:
Name Flags
query
cl
public static org.apache.cassandra.cql3.UntypedResultSet process(java.lang.String, org.apache.cassandra.db.ConsistencyLevel, java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/util/List;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.cql3.QueryProcessor.instance:Lorg/apache/cassandra/cql3/QueryProcessor;
aload 0
invokestatic org.apache.cassandra.service.QueryState.forInternalCalls:()Lorg/apache/cassandra/service/QueryState;
aload 1
aload 2
invokestatic org.apache.cassandra.cql3.QueryOptions.forInternalCalls:(Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/util/List;)Lorg/apache/cassandra/cql3/QueryOptions;
invokestatic java.lang.System.nanoTime:()J
invokevirtual org.apache.cassandra.cql3.QueryProcessor.process:(Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
astore 3
start local 3 1: aload 3
instanceof org.apache.cassandra.transport.messages.ResultMessage$Rows
ifeq 3
2: aload 3
checkcast org.apache.cassandra.transport.messages.ResultMessage$Rows
getfield org.apache.cassandra.transport.messages.ResultMessage$Rows.result:Lorg/apache/cassandra/cql3/ResultSet;
invokestatic org.apache.cassandra.cql3.UntypedResultSet.create:(Lorg/apache/cassandra/cql3/ResultSet;)Lorg/apache/cassandra/cql3/UntypedResultSet;
areturn
3: StackMap locals: org.apache.cassandra.transport.messages.ResultMessage
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 query Ljava/lang/String;
0 4 1 cl Lorg/apache/cassandra/db/ConsistencyLevel;
0 4 2 values Ljava/util/List<Ljava/nio/ByteBuffer;>;
1 4 3 result Lorg/apache/cassandra/transport/messages/ResultMessage;
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException
Signature: (Ljava/lang/String;Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/util/List<Ljava/nio/ByteBuffer;>;)Lorg/apache/cassandra/cql3/UntypedResultSet;
MethodParameters:
Name Flags
query
cl
values
public static org.apache.cassandra.cql3.QueryOptions makeInternalOptions(org.apache.cassandra.cql3.statements.ParsedStatement$Prepared, java.lang.Object[]);
descriptor: (Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/QueryOptions;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.apache.cassandra.db.ConsistencyLevel.ONE:Lorg/apache/cassandra/db/ConsistencyLevel;
invokestatic org.apache.cassandra.cql3.QueryProcessor.makeInternalOptions:(Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;[Ljava/lang/Object;Lorg/apache/cassandra/db/ConsistencyLevel;)Lorg/apache/cassandra/cql3/QueryOptions;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
0 1 1 values [Ljava/lang/Object;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
prepared
values
private static org.apache.cassandra.cql3.QueryOptions makeInternalOptions(org.apache.cassandra.cql3.statements.ParsedStatement$Prepared, java.lang.Object[], org.apache.cassandra.db.ConsistencyLevel);
descriptor: (Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;[Ljava/lang/Object;Lorg/apache/cassandra/db/ConsistencyLevel;)Lorg/apache/cassandra/cql3/QueryOptions;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.boundNames:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 1
arraylength
if_icmpeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Invalid number of values. Expecting %d but got %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.boundNames:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
arraylength
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 java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 1
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 12
5: StackMap locals: java.util.List int
StackMap stack:
aload 1
iload 4
aaload
astore 5
start local 5 6: aload 0
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.boundNames:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.ColumnSpecification
getfield org.apache.cassandra.cql3.ColumnSpecification.type:Lorg/apache/cassandra/db/marshal/AbstractType;
astore 6
start local 6 7: aload 3
aload 5
instanceof java.nio.ByteBuffer
ifne 8
aload 5
ifnonnull 9
StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared java.lang.Object[] org.apache.cassandra.db.ConsistencyLevel java.util.List int java.lang.Object org.apache.cassandra.db.marshal.AbstractType
StackMap stack: java.util.List
8: aload 5
checkcast java.nio.ByteBuffer
goto 10
StackMap locals:
StackMap stack: java.util.List
9: aload 6
aload 5
invokevirtual org.apache.cassandra.db.marshal.AbstractType.decompose:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared java.lang.Object[] org.apache.cassandra.db.ConsistencyLevel java.util.List int java.lang.Object org.apache.cassandra.db.marshal.AbstractType
StackMap stack: java.util.List java.nio.ByteBuffer
10: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
aload 1
arraylength
if_icmplt 5
end local 4 13: aload 2
aload 3
invokestatic org.apache.cassandra.cql3.QueryOptions.forInternalCalls:(Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/util/List;)Lorg/apache/cassandra/cql3/QueryOptions;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
0 14 1 values [Ljava/lang/Object;
0 14 2 cl Lorg/apache/cassandra/db/ConsistencyLevel;
3 14 3 boundValues Ljava/util/List<Ljava/nio/ByteBuffer;>;
4 13 4 i I
6 11 5 value Ljava/lang/Object;
7 11 6 type Lorg/apache/cassandra/db/marshal/AbstractType;
MethodParameters:
Name Flags
prepared
values
cl
public static org.apache.cassandra.cql3.statements.ParsedStatement$Prepared prepareInternal(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic org.apache.cassandra.cql3.QueryProcessor.internalStatements:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
StackMap stack:
aload 0
invokestatic org.apache.cassandra.cql3.QueryProcessor.internalQueryState:()Lorg/apache/cassandra/service/QueryState;
invokestatic org.apache.cassandra.cql3.QueryProcessor.parseStatement:(Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
astore 1
4: aload 1
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
invokestatic org.apache.cassandra.cql3.QueryProcessor.internalQueryState:()Lorg/apache/cassandra/service/QueryState;
invokevirtual org.apache.cassandra.service.QueryState.getClientState:()Lorg/apache/cassandra/service/ClientState;
invokeinterface org.apache.cassandra.cql3.CQLStatement.validate:(Lorg/apache/cassandra/service/ClientState;)V
5: getstatic org.apache.cassandra.cql3.QueryProcessor.internalStatements:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 query Ljava/lang/String;
1 7 1 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
query
public static org.apache.cassandra.cql3.UntypedResultSet executeInternal(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.cassandra.cql3.QueryProcessor.prepareInternal:(Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
astore 2
start local 2 1: aload 2
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
invokestatic org.apache.cassandra.cql3.QueryProcessor.internalQueryState:()Lorg/apache/cassandra/service/QueryState;
aload 2
aload 1
invokestatic org.apache.cassandra.cql3.QueryProcessor.makeInternalOptions:(Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/QueryOptions;
invokeinterface org.apache.cassandra.cql3.CQLStatement.executeInternal:(Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/transport/messages/ResultMessage;
astore 3
start local 3 2: aload 3
instanceof org.apache.cassandra.transport.messages.ResultMessage$Rows
ifeq 4
3: aload 3
checkcast org.apache.cassandra.transport.messages.ResultMessage$Rows
getfield org.apache.cassandra.transport.messages.ResultMessage$Rows.result:Lorg/apache/cassandra/cql3/ResultSet;
invokestatic org.apache.cassandra.cql3.UntypedResultSet.create:(Lorg/apache/cassandra/cql3/ResultSet;)Lorg/apache/cassandra/cql3/UntypedResultSet;
areturn
4: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared org.apache.cassandra.transport.messages.ResultMessage
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 query Ljava/lang/String;
0 5 1 values [Ljava/lang/Object;
1 5 2 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
2 5 3 result Lorg/apache/cassandra/transport/messages/ResultMessage;
MethodParameters:
Name Flags
query
values
public static org.apache.cassandra.cql3.UntypedResultSet execute(java.lang.String, org.apache.cassandra.db.ConsistencyLevel, java.lang.Object[]);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/db/ConsistencyLevel;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic org.apache.cassandra.cql3.QueryProcessor.internalQueryState:()Lorg/apache/cassandra/service/QueryState;
aload 2
invokestatic org.apache.cassandra.cql3.QueryProcessor.execute:(Ljava/lang/String;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/QueryState;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/UntypedResultSet;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 query Ljava/lang/String;
0 1 1 cl Lorg/apache/cassandra/db/ConsistencyLevel;
0 1 2 values [Ljava/lang/Object;
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException
MethodParameters:
Name Flags
query
cl
values
public static org.apache.cassandra.cql3.UntypedResultSet execute(java.lang.String, org.apache.cassandra.db.ConsistencyLevel, org.apache.cassandra.service.QueryState, java.lang.Object[]);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/db/ConsistencyLevel;Lorg/apache/cassandra/service/QueryState;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic org.apache.cassandra.cql3.QueryProcessor.prepareInternal:(Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
astore 4
start local 4 1: aload 4
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
aload 2
aload 4
aload 3
aload 1
invokestatic org.apache.cassandra.cql3.QueryProcessor.makeInternalOptions:(Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;[Ljava/lang/Object;Lorg/apache/cassandra/db/ConsistencyLevel;)Lorg/apache/cassandra/cql3/QueryOptions;
invokestatic java.lang.System.nanoTime:()J
invokeinterface org.apache.cassandra.cql3.CQLStatement.execute:(Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
astore 5
start local 5 2: aload 5
instanceof org.apache.cassandra.transport.messages.ResultMessage$Rows
ifeq 5
3: aload 5
checkcast org.apache.cassandra.transport.messages.ResultMessage$Rows
getfield org.apache.cassandra.transport.messages.ResultMessage$Rows.result:Lorg/apache/cassandra/cql3/ResultSet;
invokestatic org.apache.cassandra.cql3.UntypedResultSet.create:(Lorg/apache/cassandra/cql3/ResultSet;)Lorg/apache/cassandra/cql3/UntypedResultSet;
4: areturn
5: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared org.apache.cassandra.transport.messages.ResultMessage
StackMap stack:
aconst_null
areturn
end local 5 end local 4 6: StackMap locals: java.lang.String org.apache.cassandra.db.ConsistencyLevel org.apache.cassandra.service.QueryState java.lang.Object[]
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 4
start local 4 7: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Error validating "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 query Ljava/lang/String;
0 8 1 cl Lorg/apache/cassandra/db/ConsistencyLevel;
0 8 2 state Lorg/apache/cassandra/service/QueryState;
0 8 3 values [Ljava/lang/Object;
1 6 4 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
2 6 5 result Lorg/apache/cassandra/transport/messages/ResultMessage;
7 8 4 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
0 4 6 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException
MethodParameters:
Name Flags
query
cl
state
values
public static org.apache.cassandra.cql3.UntypedResultSet executeInternalWithPaging(java.lang.String, int, java.lang.Object[]);
descriptor: (Ljava/lang/String;I[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.apache.cassandra.cql3.QueryProcessor.prepareInternal:(Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
astore 3
start local 3 1: aload 3
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
instanceof org.apache.cassandra.cql3.statements.SelectStatement
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "Only SELECTs can be paged"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
StackMap stack:
aload 3
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
checkcast org.apache.cassandra.cql3.statements.SelectStatement
astore 4
start local 4 4: aload 4
aload 3
aload 2
invokestatic org.apache.cassandra.cql3.QueryProcessor.makeInternalOptions:(Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/QueryOptions;
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement.getQuery:(Lorg/apache/cassandra/cql3/QueryOptions;I)Lorg/apache/cassandra/db/ReadQuery;
aconst_null
getstatic org.apache.cassandra.transport.ProtocolVersion.CURRENT:Lorg/apache/cassandra/transport/ProtocolVersion;
invokeinterface org.apache.cassandra.db.ReadQuery.getPager:(Lorg/apache/cassandra/service/pager/PagingState;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/service/pager/QueryPager;
astore 5
start local 5 5: aload 4
aload 5
iload 1
invokestatic org.apache.cassandra.cql3.UntypedResultSet.create:(Lorg/apache/cassandra/cql3/statements/SelectStatement;Lorg/apache/cassandra/service/pager/QueryPager;I)Lorg/apache/cassandra/cql3/UntypedResultSet;
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 6 0 query Ljava/lang/String;
0 6 1 pageSize I
0 6 2 values [Ljava/lang/Object;
1 6 3 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
4 6 4 select Lorg/apache/cassandra/cql3/statements/SelectStatement;
5 6 5 pager Lorg/apache/cassandra/service/pager/QueryPager;
MethodParameters:
Name Flags
query
pageSize
values
public static org.apache.cassandra.cql3.UntypedResultSet executeOnceInternal(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.cassandra.cql3.QueryProcessor.internalQueryState:()Lorg/apache/cassandra/service/QueryState;
invokestatic org.apache.cassandra.cql3.QueryProcessor.parseStatement:(Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
astore 2
start local 2 1: aload 2
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
invokestatic org.apache.cassandra.cql3.QueryProcessor.internalQueryState:()Lorg/apache/cassandra/service/QueryState;
invokevirtual org.apache.cassandra.service.QueryState.getClientState:()Lorg/apache/cassandra/service/ClientState;
invokeinterface org.apache.cassandra.cql3.CQLStatement.validate:(Lorg/apache/cassandra/service/ClientState;)V
2: aload 2
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
invokestatic org.apache.cassandra.cql3.QueryProcessor.internalQueryState:()Lorg/apache/cassandra/service/QueryState;
aload 2
aload 1
invokestatic org.apache.cassandra.cql3.QueryProcessor.makeInternalOptions:(Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/QueryOptions;
invokeinterface org.apache.cassandra.cql3.CQLStatement.executeInternal:(Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;)Lorg/apache/cassandra/transport/messages/ResultMessage;
astore 3
start local 3 3: aload 3
instanceof org.apache.cassandra.transport.messages.ResultMessage$Rows
ifeq 5
4: aload 3
checkcast org.apache.cassandra.transport.messages.ResultMessage$Rows
getfield org.apache.cassandra.transport.messages.ResultMessage$Rows.result:Lorg/apache/cassandra/cql3/ResultSet;
invokestatic org.apache.cassandra.cql3.UntypedResultSet.create:(Lorg/apache/cassandra/cql3/ResultSet;)Lorg/apache/cassandra/cql3/UntypedResultSet;
areturn
5: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared org.apache.cassandra.transport.messages.ResultMessage
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 query Ljava/lang/String;
0 6 1 values [Ljava/lang/Object;
1 6 2 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
3 6 3 result Lorg/apache/cassandra/transport/messages/ResultMessage;
MethodParameters:
Name Flags
query
values
public static org.apache.cassandra.cql3.UntypedResultSet executeInternalWithNow(int, long, java.lang.String, java.lang.Object[]);
descriptor: (IJLjava/lang/String;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 3
invokestatic org.apache.cassandra.cql3.QueryProcessor.prepareInternal:(Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
astore 5
start local 5 1: getstatic org.apache.cassandra.cql3.QueryProcessor.$assertionsDisabled:Z
ifne 2
aload 5
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
instanceof org.apache.cassandra.cql3.statements.SelectStatement
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
StackMap stack:
aload 5
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
checkcast org.apache.cassandra.cql3.statements.SelectStatement
astore 6
start local 6 3: aload 6
invokestatic org.apache.cassandra.cql3.QueryProcessor.internalQueryState:()Lorg/apache/cassandra/service/QueryState;
aload 5
aload 4
invokestatic org.apache.cassandra.cql3.QueryProcessor.makeInternalOptions:(Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;[Ljava/lang/Object;)Lorg/apache/cassandra/cql3/QueryOptions;
iload 0
lload 1
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement.executeInternal:(Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;IJ)Lorg/apache/cassandra/transport/messages/ResultMessage$Rows;
astore 7
start local 7 4: getstatic org.apache.cassandra.cql3.QueryProcessor.$assertionsDisabled:Z
ifne 5
aload 7
instanceof org.apache.cassandra.transport.messages.ResultMessage$Rows
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.apache.cassandra.cql3.statements.SelectStatement org.apache.cassandra.transport.messages.ResultMessage
StackMap stack:
aload 7
checkcast org.apache.cassandra.transport.messages.ResultMessage$Rows
getfield org.apache.cassandra.transport.messages.ResultMessage$Rows.result:Lorg/apache/cassandra/cql3/ResultSet;
invokestatic org.apache.cassandra.cql3.UntypedResultSet.create:(Lorg/apache/cassandra/cql3/ResultSet;)Lorg/apache/cassandra/cql3/UntypedResultSet;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 nowInSec I
0 6 1 queryStartNanoTime J
0 6 3 query Ljava/lang/String;
0 6 4 values [Ljava/lang/Object;
1 6 5 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
3 6 6 select Lorg/apache/cassandra/cql3/statements/SelectStatement;
4 6 7 result Lorg/apache/cassandra/transport/messages/ResultMessage;
MethodParameters:
Name Flags
nowInSec
queryStartNanoTime
query
values
public static org.apache.cassandra.cql3.UntypedResultSet resultify(java.lang.String, org.apache.cassandra.db.rows.RowIterator);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/db/rows/RowIterator;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.cassandra.db.partitions.PartitionIterators.singletonIterator:(Lorg/apache/cassandra/db/rows/RowIterator;)Lorg/apache/cassandra/db/partitions/PartitionIterator;
invokestatic org.apache.cassandra.cql3.QueryProcessor.resultify:(Ljava/lang/String;Lorg/apache/cassandra/db/partitions/PartitionIterator;)Lorg/apache/cassandra/cql3/UntypedResultSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 query Ljava/lang/String;
0 1 1 partition Lorg/apache/cassandra/db/rows/RowIterator;
MethodParameters:
Name Flags
query
partition
public static org.apache.cassandra.cql3.UntypedResultSet resultify(java.lang.String, org.apache.cassandra.db.partitions.PartitionIterator);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/db/partitions/PartitionIterator;)Lorg/apache/cassandra/cql3/UntypedResultSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 1
astore 4
start local 4 2: aload 0
aconst_null
invokestatic org.apache.cassandra.cql3.QueryProcessor.getStatement:(Ljava/lang/String;Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
checkcast org.apache.cassandra.cql3.statements.SelectStatement
astore 5
start local 5 3: aload 5
aload 4
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement.process:(Lorg/apache/cassandra/db/partitions/PartitionIterator;I)Lorg/apache/cassandra/cql3/ResultSet;
astore 6
start local 6 4: aload 6
invokestatic org.apache.cassandra.cql3.UntypedResultSet.create:(Lorg/apache/cassandra/cql3/ResultSet;)Lorg/apache/cassandra/cql3/UntypedResultSet;
5: aload 4
ifnull 6
aload 4
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
6: StackMap locals: java.lang.String org.apache.cassandra.db.partitions.PartitionIterator java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator org.apache.cassandra.cql3.statements.SelectStatement org.apache.cassandra.cql3.ResultSet
StackMap stack: org.apache.cassandra.cql3.UntypedResultSet
areturn
end local 6 end local 5 StackMap locals: java.lang.String org.apache.cassandra.db.partitions.PartitionIterator java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.partitions.PartitionIterator
StackMap stack: java.lang.Throwable
7: astore 2
8: aload 4
ifnull 9
aload 4
invokeinterface org.apache.cassandra.db.partitions.PartitionIterator.close:()V
end local 4 StackMap locals:
StackMap stack:
9: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
aload 2
ifnonnull 11
aload 3
astore 2
goto 12
StackMap locals:
StackMap stack:
11: aload 2
aload 3
if_acmpeq 12
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 query Ljava/lang/String;
0 13 1 partitions Lorg/apache/cassandra/db/partitions/PartitionIterator;
2 9 4 iter Lorg/apache/cassandra/db/partitions/PartitionIterator;
3 7 5 ss Lorg/apache/cassandra/cql3/statements/SelectStatement;
4 7 6 cqlRows Lorg/apache/cassandra/cql3/ResultSet;
Exception table:
from to target type
2 5 7 any
1 6 10 any
7 10 10 any
MethodParameters:
Name Flags
query
partitions
public org.apache.cassandra.transport.messages.ResultMessage$Prepared prepare(java.lang.String, org.apache.cassandra.service.QueryState, java.util.Map<java.lang.String, java.nio.ByteBuffer>);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Ljava/util/Map;)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.cql3.QueryProcessor.prepare:(Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
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/cql3/QueryProcessor;
0 1 1 query Ljava/lang/String;
0 1 2 state Lorg/apache/cassandra/service/QueryState;
0 1 3 customPayload Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException
Signature: (Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
MethodParameters:
Name Flags
query
state
customPayload
public org.apache.cassandra.transport.messages.ResultMessage$Prepared prepare(java.lang.String, org.apache.cassandra.service.QueryState);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/service/QueryState;)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.apache.cassandra.service.QueryState.getClientState:()Lorg/apache/cassandra/service/ClientState;
astore 3
start local 3 1: aload 1
aload 3
aload 3
instanceof org.apache.cassandra.thrift.ThriftClientState
invokestatic org.apache.cassandra.cql3.QueryProcessor.prepare:(Ljava/lang/String;Lorg/apache/cassandra/service/ClientState;Z)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 2 1 queryString Ljava/lang/String;
0 2 2 queryState Lorg/apache/cassandra/service/QueryState;
1 2 3 cState Lorg/apache/cassandra/service/ClientState;
MethodParameters:
Name Flags
queryString
queryState
public static org.apache.cassandra.transport.messages.ResultMessage$Prepared prepare(java.lang.String, org.apache.cassandra.service.ClientState, boolean);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/service/ClientState;Z)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.cassandra.service.ClientState.getRawKeyspace:()Ljava/lang/String;
iload 2
invokestatic org.apache.cassandra.cql3.QueryProcessor.getStoredPreparedStatement:(Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: org.apache.cassandra.transport.messages.ResultMessage$Prepared
StackMap stack:
aload 0
aload 1
invokestatic org.apache.cassandra.cql3.QueryProcessor.getStatement:(Ljava/lang/String;Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
astore 4
start local 4 4: aload 4
aload 0
putfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.rawCQLStatement:Ljava/lang/String;
5: aload 4
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
invokeinterface org.apache.cassandra.cql3.CQLStatement.getBoundTerms:()I
istore 5
start local 5 6: iload 5
ldc 65535
if_icmple 8
7: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Too many markers(?). %d markers exceed the allowed maximum of %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
ldc 65535
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.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement$Prepared int
StackMap stack:
getstatic org.apache.cassandra.cql3.QueryProcessor.$assertionsDisabled:Z
ifne 9
iload 5
aload 4
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.boundNames:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.service.ClientState.getRawKeyspace:()Ljava/lang/String;
aload 4
iload 2
invokestatic org.apache.cassandra.cql3.QueryProcessor.storePreparedStatement:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;Z)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
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 10 0 queryString Ljava/lang/String;
0 10 1 clientState Lorg/apache/cassandra/service/ClientState;
0 10 2 forThrift Z
1 10 3 existing Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
4 10 4 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
6 10 5 boundTerms I
MethodParameters:
Name Flags
queryString
clientState
forThrift
private static org.apache.cassandra.utils.MD5Digest computeId(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/utils/MD5Digest;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: astore 2
start local 2 3: aload 2
invokestatic org.apache.cassandra.utils.MD5Digest.compute:(Ljava/lang/String;)Lorg/apache/cassandra/utils/MD5Digest;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 queryString Ljava/lang/String;
0 4 1 keyspace Ljava/lang/String;
3 4 2 toHash Ljava/lang/String;
MethodParameters:
Name Flags
queryString
keyspace
private static java.lang.Integer computeThriftId(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Integer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: astore 2
start local 2 3: aload 2
invokevirtual java.lang.String.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 queryString Ljava/lang/String;
0 4 1 keyspace Ljava/lang/String;
3 4 2 toHash Ljava/lang/String;
MethodParameters:
Name Flags
queryString
keyspace
private static org.apache.cassandra.transport.messages.ResultMessage$Prepared getStoredPreparedStatement(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 9
1: aload 0
aload 1
invokestatic org.apache.cassandra.cql3.QueryProcessor.computeThriftId:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Integer;
astore 3
start local 3 2: getstatic org.apache.cassandra.cql3.QueryProcessor.thriftPreparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 3
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
astore 4
start local 4 3: aload 4
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.lang.Integer org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
StackMap stack:
aload 0
aload 4
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.rawCQLStatement:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
6: ldc "MD5 hash collision: query with the same MD5 hash was already prepared. \n Existing: '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.rawCQLStatement:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;)V
8: aload 3
invokevirtual java.lang.Integer.intValue:()I
aload 4
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.boundNames:Ljava/util/List;
invokestatic org.apache.cassandra.transport.messages.ResultMessage$Prepared.forThrift:(ILjava/util/List;)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
areturn
end local 4 end local 3 9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.apache.cassandra.cql3.QueryProcessor.computeId:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/utils/MD5Digest;
astore 3
start local 3 10: getstatic org.apache.cassandra.cql3.QueryProcessor.preparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 3
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
astore 4
start local 4 11: aload 4
ifnonnull 13
12: aconst_null
areturn
13: StackMap locals: org.apache.cassandra.utils.MD5Digest org.apache.cassandra.cql3.statements.ParsedStatement$Prepared
StackMap stack:
aload 0
aload 4
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.rawCQLStatement:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
14: ldc "MD5 hash collision: query with the same MD5 hash was already prepared. \n Existing: '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.rawCQLStatement:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
15: invokestatic org.apache.cassandra.cql3.statements.RequestValidations.checkTrue:(ZLjava/lang/String;)V
16: new org.apache.cassandra.transport.messages.ResultMessage$Prepared
dup
aload 3
aload 4
invokespecial org.apache.cassandra.transport.messages.ResultMessage$Prepared.<init>:(Lorg/apache/cassandra/utils/MD5Digest;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 queryString Ljava/lang/String;
0 17 1 keyspace Ljava/lang/String;
0 17 2 forThrift Z
2 9 3 thriftStatementId Ljava/lang/Integer;
3 9 4 existing Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
10 17 3 statementId Lorg/apache/cassandra/utils/MD5Digest;
11 17 4 existing Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
queryString
keyspace
forThrift
private static org.apache.cassandra.transport.messages.ResultMessage$Prepared storePreparedStatement(java.lang.String, java.lang.String, org.apache.cassandra.cql3.statements.ParsedStatement$Prepared, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;Z)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
invokestatic org.apache.cassandra.utils.ObjectSizes.measureDeep:(Ljava/lang/Object;)J
lstore 4
start local 4 1: iload 3
ifeq 11
2: lload 4
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getThriftPreparedStatementsCacheSizeMB:()J
invokestatic org.apache.cassandra.cql3.QueryProcessor.capacityToBytes:(J)J
lcmp
ifle 8
3: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Prepared statement of size %d bytes is larger than allowed maximum of %d MB: %s..."
iconst_3
anewarray java.lang.Object
dup
iconst_0
4: lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
5: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getThriftPreparedStatementsCacheSizeMB:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
6: aload 0
iconst_0
sipush 200
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: long
StackMap stack:
aload 0
aload 1
invokestatic org.apache.cassandra.cql3.QueryProcessor.computeThriftId:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Integer;
astore 6
start local 6 9: getstatic org.apache.cassandra.cql3.QueryProcessor.thriftPreparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 6
aload 2
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 6
invokevirtual java.lang.Integer.intValue:()I
aload 2
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.boundNames:Ljava/util/List;
invokestatic org.apache.cassandra.transport.messages.ResultMessage$Prepared.forThrift:(ILjava/util/List;)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
areturn
end local 6 11: StackMap locals:
StackMap stack:
lload 4
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getPreparedStatementsCacheSizeMB:()J
invokestatic org.apache.cassandra.cql3.QueryProcessor.capacityToBytes:(J)J
lcmp
ifle 17
12: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "Prepared statement of size %d bytes is larger than allowed maximum of %d MB: %s..."
iconst_3
anewarray java.lang.Object
dup
iconst_0
13: lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
14: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getPreparedStatementsCacheSizeMB:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
15: aload 0
iconst_0
sipush 200
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aastore
16: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.apache.cassandra.cql3.QueryProcessor.computeId:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/utils/MD5Digest;
astore 6
start local 6 18: getstatic org.apache.cassandra.cql3.QueryProcessor.preparedStatements:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 6
aload 2
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 1
aload 6
aload 0
invokestatic org.apache.cassandra.db.SystemKeyspace.writePreparedStatement:(Ljava/lang/String;Lorg/apache/cassandra/utils/MD5Digest;Ljava/lang/String;)V
20: new org.apache.cassandra.transport.messages.ResultMessage$Prepared
dup
aload 6
aload 2
invokespecial org.apache.cassandra.transport.messages.ResultMessage$Prepared.<init>:(Lorg/apache/cassandra/utils/MD5Digest;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)V
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 21 0 queryString Ljava/lang/String;
0 21 1 keyspace Ljava/lang/String;
0 21 2 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
0 21 3 forThrift Z
1 21 4 statementSize J
9 11 6 statementId Ljava/lang/Integer;
18 21 6 statementId Lorg/apache/cassandra/utils/MD5Digest;
Exceptions:
throws org.apache.cassandra.exceptions.InvalidRequestException
MethodParameters:
Name Flags
queryString
keyspace
prepared
forThrift
public org.apache.cassandra.transport.messages.ResultMessage processPrepared(org.apache.cassandra.cql3.CQLStatement, org.apache.cassandra.service.QueryState, org.apache.cassandra.cql3.QueryOptions, java.util.Map<java.lang.String, java.nio.ByteBuffer>, long);
descriptor: (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;
flags: (0x0001) ACC_PUBLIC
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 5 0: aload 0
aload 1
aload 2
aload 3
lload 5
invokevirtual org.apache.cassandra.cql3.QueryProcessor.processPrepared:(Lorg/apache/cassandra/cql3/CQLStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
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 1 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 1 1 statement Lorg/apache/cassandra/cql3/CQLStatement;
0 1 2 state Lorg/apache/cassandra/service/QueryState;
0 1 3 options Lorg/apache/cassandra/cql3/QueryOptions;
0 1 4 customPayload Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;
0 1 5 queryStartNanoTime J
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
Signature: (Lorg/apache/cassandra/cql3/CQLStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
MethodParameters:
Name Flags
statement
state
options
customPayload
queryStartNanoTime
public org.apache.cassandra.transport.messages.ResultMessage processPrepared(org.apache.cassandra.cql3.CQLStatement, org.apache.cassandra.service.QueryState, org.apache.cassandra.cql3.QueryOptions, long);
descriptor: (Lorg/apache/cassandra/cql3/CQLStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokevirtual org.apache.cassandra.cql3.QueryOptions.getValues:()Ljava/util/List;
astore 6
start local 6 1: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
aload 1
invokeinterface org.apache.cassandra.cql3.CQLStatement.getBoundTerms:()I
ifeq 13
2: StackMap locals: java.util.List
StackMap stack:
aload 6
invokeinterface java.util.List.size:()I
aload 1
invokeinterface org.apache.cassandra.cql3.CQLStatement.getBoundTerms:()I
if_icmpeq 7
3: new org.apache.cassandra.exceptions.InvalidRequestException
dup
ldc "there were %d markers(?) in CQL but %d bound variables"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: aload 1
invokeinterface org.apache.cassandra.cql3.CQLStatement.getBoundTerms:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
5: aload 6
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.InvalidRequestException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isTraceEnabled:()Z
ifeq 13
8: iconst_0
istore 7
start local 7 9: goto 12
10: StackMap locals: int
StackMap stack:
getstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
ldc "[{}] '{}'"
iload 7
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 6
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
11: iinc 7 1
StackMap locals:
StackMap stack:
12: iload 7
aload 6
invokeinterface java.util.List.size:()I
if_icmplt 10
end local 7 13: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.cql3.QueryProcessor.metrics:Lorg/apache/cassandra/metrics/CQLMetrics;
getfield org.apache.cassandra.metrics.CQLMetrics.preparedStatementsExecuted:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.inc:()V
14: aload 0
aload 1
aload 2
aload 3
lload 4
invokevirtual org.apache.cassandra.cql3.QueryProcessor.processStatement:(Lorg/apache/cassandra/cql3/CQLStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
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 15 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 15 1 statement Lorg/apache/cassandra/cql3/CQLStatement;
0 15 2 queryState Lorg/apache/cassandra/service/QueryState;
0 15 3 options Lorg/apache/cassandra/cql3/QueryOptions;
0 15 4 queryStartNanoTime J
1 15 6 variables Ljava/util/List<Ljava/nio/ByteBuffer;>;
9 13 7 i I
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
statement
queryState
options
queryStartNanoTime
public org.apache.cassandra.transport.messages.ResultMessage processBatch(org.apache.cassandra.cql3.statements.BatchStatement, org.apache.cassandra.service.QueryState, org.apache.cassandra.cql3.BatchQueryOptions, java.util.Map<java.lang.String, java.nio.ByteBuffer>, long);
descriptor: (Lorg/apache/cassandra/cql3/statements/BatchStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/BatchQueryOptions;Ljava/util/Map;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0001) ACC_PUBLIC
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 5 0: aload 0
aload 1
aload 2
aload 3
lload 5
invokevirtual org.apache.cassandra.cql3.QueryProcessor.processBatch:(Lorg/apache/cassandra/cql3/statements/BatchStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/BatchQueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
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 1 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 1 1 statement Lorg/apache/cassandra/cql3/statements/BatchStatement;
0 1 2 state Lorg/apache/cassandra/service/QueryState;
0 1 3 options Lorg/apache/cassandra/cql3/BatchQueryOptions;
0 1 4 customPayload Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;
0 1 5 queryStartNanoTime J
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
Signature: (Lorg/apache/cassandra/cql3/statements/BatchStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/BatchQueryOptions;Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
MethodParameters:
Name Flags
statement
state
options
customPayload
queryStartNanoTime
public org.apache.cassandra.transport.messages.ResultMessage processBatch(org.apache.cassandra.cql3.statements.BatchStatement, org.apache.cassandra.service.QueryState, org.apache.cassandra.cql3.BatchQueryOptions, long);
descriptor: (Lorg/apache/cassandra/cql3/statements/BatchStatement;Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/BatchQueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual org.apache.cassandra.service.QueryState.getClientState:()Lorg/apache/cassandra/service/ClientState;
astore 6
start local 6 1: aload 1
aload 6
invokevirtual org.apache.cassandra.cql3.statements.BatchStatement.checkAccess:(Lorg/apache/cassandra/service/ClientState;)V
2: aload 1
invokevirtual org.apache.cassandra.cql3.statements.BatchStatement.validate:()V
3: aload 1
aload 6
invokevirtual org.apache.cassandra.cql3.statements.BatchStatement.validate:(Lorg/apache/cassandra/service/ClientState;)V
4: aload 1
aload 2
aload 3
lload 4
invokevirtual org.apache.cassandra.cql3.statements.BatchStatement.execute:(Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/BatchQueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage;
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 5 0 this Lorg/apache/cassandra/cql3/QueryProcessor;
0 5 1 batch Lorg/apache/cassandra/cql3/statements/BatchStatement;
0 5 2 queryState Lorg/apache/cassandra/service/QueryState;
0 5 3 options Lorg/apache/cassandra/cql3/BatchQueryOptions;
0 5 4 queryStartNanoTime J
1 5 6 clientState Lorg/apache/cassandra/service/ClientState;
Exceptions:
throws org.apache.cassandra.exceptions.RequestExecutionException, org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
batch
queryState
options
queryStartNanoTime
public static org.apache.cassandra.cql3.statements.ParsedStatement$Prepared getStatement(java.lang.String, org.apache.cassandra.service.ClientState);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: ldc "Parsing {}"
aload 0
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
invokestatic org.apache.cassandra.cql3.QueryProcessor.parseStatement:(Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement;
astore 2
start local 2 2: aload 2
instanceof org.apache.cassandra.cql3.statements.CFStatement
ifeq 4
3: aload 2
checkcast org.apache.cassandra.cql3.statements.CFStatement
aload 1
invokevirtual org.apache.cassandra.cql3.statements.CFStatement.prepareKeyspace:(Lorg/apache/cassandra/service/ClientState;)V
4: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement
StackMap stack:
ldc "Preparing statement"
invokestatic org.apache.cassandra.tracing.Tracing.trace:(Ljava/lang/String;)V
5: aload 2
aload 1
invokevirtual org.apache.cassandra.cql3.statements.ParsedStatement.prepare:(Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 queryStr Ljava/lang/String;
0 6 1 clientState Lorg/apache/cassandra/service/ClientState;
2 6 2 statement Lorg/apache/cassandra/cql3/statements/ParsedStatement;
Exceptions:
throws org.apache.cassandra.exceptions.RequestValidationException
MethodParameters:
Name Flags
queryStr
clientState
public static <T extends org.apache.cassandra.cql3.statements.ParsedStatement> T parseStatement(java.lang.String, java.lang.Class<T>, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.apache.cassandra.cql3.QueryProcessor.parseStatement:(Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement;
astore 3
start local 3 1: aload 1
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid query, must be a "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " statement but was: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.cassandra.cql3.statements.ParsedStatement
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.ParsedStatement
4: areturn
end local 3 5: StackMap locals: java.lang.String java.lang.Class java.lang.String
StackMap stack: org.apache.cassandra.exceptions.RequestValidationException
astore 3
start local 3 6: new java.lang.IllegalArgumentException
dup
aload 3
invokevirtual org.apache.cassandra.exceptions.RequestValidationException.getMessage:()Ljava/lang/String;
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 queryStr Ljava/lang/String;
0 7 1 klass Ljava/lang/Class<TT;>;
0 7 2 type Ljava/lang/String;
1 5 3 stmt Lorg/apache/cassandra/cql3/statements/ParsedStatement;
6 7 3 e Lorg/apache/cassandra/exceptions/RequestValidationException;
Exception table:
from to target type
0 4 5 Class org.apache.cassandra.exceptions.RequestValidationException
Exceptions:
throws org.apache.cassandra.exceptions.SyntaxException
Signature: <T:Lorg/apache/cassandra/cql3/statements/ParsedStatement;>(Ljava/lang/String;Ljava/lang/Class<TT;>;Ljava/lang/String;)TT;
MethodParameters:
Name Flags
queryStr
klass
type
public static org.apache.cassandra.cql3.statements.ParsedStatement parseStatement(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: invokedynamic parse()Lorg/apache/cassandra/cql3/CQLFragmentParser$CQLParserFunction;
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:
(Lorg/apache/cassandra/cql3/CqlParser;)Ljava/lang/Object;
org/apache/cassandra/cql3/CqlParser.query()Lorg/apache/cassandra/cql3/statements/ParsedStatement; (5)
(Lorg/apache/cassandra/cql3/CqlParser;)Lorg/apache/cassandra/cql3/statements/ParsedStatement;
aload 0
invokestatic org.apache.cassandra.cql3.CQLFragmentParser.parseAnyUnhandled:(Lorg/apache/cassandra/cql3/CQLFragmentParser$CQLParserFunction;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.statements.ParsedStatement
1: areturn
2: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.CassandraException
astore 1
start local 1 3: aload 1
athrow
end local 1 4: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 1
start local 1 5: getstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
ldc "The statement: [%s] could not be parsed."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
6: new org.apache.cassandra.exceptions.SyntaxException
dup
ldc "Failed parsing statement: [%s] reason: %s %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
7: aload 0
aastore
dup
iconst_1
8: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_2
9: aload 1
invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.SyntaxException.<init>:(Ljava/lang/String;)V
athrow
end local 1 11: StackMap locals:
StackMap stack: org.antlr.runtime.RecognitionException
astore 1
start local 1 12: new org.apache.cassandra.exceptions.SyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Invalid or malformed CQL query string: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.antlr.runtime.RecognitionException.getMessage:()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.SyntaxException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 queryStr Ljava/lang/String;
3 4 1 ce Lorg/apache/cassandra/exceptions/CassandraException;
5 11 1 re Ljava/lang/RuntimeException;
12 13 1 e Lorg/antlr/runtime/RecognitionException;
Exception table:
from to target type
0 1 2 Class org.apache.cassandra.exceptions.CassandraException
0 1 4 Class java.lang.RuntimeException
0 1 11 Class org.antlr.runtime.RecognitionException
Exceptions:
throws org.apache.cassandra.exceptions.SyntaxException
MethodParameters:
Name Flags
queryStr
private static int measure(java.lang.Object, org.apache.cassandra.cql3.statements.ParsedStatement$Prepared);
descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.cassandra.utils.ObjectSizes.measureDeep:(Ljava/lang/Object;)J
aload 1
invokestatic org.apache.cassandra.utils.ObjectSizes.measureDeep:(Ljava/lang/Object;)J
ladd
invokestatic com.google.common.primitives.Ints.checkedCast:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/Object;
0 1 1 value Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
MethodParameters:
Name Flags
key
value
public static void clearInternalStatementsCache();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.cassandra.cql3.QueryProcessor.internalStatements:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
private static void lambda$1(org.apache.cassandra.utils.MD5Digest, org.apache.cassandra.cql3.statements.ParsedStatement$Prepared);
descriptor: (Lorg/apache/cassandra/utils/MD5Digest;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.cql3.QueryProcessor.metrics:Lorg/apache/cassandra/metrics/CQLMetrics;
getfield org.apache.cassandra.metrics.CQLMetrics.preparedStatementsEvicted:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.inc:()V
1: getstatic org.apache.cassandra.cql3.QueryProcessor.lastMinuteEvictionsCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
2: aload 0
invokestatic org.apache.cassandra.db.SystemKeyspace.removePreparedStatement:(Lorg/apache/cassandra/utils/MD5Digest;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 md5Digest Lorg/apache/cassandra/utils/MD5Digest;
0 4 1 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
private static void lambda$3(java.lang.Integer, org.apache.cassandra.cql3.statements.ParsedStatement$Prepared);
descriptor: (Ljava/lang/Integer;Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.cql3.QueryProcessor.metrics:Lorg/apache/cassandra/metrics/CQLMetrics;
getfield org.apache.cassandra.metrics.CQLMetrics.preparedStatementsEvicted:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.inc:()V
1: getstatic org.apache.cassandra.cql3.QueryProcessor.thriftLastMinuteEvictionsCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 integer Ljava/lang/Integer;
0 3 1 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
private static void lambda$4();
descriptor: ()V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=0
0: getstatic org.apache.cassandra.cql3.QueryProcessor.lastMinuteEvictionsCount:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndSet:(I)I
i2l
lstore 0
start local 0 1: lload 0
lconst_0
lcmp
ifle 6
2: getstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
ldc "{} prepared statements discarded in the last minute because cache limit reached ({} MB)"
3: lload 0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
4: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getPreparedStatementsCacheSizeMB:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
5: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: StackMap locals: long
StackMap stack:
getstatic org.apache.cassandra.cql3.QueryProcessor.thriftLastMinuteEvictionsCount:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndSet:(I)I
i2l
lstore 0
7: lload 0
lconst_0
lcmp
ifle 12
8: getstatic org.apache.cassandra.cql3.QueryProcessor.logger:Lorg/slf4j/Logger;
ldc "{} prepared Thrift statements discarded in the last minute because cache limit reached ({} MB)"
9: lload 0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
10: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getThriftPreparedStatementsCacheSizeMB:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
11: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 0 12: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 12 0 count J
}
SourceFile: "QueryProcessor.java"
NestMembers:
org.apache.cassandra.cql3.QueryProcessor$InternalStateInstance org.apache.cassandra.cql3.QueryProcessor$MigrationSubscriber
InnerClasses:
public final Builder = com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder of com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract CQLParserFunction = org.apache.cassandra.cql3.CQLFragmentParser$CQLParserFunction of org.apache.cassandra.cql3.CQLFragmentParser
private final InternalStateInstance = org.apache.cassandra.cql3.QueryProcessor$InternalStateInstance of org.apache.cassandra.cql3.QueryProcessor
private MigrationSubscriber = org.apache.cassandra.cql3.QueryProcessor$MigrationSubscriber of org.apache.cassandra.cql3.QueryProcessor
public Prepared = org.apache.cassandra.cql3.statements.ParsedStatement$Prepared of org.apache.cassandra.cql3.statements.ParsedStatement
public Prepared = org.apache.cassandra.transport.messages.ResultMessage$Prepared of org.apache.cassandra.transport.messages.ResultMessage
public Rows = org.apache.cassandra.transport.messages.ResultMessage$Rows of org.apache.cassandra.transport.messages.ResultMessage
public Void = org.apache.cassandra.transport.messages.ResultMessage$Void of org.apache.cassandra.transport.messages.ResultMessage