Class ParseMessage (0.9.0)

publicclass ParseMessageextendsAbstractQueryProtocolMessage

Creates a prepared statement.

Inherited Members

Static Fields

IDENTIFIER

protectedstaticfinalcharIDENTIFIER
Field Value
Type Description

Constructors

ParseMessage(ConnectionHandler connection)

publicParseMessage(ConnectionHandlerconnection)
Parameter
Name Description
connection ConnectionHandler

ParseMessage(ConnectionHandler connection, AbstractStatementParser.ParsedStatement parsedStatement, Statement originalStatement)

publicParseMessage(ConnectionHandlerconnection,AbstractStatementParser.ParsedStatementparsedStatement,StatementoriginalStatement)

Constructor for manually created Parse messages that originate from the simple query protocol.

Parameters
Name Description
connection ConnectionHandler
parsedStatement ParsedStatement
originalStatement com.google.cloud.spanner.Statement

ParseMessage(ConnectionHandler connection, String name, int[] parameterDataTypes, AbstractStatementParser.ParsedStatement parsedStatement, Statement originalStatement)

publicParseMessage(ConnectionHandlerconnection,Stringname,int[]parameterDataTypes,AbstractStatementParser.ParsedStatementparsedStatement,StatementoriginalStatement)

Constructor for manually created Parse messages that originate from a PREPARE statement.

Parameters
Name Description
connection ConnectionHandler
name String
parameterDataTypes int[]
parsedStatement ParsedStatement
originalStatement com.google.cloud.spanner.Statement

Methods

flush()

publicvoidflush()
Overrides Exceptions
Type Description

getIdentifier()

protectedStringgetIdentifier()

Used for logging.

Returns
Type Description
Overrides

getMessageName()

protectedStringgetMessageName()

Used for logging.

Returns
Type Description
Overrides

getName()

publicStringgetName()
Returns
Type Description

getPayloadString()

protectedStringgetPayloadString()

Used for logging.

Returns
Type Description
Overrides

getSql()

publicStringgetSql()
Returns
Type Description
Overrides

getStatement()

publicIntermediatePreparedStatementgetStatement()
Returns
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.