public class CloseStatement extends IntermediatePortalStatement
Inheritance
java.lang.Object > IntermediateStatement > IntermediatePreparedStatement > IntermediatePortalStatement > CloseStatementConstructors
CloseStatement(ConnectionHandler connectionHandler, OptionsMetadata options, String name, AbstractStatementParser.ParsedStatement parsedStatement, Statement originalStatement)
public CloseStatement(ConnectionHandler connectionHandler, OptionsMetadata options, String name, AbstractStatementParser.ParsedStatement parsedStatement, Statement originalStatement)
Parameters | |
---|---|
Name | Description |
connectionHandler | ConnectionHandler |
options | OptionsMetadata |
name | String |
parsedStatement | ParsedStatement |
originalStatement | com.google.cloud.spanner.Statement |
Methods
createPortal(String name, byte[][] parameters, List<Short> parameterFormatCodes, List<Short> resultFormatCodes)
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> |
resultFormatCodes | List<Short> |
Returns | |
---|---|
Type | Description |
IntermediatePortalStatement |
describeAsync(BackendConnection backendConnection)
public Future<StatementResult> describeAsync(BackendConnection backendConnection)
Parameter | |
---|---|
Name | Description |
backendConnection | BackendConnection |
Returns | |
---|---|
Type | Description |
Future<StatementResult> |
executeAsync(BackendConnection backendConnection)
public void executeAsync(BackendConnection backendConnection)
Parameter | |
---|---|
Name | Description |
backendConnection | BackendConnection |
getCommandTag()
public String getCommandTag()
Returns | |
---|---|
Type | Description |
String |
getStatementType()
public AbstractStatementParser.StatementType getStatementType()
Returns | |
---|---|
Type | Description |
StatementType |