Class BackendConnection.PartitionQueryResult (0.22.0)

public static final class BackendConnection.PartitionQueryResult implements StatementResult

Inheritance

java.lang.Object > BackendConnection.PartitionQueryResult

Implements

StatementResult

Constructors

PartitionQueryResult(BatchTransactionId batchTransactionId, List<Partition> partitions, ResultSet metadataResultSet)

public PartitionQueryResult(BatchTransactionId batchTransactionId, List<Partition> partitions, ResultSet metadataResultSet)
Parameters
NameDescription
batchTransactionIdcom.google.cloud.spanner.BatchTransactionId
partitionsList<com.google.cloud.spanner.Partition>
metadataResultSetcom.google.cloud.spanner.ResultSet

Methods

getBatchTransactionId()

public BatchTransactionId getBatchTransactionId()
Returns
TypeDescription
com.google.cloud.spanner.BatchTransactionId

getClientSideStatementType()

public StatementResult.ClientSideStatementType getClientSideStatementType()
Returns
TypeDescription
ClientSideStatementType

getMetadataResultSet()

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

getPartitions()

public List<Partition> getPartitions()
Returns
TypeDescription
List<com.google.cloud.spanner.Partition>

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