Package com.google.datastore.v1
Interface AggregationResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AggregationResult
,AggregationResult.Builder
public interface AggregationResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsAggregateProperties(String key)
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.Map<String,Value>
getAggregateProperties()
Deprecated.int
getAggregatePropertiesCount()
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.Map<String,Value>
getAggregatePropertiesMap()
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.Value
getAggregatePropertiesOrDefault(String key, Value defaultValue)
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.Value
getAggregatePropertiesOrThrow(String key)
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAggregatePropertiesCount
int getAggregatePropertiesCount()
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The key is the [alias][google.datastore.v1.AggregationQuery.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.datastore.v1.Value> aggregate_properties = 2;
-
containsAggregateProperties
boolean containsAggregateProperties(String key)
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The key is the [alias][google.datastore.v1.AggregationQuery.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.datastore.v1.Value> aggregate_properties = 2;
-
getAggregateProperties
@Deprecated Map<String,Value> getAggregateProperties()
Deprecated.UsegetAggregatePropertiesMap()
instead.
-
getAggregatePropertiesMap
Map<String,Value> getAggregatePropertiesMap()
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The key is the [alias][google.datastore.v1.AggregationQuery.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.datastore.v1.Value> aggregate_properties = 2;
-
getAggregatePropertiesOrDefault
Value getAggregatePropertiesOrDefault(String key, Value defaultValue)
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The key is the [alias][google.datastore.v1.AggregationQuery.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.datastore.v1.Value> aggregate_properties = 2;
-
getAggregatePropertiesOrThrow
Value getAggregatePropertiesOrThrow(String key)
The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The key is the [alias][google.datastore.v1.AggregationQuery.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.datastore.v1.Value> aggregate_properties = 2;
-
-