Module org.elasticsearch.server
Class MovAvgPipelineAggregationBuilder
java.lang.Object
org.elasticsearch.search.aggregations.PipelineAggregationBuilder
org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder<MovAvgPipelineAggregationBuilder>
org.elasticsearch.search.aggregations.pipeline.MovAvgPipelineAggregationBuilder
- All Implemented Interfaces:
NamedWriteable
,VersionedNamedWriteable
,Writeable
,Rewriteable<PipelineAggregationBuilder>
,BaseAggregationBuilder
,ToXContent
,ToXContentFragment
@Deprecated
public class MovAvgPipelineAggregationBuilder
extends AbstractPipelineAggregationBuilder<MovAvgPipelineAggregationBuilder>
Deprecated.
Only for 7.x rest compat
The actual moving_avg aggregation was removed as a breaking change in 8.0. This class exists to provide a friendlier error message
if somebody attempts to use the moving_avg aggregation via the compatible-with=7 mechanism.
We can remove this class entirely when v7 rest api compatibility is dropped.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilder
PipelineAggregationBuilder.ValidationContext
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.static final ParseField
Deprecated.static final ContextParser
<String, MovAvgPipelineAggregationBuilder> Deprecated.Fields inherited from class org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder
BUCKETS_PATH_FIELD, metadata, type
Fields inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilder
bucketsPaths, name
Fields inherited from interface org.elasticsearch.index.query.Rewriteable
MAX_REWRITE_ROUNDS
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PipelineAggregator
createInternal
(Map<String, Object> metadata) Deprecated.protected void
doWriteTo
(StreamOutput out) Deprecated.Deprecated.The minimal version of the recipient this object can be sent tofinal String
Deprecated.Returns the name of the writeable objectprotected XContentBuilder
internalXContent
(XContentBuilder builder, ToXContent.Params params) Deprecated.protected void
Deprecated.Makes sure this builder is properly configured.Methods inherited from class org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder
create, equals, getType, hashCode, overrideBucketsPath, setMetadata, toXContent, writeTo
Methods inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilder
getBucketsPaths, getName, rewrite, subAggregations, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
MOVING_AVG_AGG_DEPRECATION_MSG
Deprecated.- See Also:
-
NAME_V7
Deprecated. -
PARSER
Deprecated.
-
-
Constructor Details
-
MovAvgPipelineAggregationBuilder
Deprecated.- Throws:
IOException
-
-
Method Details
-
doWriteTo
Deprecated.- Specified by:
doWriteTo
in classAbstractPipelineAggregationBuilder<MovAvgPipelineAggregationBuilder>
- Throws:
IOException
-
createInternal
Deprecated.- Specified by:
createInternal
in classAbstractPipelineAggregationBuilder<MovAvgPipelineAggregationBuilder>
-
internalXContent
protected XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException Deprecated.- Specified by:
internalXContent
in classAbstractPipelineAggregationBuilder<MovAvgPipelineAggregationBuilder>
- Throws:
IOException
-
validate
Deprecated.Description copied from class:PipelineAggregationBuilder
Makes sure this builder is properly configured.- Specified by:
validate
in classPipelineAggregationBuilder
-
getWriteableName
Deprecated.Description copied from interface:VersionedNamedWriteable
Returns the name of the writeable object -
getMinimalSupportedVersion
Deprecated.Description copied from interface:VersionedNamedWriteable
The minimal version of the recipient this object can be sent to
-