Class: Google::Cloud::Datastore::V1::AggregationResultBatch

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#aggregation_results::Array<::Google::Cloud::Datastore::V1::AggregationResult>

Returns The aggregation results for this batch.

Returns:



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.

Returns:



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.

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.



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