View Source GoogleApi.Datastore.V1.Model.AggregationResultBatch (google_api_datastore v0.22.0)

A batch of aggregation results produced by an aggregation query.

Attributes

  • aggregationResults (type: list(GoogleApi.Datastore.V1.Model.AggregationResult.t), default: nil) - The aggregation results for this batch.
  • moreResults (type: String.t, default: nil) - 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.
  • readTime (type: DateTime.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Datastore.V1.Model.AggregationResultBatch{
  aggregationResults:
    [GoogleApi.Datastore.V1.Model.AggregationResult.t()] | nil,
  moreResults: String.t() | nil,
  readTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.