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,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.ValidationContextNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.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 org.elasticsearch.xcontent.ParseFieldDeprecated.static final org.elasticsearch.xcontent.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_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PipelineAggregatorcreateInternal(Map<String, Object> metadata) Deprecated.protected voiddoWriteTo(StreamOutput out) Deprecated.final StringDeprecated.Returns the name of the writeable objectprotected org.elasticsearch.xcontent.XContentBuilderinternalXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.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, type, 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
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:
doWriteToin classAbstractPipelineAggregationBuilder<MovAvgPipelineAggregationBuilder>- Throws:
IOException
-
createInternal
Deprecated.- Specified by:
createInternalin 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:
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:NamedWriteableReturns the name of the writeable object
-