public interface AggregationResultOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsAggregateFields(String key)
public abstract boolean containsAggregateFields(String key)
The result of the aggregation functions, ex: COUNT(*) AS total_docs
.
The key is the 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;
Name | Description |
key | String |
Type | Description |
boolean |
getAggregateFields()
public abstract Map<String,Value> getAggregateFields()
Use #getAggregateFieldsMap() instead.
Type | Description |
Map<String,Value> |
getAggregateFieldsCount()
public abstract int getAggregateFieldsCount()
The result of the aggregation functions, ex: COUNT(*) AS total_docs
.
The key is the 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;
Type | Description |
int |
getAggregateFieldsMap()
public abstract Map<String,Value> getAggregateFieldsMap()
The result of the aggregation functions, ex: COUNT(*) AS total_docs
.
The key is the 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;
Type | Description |
Map<String,Value> |
getAggregateFieldsOrDefault(String key, Value defaultValue)
public abstract Value getAggregateFieldsOrDefault(String key, Value defaultValue)
The result of the aggregation functions, ex: COUNT(*) AS total_docs
.
The key is the 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;
Name | Description |
key | String |
defaultValue | Value |
Type | Description |
Value |
getAggregateFieldsOrThrow(String key)
public abstract Value getAggregateFieldsOrThrow(String key)
The result of the aggregation functions, ex: COUNT(*) AS total_docs
.
The key is the 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;
Name | Description |
key | String |
Type | Description |
Value |