public class QueryMessage extends ControlMessage
Executes a simple statement.
Static Fields
COPY
public static final String COPY
Type | Description |
String |
IDENTIFIER
protected static final char IDENTIFIER
Type | Description |
char |
Constructors
QueryMessage(ConnectionHandler connection)
public QueryMessage(ConnectionHandler connection)
Name | Description |
connection | ConnectionHandler |
Methods
getIdentifier()
protected String getIdentifier()
Used for logging.
Type | Description |
String |
getMessageName()
protected String getMessageName()
Used for logging.
Type | Description |
String |
getPayloadString()
protected String getPayloadString()
Used for logging.
Type | Description |
String |
getSimpleQueryStatement()
public SimpleQueryStatement getSimpleQueryStatement()
Type | Description |
SimpleQueryStatement |
getStatement()
public Statement getStatement()
Type | Description |
com.google.cloud.spanner.Statement |
sendPayload()
protected void sendPayload()
Override this method to include post-processing and metadata in the sending process. Template method for send.
Type | Description |
Exception |