public static class ResultMessage.Prepared extends ResultMessage
ResultMessage.Kind, ResultMessage.Prepared, ResultMessage.Rows, ResultMessage.SchemaChange, ResultMessage.SetKeyspace, ResultMessage.Void
Message.Codec<M extends Message>, Message.Direction, Message.Dispatcher, Message.ProtocolDecoder, Message.ProtocolEncoder, Message.Request, Message.Response, Message.Type
Modifier and Type | Field and Description |
---|---|
ResultSet.PreparedMetadata |
metadata
Describes the variables to be bound in the prepared statement
|
ResultSet.ResultMetadata |
resultMetadata
Describes the results of executing this prepared statement
|
MD5Digest |
statementId |
static Message.Codec<ResultMessage> |
subcodec |
codec, kind
tracingId, warnings
connection, logger, type
Constructor and Description |
---|
Prepared(MD5Digest statementId,
ParsedStatement.Prepared prepared) |
Modifier and Type | Method and Description |
---|---|
static ResultMessage.Prepared |
forThrift(int statementId,
java.util.List<ColumnSpecification> names) |
java.lang.String |
toString() |
org.apache.cassandra.thrift.CqlPreparedResult |
toThriftPreparedResult() |
org.apache.cassandra.thrift.CqlResult |
toThriftResult() |
getTracingId, getWarnings, setTracingId, setWarnings
attach, connection, getCustomPayload, getSourceFrame, getStreamId, setCustomPayload, setSourceFrame, setStreamId
public static final Message.Codec<ResultMessage> subcodec
public final MD5Digest statementId
public final ResultSet.PreparedMetadata metadata
public final ResultSet.ResultMetadata resultMetadata
public Prepared(MD5Digest statementId, ParsedStatement.Prepared prepared)
public static ResultMessage.Prepared forThrift(int statementId, java.util.List<ColumnSpecification> names)
public org.apache.cassandra.thrift.CqlResult toThriftResult()
toThriftResult
in class ResultMessage
public org.apache.cassandra.thrift.CqlPreparedResult toThriftPreparedResult()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2016 The Apache Software Foundation