Class MovingFunctionAggregation
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase
-
- org.opensearch.client.opensearch._types.aggregations.MovingFunctionAggregation
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,AggregationVariant
@JsonpDeserializable public class MovingFunctionAggregation extends PipelineAggregationBase implements AggregationVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MovingFunctionAggregation.Builder
Builder forMovingFunctionAggregation
.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._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
All Methods Static Methods Instance Methods Concrete Methods 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 org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase
bucketsPath, format, gapPolicy, setupPipelineAggregationBaseDeserializer
-
Methods inherited from class org.opensearch.client.opensearch._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 org.opensearch.client.opensearch._types.aggregations.AggregationVariant
_toAggregation
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<MovingFunctionAggregation> _DESERIALIZER
Json deserializer forMovingFunctionAggregation
-
-
Method Detail
-
of
public static MovingFunctionAggregation of(java.util.function.Function<MovingFunctionAggregation.Builder,ObjectBuilder<MovingFunctionAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _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
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classPipelineAggregationBase
-
setupMovingFunctionAggregationDeserializer
protected static void setupMovingFunctionAggregationDeserializer(ObjectDeserializer<MovingFunctionAggregation.Builder> op)
-
-