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.ValidationContextNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final ParseFieldDeprecated.static final ContextParser<String, MovAvgPipelineAggregationBuilder> Deprecated.Fields inherited from class org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder
BUCKETS_PATH_FIELD, metadata, typeFields inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilder
bucketsPaths, nameFields inherited from interface org.elasticsearch.index.query.Rewriteable
MAX_REWRITE_ROUNDSFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PipelineAggregatorcreateInternal(Map<String, Object> metadata) Deprecated.protected voiddoWriteTo(StreamOutput out) Deprecated.Deprecated.The minimal version of the recipient this object can be sent tofinal StringDeprecated.Returns the name of the writeable objectprotected XContentBuilderinternalXContent(XContentBuilder builder, ToXContent.Params params) Deprecated.protected voidDeprecated.Makes sure this builder is properly configured.Methods inherited from class org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder
create, equals, getType, hashCode, overrideBucketsPath, setMetadata, toXContent, writeToMethods inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilder
getBucketsPaths, getName, rewrite, subAggregations, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
doWriteToin classAbstractPipelineAggregationBuilder<MovAvgPipelineAggregationBuilder>- Throws:
IOException
-
createInternal
Deprecated.- Specified by:
createInternalin classAbstractPipelineAggregationBuilder<MovAvgPipelineAggregationBuilder>
-
internalXContent
protected XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException Deprecated.- Specified by:
internalXContentin classAbstractPipelineAggregationBuilder<MovAvgPipelineAggregationBuilder>- Throws:
IOException
-
validate
Deprecated.Description copied from class:PipelineAggregationBuilderMakes sure this builder is properly configured.- Specified by:
validatein classPipelineAggregationBuilder
-
getWriteableName
Deprecated.Description copied from interface:VersionedNamedWriteableReturns the name of the writeable object -
getMinimalSupportedVersion
Deprecated.Description copied from interface:VersionedNamedWriteableThe minimal version of the recipient this object can be sent to
-