Class VacuumStatement (0.20.0)

public class VacuumStatement extends IntermediatePortalStatement

Constructors

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
NameDescription
connectionHandlerConnectionHandler
optionsOptionsMetadata
nameString
parsedStatementParsedStatement
originalStatementcom.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
NameDescription
nameString
parametersbyte[][]
parameterFormatCodesList<Short>
resultFormatCodesList<Short>
Returns
TypeDescription
IntermediatePortalStatement
Overrides

describeAsync(BackendConnection backendConnection)

public Future<StatementResult> describeAsync(BackendConnection backendConnection)
Parameter
NameDescription
backendConnectionBackendConnection
Returns
TypeDescription
Future<StatementResult>
Overrides

executeAsync(BackendConnection backendConnection)

public void executeAsync(BackendConnection backendConnection)
Parameter
NameDescription
backendConnectionBackendConnection
Overrides

getCommandTag()

public String getCommandTag()
Returns
TypeDescription
String
Overrides

getStatementType()

public AbstractStatementParser.StatementType getStatementType()
Returns
TypeDescription
StatementType
Overrides

getTableColumns(SimpleParser.TableOrIndexName table)

public ImmutableList<SimpleParser.TableOrIndexName> getTableColumns(SimpleParser.TableOrIndexName table)
Parameter
NameDescription
tablecom.google.cloud.spanner.pgadapter.statements.SimpleParser.TableOrIndexName
Returns
TypeDescription
com.google.common.collect.ImmutableList<com.google.cloud.spanner.pgadapter.statements.SimpleParser.TableOrIndexName>

getTables()

public ImmutableList<SimpleParser.TableOrIndexName> getTables()
Returns
TypeDescription
com.google.common.collect.ImmutableList<com.google.cloud.spanner.pgadapter.statements.SimpleParser.TableOrIndexName>