Class BackendConnection.NoResult (0.24.0)

public static final class BackendConnection.NoResult implements StatementResult

StatementResult implementation for statements that do not return anything (e.g. DDL).

Inheritance

java.lang.Object > BackendConnection.NoResult

Implements

StatementResult

Constructors

NoResult(String commandTag)

public NoResult(String commandTag)
Parameter
NameDescription
commandTagString

Methods

getClientSideStatementType()

public StatementResult.ClientSideStatementType getClientSideStatementType()
Returns
TypeDescription
ClientSideStatementType

getCommandTag()

public String getCommandTag()
Returns
TypeDescription
String

getResultSet()

public ResultSet getResultSet()
Returns
TypeDescription
com.google.cloud.spanner.ResultSet

getResultType()

public StatementResult.ResultType getResultType()
Returns
TypeDescription
ResultType

getUpdateCount()

public Long getUpdateCount()
Returns
TypeDescription
Long

hasCommandTag()

public boolean hasCommandTag()
Returns
TypeDescription
boolean