Interface AggregationResultOrBuilder (2.31.4)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface AggregationResultOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
containsAggregateProperties(String key)
publicabstractbooleancontainsAggregateProperties(Stringkey) 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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAggregateProperties() (deprecated)
publicabstractMap<String,Value>getAggregateProperties()Use #getAggregatePropertiesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Value> |
|
getAggregatePropertiesCount()
publicabstractintgetAggregatePropertiesCount() 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;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAggregatePropertiesMap()
publicabstractMap<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;
| Returns | |
|---|---|
| Type | Description |
Map<String,Value> |
|
getAggregatePropertiesOrDefault(String key, Value defaultValue)
publicabstractValuegetAggregatePropertiesOrDefault(Stringkey,ValuedefaultValue) 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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
Value |
| Returns | |
|---|---|
| Type | Description |
Value |
|
getAggregatePropertiesOrThrow(String key)
publicabstractValuegetAggregatePropertiesOrThrow(Stringkey) 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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Value |
|