Firestore in Datastore mode V1 API - Class Google::Cloud::Datastore::V1::AggregationResultBatch (v0.15.0)

Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::AggregationResultBatch.

A batch of aggregation results produced by an aggregation query.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#aggregation_results

def aggregation_results() -> ::Array<::Google::Cloud::Datastore::V1::AggregationResult>
Returns

#aggregation_results=

def aggregation_results=(value) -> ::Array<::Google::Cloud::Datastore::V1::AggregationResult>
Parameter
Returns

#more_results

def more_results() -> ::Google::Cloud::Datastore::V1::QueryResultBatch::MoreResultsType
Returns

#more_results=

def more_results=(value) -> ::Google::Cloud::Datastore::V1::QueryResultBatch::MoreResultsType
Parameter
Returns

#read_time

def read_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Read timestamp this batch was returned from.

    In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.

#read_time=

def read_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — Read timestamp this batch was returned from.

    In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.

Returns
  • (::Google::Protobuf::Timestamp) — Read timestamp this batch was returned from.

    In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.