Class DataRowResponse (0.9.0)

public class DataRowResponse extends WireOutput

Sends to the client specific row contents.

Inheritance

java.lang.Object > WireOutput > DataRowResponse

Constructors

DataRowResponse(DataOutputStream output, IntermediateStatement statement, ResultSet resultSet, OptionsMetadata options, ConnectionHandler.QueryMode mode)

public DataRowResponse(DataOutputStream output, IntermediateStatement statement, ResultSet resultSet, OptionsMetadata options, ConnectionHandler.QueryMode mode)
Parameters
NameDescription
outputDataOutputStream
statementIntermediateStatement
resultSetcom.google.cloud.spanner.ResultSet
optionsOptionsMetadata
modeConnectionHandler.QueryMode

Methods

getIdentifier()

public byte getIdentifier()

Override this to specify the byte which represents the protocol for the specific message. Used for logging and by send.

Returns
TypeDescription
byte
Overrides

getMessageName()

protected String getMessageName()

Used for logging.

Returns
TypeDescription
String
Overrides

getPayloadString()

protected String getPayloadString()

Used for logging.

Returns
TypeDescription
String
Overrides

sendPayload()

protected void sendPayload()

Override this method to include post-processing and metadata in the sending process. Template method for send.

Overrides Exceptions
TypeDescription
Exception