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 > MoveStatementConstructors
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 | |
---|---|
Name | Description |
connectionHandler | ConnectionHandler |
options | OptionsMetadata |
name | String |
parsedStatement | ParsedStatement |
originalStatement | com.google.cloud.spanner.Statement |
Methods
execute(BackendConnection backendConnection, int maxRows)
protected void execute(BackendConnection backendConnection, int maxRows)
Parameters | |
---|---|
Name | Description |
backendConnection | BackendConnection |
maxRows | int |
com.google.cloud.spanner.pgadapter.statements.AbstractFetchOrMoveStatement.execute(com.google.cloud.spanner.pgadapter.statements.BackendConnection,int)
Exceptions | |
---|---|
Type | Description |
Exception |
getCommandTag()
public String getCommandTag()
Returns | |
---|---|
Type | Description |
String |