Class MovingFunctionAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation
co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.MovingFunctionAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable
public class MovingFunctionAggregation
extends PipelineAggregationBase
implements AggregationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase
PipelineAggregationBase.AbstractBuilder<BuilderT extends PipelineAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MovingFunctionAggregation>Json deserializer forMovingFunctionAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.static MovingFunctionAggregationfinal Stringscript()The script that should be executed on each window of data.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupMovingFunctionAggregationDeserializer(ObjectDeserializer<MovingFunctionAggregation.Builder> op) final Integershift()By default, the window consists of the last n values excluding the current bucket.final Integerwindow()The size of window to "slide" across the histogram.Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase
format, gapPolicy, setupPipelineAggregationBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation
bucketsPath, setupBucketPathAggregationDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forMovingFunctionAggregation
-
-
Method Details
-
of
public static MovingFunctionAggregation of(Function<MovingFunctionAggregation.Builder, ObjectBuilder<MovingFunctionAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
script
The script that should be executed on each window of data.API name:
script -
shift
By default, the window consists of the last n values excluding the current bucket. Increasingshiftby 1, moves the starting window position by 1 to the right.API name:
shift -
window
The size of window to "slide" across the histogram.API name:
window -
serializeInternal
- Overrides:
serializeInternalin classPipelineAggregationBase
-
setupMovingFunctionAggregationDeserializer
protected static void setupMovingFunctionAggregationDeserializer(ObjectDeserializer<MovingFunctionAggregation.Builder> op)
-