Class MovingFunctionAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
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:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MovingFunctionAggregation.Builder
Builder forMovingFunctionAggregation
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase
PipelineAggregationBase.AbstractBuilder<BuilderT extends PipelineAggregationBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MovingFunctionAggregation>
_DESERIALIZER
Json deserializer forMovingFunctionAggregation
-
Method Summary
Modifier and Type Method Description Aggregation.Kind
_aggregationKind()
Aggregation variant kind.static MovingFunctionAggregation
of(java.util.function.Function<MovingFunctionAggregation.Builder,ObjectBuilder<MovingFunctionAggregation>> fn)
java.lang.String
script()
API name:script
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupMovingFunctionAggregationDeserializer(ObjectDeserializer<MovingFunctionAggregation.Builder> op)
java.lang.Integer
shift()
API name:shift
java.lang.Integer
window()
API name:window
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase
bucketsPath, format, gapPolicy, setupPipelineAggregationBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forMovingFunctionAggregation
-
-
Method Details
-
of
public static MovingFunctionAggregation of(java.util.function.Function<MovingFunctionAggregation.Builder,ObjectBuilder<MovingFunctionAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKind
in interfaceAggregationVariant
-
script
@Nullable public final java.lang.String script()API name:script
-
shift
@Nullable public final java.lang.Integer shift()API name:shift
-
window
@Nullable public final java.lang.Integer window()API name:window
-
serializeInternal
- Overrides:
serializeInternal
in classPipelineAggregationBase
-
setupMovingFunctionAggregationDeserializer
protected static void setupMovingFunctionAggregationDeserializer(ObjectDeserializer<MovingFunctionAggregation.Builder> op)
-