Interface HistogramQueryResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HistogramQueryResult,HistogramQueryResult.Builder
public interface HistogramQueryResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsHistogram(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.intgetHistogramCount()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.longgetHistogramOrDefault(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.longgetHistogramOrThrow(String key)A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.StringgetHistogramQuery()Requested histogram expression.com.google.protobuf.ByteStringgetHistogramQueryBytes()Requested histogram expression.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getHistogramQuery
String getHistogramQuery()
Requested histogram expression.
string histogram_query = 1;- Returns:
- The histogramQuery.
-
getHistogramQueryBytes
com.google.protobuf.ByteString getHistogramQueryBytes()
Requested histogram expression.
string histogram_query = 1;- Returns:
- The bytes for histogramQuery.
-
getHistogramCount
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.
map<string, int64> histogram = 2;
-
containsHistogram
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.
map<string, int64> histogram = 2;
-
getHistogram
@Deprecated Map<String,Long> getHistogram()
Deprecated.UsegetHistogramMap()instead.
-
getHistogramMap
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.
map<string, int64> histogram = 2;
-
getHistogramOrDefault
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.
map<string, int64> histogram = 2;
-
getHistogramOrThrow
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.
map<string, int64> histogram = 2;
-
-