Class PipelineAggregationBase

All Implemented Interfaces:
JsonpSerializable
Direct Known Subclasses:
AverageBucketAggregation, BucketScriptAggregation, BucketSelectorAggregation, CumulativeCardinalityAggregation, CumulativeSumAggregation, DerivativeAggregation, ExtendedStatsBucketAggregation, InferenceAggregation, MaxBucketAggregation, MinBucketAggregation, MovingAverageAggregationBase, MovingFunctionAggregation, MovingPercentilesAggregation, NormalizeAggregation, PercentilesBucketAggregation, SerialDifferencingAggregation, StatsBucketAggregation, SumBucketAggregation

public abstract class PipelineAggregationBase extends BucketPathAggregation
See Also:
  • Constructor Details

  • Method Details

    • format

      @Nullable public final String format()
      DecimalFormat pattern for the output value. If specified, the formatted value is returned in the aggregation’s value_as_string property.

      API name: format

    • gapPolicy

      @Nullable public final GapPolicy gapPolicy()
      Policy to apply when gaps are found in the data.

      API name: gap_policy

    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class BucketPathAggregation
    • setupPipelineAggregationBaseDeserializer

      protected static <BuilderT extends PipelineAggregationBase.AbstractBuilder<BuilderT>> void setupPipelineAggregationBaseDeserializer(ObjectDeserializer<BuilderT> op)