Interface AggregationResultBatchOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AggregationResultBatch, AggregationResultBatch.Builder

public interface AggregationResultBatchOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getAggregationResultsList

      List<AggregationResult> getAggregationResultsList()
       The aggregation results for this batch.
       
      repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
    • getAggregationResults

      AggregationResult getAggregationResults(int index)
       The aggregation results for this batch.
       
      repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
    • getAggregationResultsCount

      int getAggregationResultsCount()
       The aggregation results for this batch.
       
      repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
    • getAggregationResultsOrBuilderList

      List<? extends AggregationResultOrBuilder> getAggregationResultsOrBuilderList()
       The aggregation results for this batch.
       
      repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
    • getAggregationResultsOrBuilder

      AggregationResultOrBuilder getAggregationResultsOrBuilder(int index)
       The aggregation results for this batch.
       
      repeated .google.datastore.v1.AggregationResult aggregation_results = 1;
    • getMoreResultsValue

      int getMoreResultsValue()
       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.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;
      Returns:
      The enum numeric value on the wire for moreResults.
    • getMoreResults

       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.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2;
      Returns:
      The moreResults.
    • hasReadTime

      boolean hasReadTime()
       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_time = 3;
      Returns:
      Whether the readTime field is set.
    • getReadTime

      com.google.protobuf.Timestamp getReadTime()
       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_time = 3;
      Returns:
      The readTime.
    • getReadTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
       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_time = 3;