Class MovingPercentilesAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase.AbstractBuilder<MovingPercentilesAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.MovingPercentilesAggregation.Builder
- All Implemented Interfaces:
WithJson<MovingPercentilesAggregation.Builder>,ObjectBuilder<MovingPercentilesAggregation>
- Enclosing class:
- MovingPercentilesAggregation
public static class MovingPercentilesAggregation.Builder
extends PipelineAggregationBase.AbstractBuilder<MovingPercentilesAggregation.Builder>
implements ObjectBuilder<MovingPercentilesAggregation>
Builder for
MovingPercentilesAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMovingPercentilesAggregation.API name:keyedprotected MovingPercentilesAggregation.Builderself()By default, the window consists of the last n values excluding the current bucket.The size of window to "slide" across the histogram.Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.PipelineAggregationBase.AbstractBuilder
format, gapPolicyMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketPathAggregation.AbstractBuilder
bucketsPath, bucketsPathMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, nameMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
window
The size of window to "slide" across the histogram.API name:
window -
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 -
keyed
API name:keyed -
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<MovingPercentilesAggregation.Builder>
-
build
Builds aMovingPercentilesAggregation.- Specified by:
buildin interfaceObjectBuilder<MovingPercentilesAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-