Class: Google::Cloud::Datastore::V1::AggregationResultBatch
- Inherits:
-
Object
- Object
- Google::Cloud::Datastore::V1::AggregationResultBatch
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/datastore/v1/aggregation_result.rb
Overview
A batch of aggregation results produced by an aggregation query.
Instance Attribute Summary collapse
-
#aggregation_results ⇒ ::Array<::Google::Cloud::Datastore::V1::AggregationResult>
The aggregation results for this batch.
-
#more_results ⇒ ::Google::Cloud::Datastore::V1::QueryResultBatch::MoreResultsType
The state of the query after the current batch.
-
#read_time ⇒ ::Google::Protobuf::Timestamp
Read timestamp this batch was returned from.
Instance Attribute Details
#aggregation_results ⇒ ::Array<::Google::Cloud::Datastore::V1::AggregationResult>
Returns The aggregation results for this batch.
67 68 69 70 |
# File 'proto_docs/google/datastore/v1/aggregation_result.rb', line 67 class AggregationResultBatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#more_results ⇒ ::Google::Cloud::Datastore::V1::QueryResultBatch::MoreResultsType
Returns 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
.
67 68 69 70 |
# File 'proto_docs/google/datastore/v1/aggregation_result.rb', line 67 class AggregationResultBatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#read_time ⇒ ::Google::Protobuf::Timestamp
Returns 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.
67 68 69 70 |
# File 'proto_docs/google/datastore/v1/aggregation_result.rb', line 67 class AggregationResultBatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |