public class ParseMessage extends AbstractQueryProtocolMessage
Creates a prepared statement.
Inheritance
java.lang.Object > WireMessage > ControlMessage > AbstractQueryProtocolMessage > ParseMessageStatic Fields
IDENTIFIER
protected static final char IDENTIFIER
Type | Description |
char |
Constructors
ParseMessage(ConnectionHandler connection)
public ParseMessage(ConnectionHandler connection)
Name | Description |
connection | ConnectionHandler |
ParseMessage(ConnectionHandler connection, AbstractStatementParser.ParsedStatement parsedStatement, Statement originalStatement)
public ParseMessage(ConnectionHandler connection, AbstractStatementParser.ParsedStatement parsedStatement, Statement originalStatement)
Constructor for manually created Parse messages that originate from the simple query protocol.
Name | Description |
connection | ConnectionHandler |
parsedStatement | ParsedStatement |
originalStatement | com.google.cloud.spanner.Statement |
Methods
flush()
public void flush()
Type | Description |
Exception |
getIdentifier()
protected String getIdentifier()
Used for logging.
Type | Description |
String |
getMessageName()
protected String getMessageName()
Used for logging.
Type | Description |
String |
getName()
public String getName()
Type | Description |
String |
getPayloadString()
protected String getPayloadString()
Used for logging.
Type | Description |
String |
getStatement()
public IntermediatePreparedStatement getStatement()
Type | Description |
IntermediatePreparedStatement |