Class SimpleQueryStatement (0.5.1)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass SimpleQueryStatementClass that represents a simple query protocol statement. This statement can contain multiple semi-colon separated SQL statements. The simple query protocol internally uses the extended query protocol to execute the statement(s) in the SQL string, but does not return all the messages that would have been returned by the extended protocol.
Inherited Members
Static Methods
parseStatements(Statement statement)
protectedstaticImmutableList<Statement>parseStatements(Statementstatement) Name
Description
statement
Returns
com.google.cloud.spanner.Statement Type
Description
com.google.common.collect.ImmutableList<com.google.cloud.spanner.Statement>
Constructors
SimpleQueryStatement(OptionsMetadata options, Statement originalStatement, ConnectionHandler connectionHandler)
publicSimpleQueryStatement(OptionsMetadataoptions,StatementoriginalStatement,ConnectionHandlerconnectionHandler) Name
Description
originalStatement
com.google.cloud.spanner.StatementMethods
execute()
publicvoidexecute() Type
Description
getStatement(int index)
publicStringgetStatement(intindex) Name
Description
Returns
Type
Description
getStatements()
publicList<Statement>getStatements() Type
Description
List<com.google.cloud.spanner.Statement>