Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class IntermediatePreparedStatement (0.16.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.16.0keyboard_arrow_down
public class IntermediatePreparedStatement extends IntermediateStatement
Intermediate representation for prepared statements (i.e.: statements before they become portals)
Constructors
public IntermediatePreparedStatement ( ConnectionHandler connectionHandler , OptionsMetadata options , String name , int [] givenParameterDataTypes , AbstractStatementParser . ParsedStatement parsedStatement , Statement originalStatement )
Parameters
Fields
protected final int [] givenParameterDataTypes
Field Value
protected Statement statement
Field Value
Type
Description
com.google.cloud.spanner.Statement
Methods
public void autoDescribeParameters ( byte [][] parameterValues , BackendConnection backendConnection )
Describe the parameters of this statement.
Parameters
public IntermediatePortalStatement createPortal ( String name , byte [][] parameters , List<Short> parameterFormatCodes , List<Short> resultFormatCodes )
Creates a portal from this statement.
Parameters
Name
Description
name
String
parameters
byte [][]
parameterFormatCodes
List <Short >
A list of the format of each parameter.
resultFormatCodes
List <Short >
A list of the desired format of each result.
Returns
public DescribeResult describe ()
Moreso meant for inherited classes, allows one to call describe on a statement. Since raw
statements cannot be described, throw an error.
Returns
Overrides
public Future<StatementResult> describeAsync ( BackendConnection backendConnection )
Parameter
Returns
Overrides
public int [] getGivenParameterDataTypes ()
Returns
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-07-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[],[]]