Interface TermsAggregationOrBuilder

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

public interface TermsAggregationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    Deprecated.
    int
    map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    .org.opensearch.protobufs.TermsAggregationFields terms = 2 [json_name = "terms"];
    .org.opensearch.protobufs.TermsAggregationFields terms = 2 [json_name = "terms"];
    boolean
    .org.opensearch.protobufs.TermsAggregationFields terms = 2 [json_name = "terms"];

    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

    • getAggregationsCount

      int getAggregationsCount()
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    • containsAggregations

      boolean containsAggregations(String key)
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    • getAggregations

      Deprecated.
    • getAggregationsMap

      Map<String,AggregationContainer> getAggregationsMap()
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    • getAggregationsOrDefault

      AggregationContainer getAggregationsOrDefault(String key, AggregationContainer defaultValue)
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    • getAggregationsOrThrow

      AggregationContainer getAggregationsOrThrow(String key)
      map<string, .org.opensearch.protobufs.AggregationContainer> aggregations = 1 [json_name = "aggregations"];
    • hasTerms

      boolean hasTerms()
      .org.opensearch.protobufs.TermsAggregationFields terms = 2 [json_name = "terms"];
      Returns:
      Whether the terms field is set.
    • getTerms

      .org.opensearch.protobufs.TermsAggregationFields terms = 2 [json_name = "terms"];
      Returns:
      The terms.
    • getTermsOrBuilder

      TermsAggregationFieldsOrBuilder getTermsOrBuilder()
      .org.opensearch.protobufs.TermsAggregationFields terms = 2 [json_name = "terms"];