Class HistogramAggregation

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

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

  • Constructor Details

  • Method Details

    • _variantType

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

      @Nullable public ExtendedBounds<java.lang.Double> extendedBounds()
      API name: extended_bounds
    • hardBounds

      @Nullable public ExtendedBounds<java.lang.Double> hardBounds()
      API name: hard_bounds
    • field

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

      @Nullable public java.lang.Double interval()
      API name: interval
    • minDocCount

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

      @Nullable public java.lang.Double missing()
      API name: missing
    • offset

      @Nullable public java.lang.Double offset()
      API name: offset
    • order

      @Nullable public HistogramOrder order()
      API name: order
    • script

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

      @Nullable public java.lang.String format()
      API name: format
    • keyed

      @Nullable public java.lang.Boolean keyed()
      API name: keyed
    • serializeInternal

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

      protected static void setupHistogramAggregationDeserializer​(DelegatingDeserializer<HistogramAggregation.Builder> op)