All Implemented Interfaces:
AggregationVariant, CompositeAggregationSourceVariant, PivotGroupByVariant, JsonpSerializable, UnionVariant

@JsonpDeserializable
public final class TermsAggregation
extends BucketAggregationBase
implements AggregationVariant, PivotGroupByVariant, CompositeAggregationSourceVariant
  • Field Details

  • Constructor Details

  • Method Details

    • _variantType

      public java.lang.String _variantType()
      Specified by:
      _variantType in interface UnionVariant
    • collectMode

      @Nullable public TermsAggregationCollectMode collectMode()
      API name: collect_mode
    • exclude

      @Nullable public java.util.List<java.lang.String> exclude()
      API name: exclude
    • executionHint

      @Nullable public TermsAggregationExecutionHint executionHint()
      API name: execution_hint
    • field

      @Nullable public java.lang.String field()
      API name: field
    • include

      @Nullable public jakarta.json.JsonValue include()
      API name: include
    • minDocCount

      @Nullable public java.lang.Integer minDocCount()
      API name: min_doc_count
    • missing

      @Nullable public java.lang.String missing()
      API name: missing
    • missingBucket

      @Nullable public java.lang.Boolean missingBucket()
      API name: missing_bucket
    • valueType

      @Nullable public java.lang.String valueType()
      API name: value_type
    • order

      @Nullable public jakarta.json.JsonValue order()
      API name: order
    • script

      @Nullable public jakarta.json.JsonValue script()
      API name: script
    • shardSize

      @Nullable public java.lang.Integer shardSize()
      API name: shard_size
    • showTermDocCountError

      @Nullable public java.lang.Boolean showTermDocCountError()
      API name: show_term_doc_count_error
    • size

      @Nullable public java.lang.Integer size()
      API name: size
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class BucketAggregationBase
    • setupTermsAggregationDeserializer

      protected static void setupTermsAggregationDeserializer​(DelegatingDeserializer<TermsAggregation.Builder> op)