Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::ResultSet (v1.15.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

#cache_update

def cache_update() -> ::Google::Cloud::Spanner::V1::CacheUpdate
Returns
  • (::Google::Cloud::Spanner::V1::CacheUpdate) — Optional. A cache update expresses a set of changes the client should incorporate into its location cache. The client should discard the changes if they are older than the data it already has. This data can be obtained in response to requests that included a RoutingHint field, but may also be obtained by explicit location-fetching RPCs which may be added in the future.

#cache_update=

def cache_update=(value) -> ::Google::Cloud::Spanner::V1::CacheUpdate
Parameter
  • value (::Google::Cloud::Spanner::V1::CacheUpdate) — Optional. A cache update expresses a set of changes the client should incorporate into its location cache. The client should discard the changes if they are older than the data it already has. This data can be obtained in response to requests that included a RoutingHint field, but may also be obtained by explicit location-fetching RPCs which may be added in the future.
Returns
  • (::Google::Cloud::Spanner::V1::CacheUpdate) — Optional. A cache update expresses a set of changes the client should incorporate into its location cache. The client should discard the changes if they are older than the data it already has. This data can be obtained in response to requests that included a RoutingHint field, but may also be obtained by explicit location-fetching RPCs which may be added in the future.

#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

#precommit_token=

def precommit_token=(value) -> ::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken
Parameter
Returns

#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