Class MoveStatement (0.24.0)

public class MoveStatement extends AbstractFetchOrMoveStatement

MOVE is the same as FETCH, except it just skips the results instead of actually sending the rows back to the client.

Inheritance

java.lang.Object > IntermediateStatement > IntermediatePreparedStatement > IntermediatePortalStatement > com.google.cloud.spanner.pgadapter.statements.AbstractFetchOrMoveStatement > MoveStatement

Constructors

MoveStatement(ConnectionHandler connectionHandler, OptionsMetadata options, String name, AbstractStatementParser.ParsedStatement parsedStatement, Statement originalStatement)

public MoveStatement(ConnectionHandler connectionHandler, OptionsMetadata options, String name, AbstractStatementParser.ParsedStatement parsedStatement, Statement originalStatement)
Parameters
NameDescription
connectionHandlerConnectionHandler
optionsOptionsMetadata
nameString
parsedStatementParsedStatement
originalStatementcom.google.cloud.spanner.Statement

Methods

execute(BackendConnection backendConnection, int maxRows)

protected void execute(BackendConnection backendConnection, int maxRows)
Parameters
NameDescription
backendConnectionBackendConnection
maxRowsint
Overrides
com.google.cloud.spanner.pgadapter.statements.AbstractFetchOrMoveStatement.execute(com.google.cloud.spanner.pgadapter.statements.BackendConnection,int)
Exceptions
TypeDescription
Exception

getCommandTag()

public String getCommandTag()
Returns
TypeDescription
String
Overrides