public interface HistogramQueryResultOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsHistogram(String key)
A map from the values of the facet associated with distinct values to the
number of matching entries with corresponding value.
|
Map<String,Long> |
getHistogram()
Deprecated.
|
int |
getHistogramCount()
A map from the values of the facet associated with distinct values to the
number of matching entries with corresponding value.
|
Map<String,Long> |
getHistogramMap()
A map from the values of the facet associated with distinct values to the
number of matching entries with corresponding value.
|
long |
getHistogramOrDefault(String key,
long defaultValue)
A map from the values of the facet associated with distinct values to the
number of matching entries with corresponding value.
|
long |
getHistogramOrThrow(String key)
A map from the values of the facet associated with distinct values to the
number of matching entries with corresponding value.
|
String |
getHistogramQuery()
Requested histogram expression.
|
ByteString |
getHistogramQueryBytes()
Requested histogram expression.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getHistogramQuery()
Requested histogram expression.
string histogram_query = 1;
ByteString getHistogramQueryBytes()
Requested histogram expression.
string histogram_query = 1;
int getHistogramCount()
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2;
boolean containsHistogram(String key)
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2;
@Deprecated Map<String,Long> getHistogram()
getHistogramMap()
instead.Map<String,Long> getHistogramMap()
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2;
long getHistogramOrDefault(String key, long defaultValue)
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2;
long getHistogramOrThrow(String key)
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for example, `0-1000`, `MIN-0`, and `0-MAX`.
map<string, int64> histogram = 2;
Copyright © 2022 Google LLC. All rights reserved.