public interface AggregationResultOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsAggregateProperties(String key)
public abstract boolean containsAggregateProperties(String key)
The result of the aggregation functions, ex: COUNT(*) AS total_entities
.
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.datastore.v1.Value> aggregate_properties = 2;
Name | Description |
key | String |
Type | Description |
boolean |
getAggregateProperties()
public abstract Map<String,Value> getAggregateProperties()
Use #getAggregatePropertiesMap() instead.
Type | Description |
Map<String,Value> |
getAggregatePropertiesCount()
public abstract int getAggregatePropertiesCount()
The result of the aggregation functions, ex: COUNT(*) AS total_entities
.
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.datastore.v1.Value> aggregate_properties = 2;
Type | Description |
int |
getAggregatePropertiesMap()
public abstract Map<String,Value> getAggregatePropertiesMap()
The result of the aggregation functions, ex: COUNT(*) AS total_entities
.
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.datastore.v1.Value> aggregate_properties = 2;
Type | Description |
Map<String,Value> |
getAggregatePropertiesOrDefault(String key, Value defaultValue)
public abstract Value getAggregatePropertiesOrDefault(String key, Value defaultValue)
The result of the aggregation functions, ex: COUNT(*) AS total_entities
.
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.datastore.v1.Value> aggregate_properties = 2;
Name | Description |
key | String |
defaultValue | Value |
Type | Description |
Value |
getAggregatePropertiesOrThrow(String key)
public abstract Value getAggregatePropertiesOrThrow(String key)
The result of the aggregation functions, ex: COUNT(*) AS total_entities
.
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.datastore.v1.Value> aggregate_properties = 2;
Name | Description |
key | String |
Type | Description |
Value |