Interface HistogramQueryResultOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HistogramQueryResult, HistogramQueryResult.Builder

@Generated public interface HistogramQueryResultOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.
    Deprecated.
    int
    A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.
    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
    A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value.
    Requested histogram expression.
    com.google.protobuf.ByteString
    Requested histogram expression.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.
       * (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;
    • 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.
       * (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;
    • getHistogram

      @Deprecated Map<String,Long> getHistogram()
      Deprecated.
      Use getHistogramMap() 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.
       * (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;
    • 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.
       * (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;
    • 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.
       * (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;