public class VacuumStatement extends IntermediatePortalStatement
Inheritance
java.lang.Object > IntermediateStatement > IntermediatePreparedStatement > IntermediatePortalStatement > VacuumStatementConstructors
VacuumStatement(ConnectionHandler connectionHandler, OptionsMetadata options, String name, AbstractStatementParser.ParsedStatement parsedStatement, Statement originalStatement)
public VacuumStatement(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 |
getTableColumns(SimpleParser.TableOrIndexName table)
public ImmutableList<SimpleParser.TableOrIndexName> getTableColumns(SimpleParser.TableOrIndexName table)
Parameter | |
---|---|
Name | Description |
table | com.google.cloud.spanner.pgadapter.statements.SimpleParser.TableOrIndexName |
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<com.google.cloud.spanner.pgadapter.statements.SimpleParser.TableOrIndexName> |
getTables()
public ImmutableList<SimpleParser.TableOrIndexName> getTables()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<com.google.cloud.spanner.pgadapter.statements.SimpleParser.TableOrIndexName> |