Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::ResultSet (v1.3.0)

Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::ResultSet.

Results from Read or ExecuteSql.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#metadata

def metadata() -> ::Google::Cloud::Spanner::V1::ResultSetMetadata
Returns

#metadata=

def metadata=(value) -> ::Google::Cloud::Spanner::V1::ResultSetMetadata
Parameter
Returns

#precommit_token

def precommit_token() -> ::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken
Returns
  • (::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken) — Optional. A precommit token will be included if the read-write transaction is on a multiplexed session. The precommit token with the highest sequence number from this transaction attempt should be passed to the Commit request for this transaction. This feature is not yet supported and will result in an UNIMPLEMENTED error.

#precommit_token=

def precommit_token=(value) -> ::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken
Parameter
  • value (::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken) — Optional. A precommit token will be included if the read-write transaction is on a multiplexed session. The precommit token with the highest sequence number from this transaction attempt should be passed to the Commit request for this transaction. This feature is not yet supported and will result in an UNIMPLEMENTED error.
Returns
  • (::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken) — Optional. A precommit token will be included if the read-write transaction is on a multiplexed session. The precommit token with the highest sequence number from this transaction attempt should be passed to the Commit request for this transaction. This feature is not yet supported and will result in an UNIMPLEMENTED error.

#rows

def rows() -> ::Array<::Google::Protobuf::ListValue>
Returns

#rows=

def rows=(value) -> ::Array<::Google::Protobuf::ListValue>
Parameter
Returns

#stats

def stats() -> ::Google::Cloud::Spanner::V1::ResultSetStats
Returns

#stats=

def stats=(value) -> ::Google::Cloud::Spanner::V1::ResultSetStats
Parameter
Returns