public class org.apache.cassandra.transport.messages.ResultMessage$Prepared extends org.apache.cassandra.transport.messages.ResultMessage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.transport.messages.ResultMessage$Prepared
super_class: org.apache.cassandra.transport.messages.ResultMessage
{
public static final org.apache.cassandra.transport.Message$Codec<org.apache.cassandra.transport.messages.ResultMessage> subcodec;
descriptor: Lorg/apache/cassandra/transport/Message$Codec;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/apache/cassandra/transport/Message$Codec<Lorg/apache/cassandra/transport/messages/ResultMessage;>;
public final org.apache.cassandra.utils.MD5Digest statementId;
descriptor: Lorg/apache/cassandra/utils/MD5Digest;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.cql3.ResultSet$PreparedMetadata metadata;
descriptor: Lorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.cql3.ResultSet$ResultMetadata resultMetadata;
descriptor: Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final int thriftStatementId;
descriptor: I
flags: (0x0012) ACC_PRIVATE, 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=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/transport/messages/ResultMessage;
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.transport.messages.ResultMessage$Prepared.$assertionsDisabled:Z
3: new org.apache.cassandra.transport.messages.ResultMessage$Prepared$1
dup
invokespecial org.apache.cassandra.transport.messages.ResultMessage$Prepared$1.<init>:()V
putstatic org.apache.cassandra.transport.messages.ResultMessage$Prepared.subcodec:Lorg/apache/cassandra/transport/Message$Codec;
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(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: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_m1
new org.apache.cassandra.cql3.ResultSet$PreparedMetadata
dup
aload 2
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.boundNames:Ljava/util/List;
aload 2
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.partitionKeyBindIndexes:[S
invokespecial org.apache.cassandra.cql3.ResultSet$PreparedMetadata.<init>:(Ljava/util/List;[S)V
aload 2
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
invokestatic org.apache.cassandra.transport.messages.ResultMessage$Prepared.extractResultMetadata:(Lorg/apache/cassandra/cql3/CQLStatement;)Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
invokespecial org.apache.cassandra.transport.messages.ResultMessage$Prepared.<init>:(Lorg/apache/cassandra/utils/MD5Digest;ILorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
0 2 1 statementId Lorg/apache/cassandra/utils/MD5Digest;
0 2 2 prepared Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
MethodParameters:
Name Flags
statementId
prepared
public static org.apache.cassandra.transport.messages.ResultMessage$Prepared forThrift(int, java.util.List<org.apache.cassandra.cql3.ColumnSpecification>);
descriptor: (ILjava/util/List;)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.transport.messages.ResultMessage$Prepared
dup
aconst_null
iload 0
new org.apache.cassandra.cql3.ResultSet$PreparedMetadata
dup
aload 1
aconst_null
invokespecial org.apache.cassandra.cql3.ResultSet$PreparedMetadata.<init>:(Ljava/util/List;[S)V
getstatic org.apache.cassandra.cql3.ResultSet$ResultMetadata.EMPTY:Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
invokespecial org.apache.cassandra.transport.messages.ResultMessage$Prepared.<init>:(Lorg/apache/cassandra/utils/MD5Digest;ILorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 statementId I
0 1 1 names Ljava/util/List<Lorg/apache/cassandra/cql3/ColumnSpecification;>;
Signature: (ILjava/util/List<Lorg/apache/cassandra/cql3/ColumnSpecification;>;)Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
MethodParameters:
Name Flags
statementId
names
private void <init>(org.apache.cassandra.utils.MD5Digest, int, org.apache.cassandra.cql3.ResultSet$PreparedMetadata, org.apache.cassandra.cql3.ResultSet$ResultMetadata);
descriptor: (Lorg/apache/cassandra/utils/MD5Digest;ILorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic org.apache.cassandra.transport.messages.ResultMessage$Kind.PREPARED:Lorg/apache/cassandra/transport/messages/ResultMessage$Kind;
invokespecial org.apache.cassandra.transport.messages.ResultMessage.<init>:(Lorg/apache/cassandra/transport/messages/ResultMessage$Kind;)V
1: aload 0
aload 1
putfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.statementId:Lorg/apache/cassandra/utils/MD5Digest;
2: aload 0
iload 2
putfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.thriftStatementId:I
3: aload 0
aload 3
putfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.metadata:Lorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;
4: aload 0
aload 4
putfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.resultMetadata:Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
0 6 1 statementId Lorg/apache/cassandra/utils/MD5Digest;
0 6 2 thriftStatementId I
0 6 3 metadata Lorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;
0 6 4 resultMetadata Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
MethodParameters:
Name Flags
statementId
thriftStatementId
metadata
resultMetadata
private static org.apache.cassandra.cql3.ResultSet$ResultMetadata extractResultMetadata(org.apache.cassandra.cql3.CQLStatement);
descriptor: (Lorg/apache/cassandra/cql3/CQLStatement;)Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.apache.cassandra.cql3.statements.SelectStatement
ifne 2
1: getstatic org.apache.cassandra.cql3.ResultSet$ResultMetadata.EMPTY:Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
areturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast org.apache.cassandra.cql3.statements.SelectStatement
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement.getResultMetadata:()Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 statement Lorg/apache/cassandra/cql3/CQLStatement;
MethodParameters:
Name Flags
statement
public org.apache.cassandra.thrift.CqlResult toThriftResult();
descriptor: ()Lorg/apache/cassandra/thrift/CqlResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
public org.apache.cassandra.thrift.CqlPreparedResult toThriftPreparedResult();
descriptor: ()Lorg/apache/cassandra/thrift/CqlPreparedResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.metadata:Lorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;
getfield org.apache.cassandra.cql3.ResultSet$PreparedMetadata.names:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: new java.util.ArrayList
dup
aload 0
getfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.metadata:Lorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;
getfield org.apache.cassandra.cql3.ResultSet$PreparedMetadata.names:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 2: aload 0
getfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.metadata:Lorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;
getfield org.apache.cassandra.cql3.ResultSet$PreparedMetadata.names:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.apache.cassandra.transport.messages.ResultMessage$Prepared java.util.List java.util.List top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.ColumnSpecification
astore 3
start local 3 4: aload 1
aload 3
invokevirtual org.apache.cassandra.cql3.ColumnSpecification.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 2
aload 3
getfield org.apache.cassandra.cql3.ColumnSpecification.type:Lorg/apache/cassandra/db/marshal/AbstractType;
invokevirtual org.apache.cassandra.db.marshal.AbstractType.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: new org.apache.cassandra.thrift.CqlPreparedResult
dup
aload 0
getfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.thriftStatementId:I
aload 0
getfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.metadata:Lorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;
getfield org.apache.cassandra.cql3.ResultSet$PreparedMetadata.names:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial org.apache.cassandra.thrift.CqlPreparedResult.<init>:(II)V
aload 2
invokevirtual org.apache.cassandra.thrift.CqlPreparedResult.setVariable_types:(Ljava/util/List;)Lorg/apache/cassandra/thrift/CqlPreparedResult;
aload 1
invokevirtual org.apache.cassandra.thrift.CqlPreparedResult.setVariable_names:(Ljava/util/List;)Lorg/apache/cassandra/thrift/CqlPreparedResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
1 8 1 namesString Ljava/util/List<Ljava/lang/String;>;
2 8 2 typesString Ljava/util/List<Ljava/lang/String;>;
4 6 3 name Lorg/apache/cassandra/cql3/ColumnSpecification;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "RESULT PREPARED "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.statementId:Lorg/apache/cassandra/utils/MD5Digest;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.metadata:Lorg/apache/cassandra/cql3/ResultSet$PreparedMetadata;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " (resultMetadata="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.transport.messages.ResultMessage$Prepared.resultMetadata:Lorg/apache/cassandra/cql3/ResultSet$ResultMetadata;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/transport/messages/ResultMessage$Prepared;
}
SourceFile: "ResultMessage.java"
NestHost: org.apache.cassandra.transport.messages.ResultMessage
InnerClasses:
public PreparedMetadata = org.apache.cassandra.cql3.ResultSet$PreparedMetadata of org.apache.cassandra.cql3.ResultSet
public ResultMetadata = org.apache.cassandra.cql3.ResultSet$ResultMetadata of org.apache.cassandra.cql3.ResultSet
public Prepared = org.apache.cassandra.cql3.statements.ParsedStatement$Prepared of org.apache.cassandra.cql3.statements.ParsedStatement
public abstract Codec = org.apache.cassandra.transport.Message$Codec of org.apache.cassandra.transport.Message
public final Kind = org.apache.cassandra.transport.messages.ResultMessage$Kind of org.apache.cassandra.transport.messages.ResultMessage
public Prepared = org.apache.cassandra.transport.messages.ResultMessage$Prepared of org.apache.cassandra.transport.messages.ResultMessage
org.apache.cassandra.transport.messages.ResultMessage$Prepared$1