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
,org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.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
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static org.elasticsearch.xcontent.ParseField
Deprecated.static final org.elasticsearch.xcontent.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_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PipelineAggregator
createInternal
(Map<String, Object> metadata) Deprecated.protected void
doWriteTo
(StreamOutput out) Deprecated.final String
Deprecated.Returns the name of the writeable objectprotected org.elasticsearch.xcontent.XContentBuilder
internalXContent
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.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, type, writeTo
Methods inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilder
getBucketsPaths, getMinimalSupportedVersion, 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
public static org.elasticsearch.xcontent.ParseField NAME_V7Deprecated. -
PARSER
public static final org.elasticsearch.xcontent.ContextParser<String,MovAvgPipelineAggregationBuilder> PARSERDeprecated.
-
-
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 org.elasticsearch.xcontent.XContentBuilder internalXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.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
-