public class DataRowResponse extends WireOutput
Sends to the client specific row contents.
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)
Name | Description |
output | DataOutputStream |
statement | IntermediateStatement |
resultSet | com.google.cloud.spanner.ResultSet |
options | OptionsMetadata |
mode | ConnectionHandler.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.
Type | Description |
byte |
getMessageName()
protected String getMessageName()
Used for logging.
Type | Description |
String |
getPayloadString()
protected String getPayloadString()
Used for logging.
Type | Description |
String |
sendPayload()
protected void sendPayload()
Override this method to include post-processing and metadata in the sending process. Template method for send.
Type | Description |
Exception |