Send feedback
Class SimpleQueryStatement (0.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.6.1 keyboard_arrow_down
public class SimpleQueryStatement
Class 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.
Static Methods
parseStatements(Statement statement)
protected static ImmutableList<Statement> parseStatements(Statement statement)
Parameter
Name Description statement com.google.cloud.spanner.Statement
Returns
Type Description com.google.common.collect.ImmutableList <com.google.cloud.spanner.Statement >
Constructors
public SimpleQueryStatement(OptionsMetadata options, Statement originalStatement, ConnectionHandler connectionHandler)
Parameters
Methods
execute()
Exceptions
getStatement(int index)
public String getStatement(int index)
Parameter
Returns
getStatements()
public List<Statement> getStatements()
Returns
Type Description List <com.google.cloud.spanner.Statement >
Send feedback
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 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]