public interface AggregationResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsAggregateFields(String key)
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
|
Map<String,Value> |
getAggregateFields()
Deprecated.
|
int |
getAggregateFieldsCount()
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
|
Map<String,Value> |
getAggregateFieldsMap()
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
|
Value |
getAggregateFieldsOrDefault(String key,
Value defaultValue)
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
|
Value |
getAggregateFieldsOrThrow(String key)
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getAggregateFieldsCount()
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`. The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias] assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.
map<string, .google.firestore.v1.Value> aggregate_fields = 2;
boolean containsAggregateFields(String key)
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`. The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias] assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.
map<string, .google.firestore.v1.Value> aggregate_fields = 2;
@Deprecated Map<String,Value> getAggregateFields()
getAggregateFieldsMap()
instead.Map<String,Value> getAggregateFieldsMap()
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`. The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias] assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.
map<string, .google.firestore.v1.Value> aggregate_fields = 2;
Value getAggregateFieldsOrDefault(String key, Value defaultValue)
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`. The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias] assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.
map<string, .google.firestore.v1.Value> aggregate_fields = 2;
Value getAggregateFieldsOrThrow(String key)
The result of the aggregation functions, ex: `COUNT(*) AS total_docs`. The key is the [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias] assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.
map<string, .google.firestore.v1.Value> aggregate_fields = 2;
Copyright © 2023 Google LLC. All rights reserved.