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>
- (::Array<::Google::Cloud::Datastore::V1::AggregationResult>) — The aggregation results for this batch.
#aggregation_results=
def aggregation_results=(value) -> ::Array<::Google::Cloud::Datastore::V1::AggregationResult>
- value (::Array<::Google::Cloud::Datastore::V1::AggregationResult>) — The aggregation results for this batch.
- (::Array<::Google::Cloud::Datastore::V1::AggregationResult>) — The aggregation results for this batch.
#more_results
def more_results() -> ::Google::Cloud::Datastore::V1::QueryResultBatch::MoreResultsType
-
(::Google::Cloud::Datastore::V1::QueryResultBatch::MoreResultsType) — The state of the query after the current batch.
Only COUNT(*) aggregations are supported in the initial launch. Therefore,
expected result type is limited to
NO_MORE_RESULTS
.
#more_results=
def more_results=(value) -> ::Google::Cloud::Datastore::V1::QueryResultBatch::MoreResultsType
-
value (::Google::Cloud::Datastore::V1::QueryResultBatch::MoreResultsType) — The state of the query after the current batch.
Only COUNT(*) aggregations are supported in the initial launch. Therefore,
expected result type is limited to
NO_MORE_RESULTS
.
-
(::Google::Cloud::Datastore::V1::QueryResultBatch::MoreResultsType) — The state of the query after the current batch.
Only COUNT(*) aggregations are supported in the initial launch. Therefore,
expected result type is limited to
NO_MORE_RESULTS
.
#read_time
def read_time() -> ::Google::Protobuf::Timestamp
-
(::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
-
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.
-
(::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.