Module org.elasticsearch.server
Class MovFnPipelineAggregationBuilder
java.lang.Object
org.elasticsearch.search.aggregations.PipelineAggregationBuilder
org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder<MovFnPipelineAggregationBuilder>
org.elasticsearch.search.aggregations.pipeline.MovFnPipelineAggregationBuilder
- All Implemented Interfaces:
- NamedWriteable,- VersionedNamedWriteable,- Writeable,- Rewriteable<PipelineAggregationBuilder>,- BaseAggregationBuilder,- ToXContent,- ToXContentFragment
public class MovFnPipelineAggregationBuilder
extends AbstractPipelineAggregationBuilder<MovFnPipelineAggregationBuilder>
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilderPipelineAggregationBuilder.ValidationContextNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final ConstructingObjectParser<MovFnPipelineAggregationBuilder,String> Fields inherited from class org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilderBUCKETS_PATH_FIELD, metadata, typeFields inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuilderbucketsPaths, nameFields inherited from interface org.elasticsearch.index.query.RewriteableMAX_REWRITE_ROUNDSFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructorsConstructorDescriptionMovFnPipelineAggregationBuilder(String name, String bucketsPath, Script script, int window) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected PipelineAggregatorcreateInternal(Map<String, Object> metadata) protected voiddoWriteTo(StreamOutput out) booleanformat()Gets the format to use on the output of this aggregation.Sets the format to use on the output of this aggregation.protected DocValueFormatGets the gap policy to use for this aggregation.gapPolicy(BucketHelpers.GapPolicy gapPolicy) Sets the gap policy to use for this aggregation.The minimal version of the recipient this object can be sent tointReturns the window size for this aggregationReturns the name of the writeable objectinthashCode()protected XContentBuilderinternalXContent(XContentBuilder builder, ToXContent.Params params) protected booleanvoidsetShift(int shift) voidsetWindow(int window) Sets the window size for this aggregationprotected voidMakes sure this builder is properly configured.Methods inherited from class org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuildercreate, getType, setMetadata, toXContent, type, writeToMethods inherited from class org.elasticsearch.search.aggregations.PipelineAggregationBuildergetBucketsPaths, getName, rewrite, subAggregations, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragmentisFragment
- 
Field Details- 
NAME- See Also:
 
- 
PARSER
 
- 
- 
Constructor Details- 
MovFnPipelineAggregationBuilder
- 
MovFnPipelineAggregationBuilder- Throws:
- IOException
 
 
- 
- 
Method Details- 
doWriteTo- Specified by:
- doWriteToin class- AbstractPipelineAggregationBuilder<MovFnPipelineAggregationBuilder>
- Throws:
- IOException
 
- 
formatSets the format to use on the output of this aggregation.
- 
formatGets the format to use on the output of this aggregation.
- 
formatter
- 
gapPolicySets the gap policy to use for this aggregation.
- 
gapPolicyGets the gap policy to use for this aggregation.
- 
getWindowpublic int getWindow()Returns the window size for this aggregation
- 
setWindowpublic void setWindow(int window) Sets the window size for this aggregation
- 
setShiftpublic void setShift(int shift) 
- 
validateDescription copied from class:PipelineAggregationBuilderMakes sure this builder is properly configured.- Specified by:
- validatein class- PipelineAggregationBuilder
 
- 
createInternal- Specified by:
- createInternalin class- AbstractPipelineAggregationBuilder<MovFnPipelineAggregationBuilder>
 
- 
internalXContentprotected XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
- internalXContentin class- AbstractPipelineAggregationBuilder<MovFnPipelineAggregationBuilder>
- Throws:
- IOException
 
- 
overrideBucketsPathprotected boolean overrideBucketsPath()- Overrides:
- overrideBucketsPathin class- AbstractPipelineAggregationBuilder<MovFnPipelineAggregationBuilder>
- Returns:
- trueif the- AbstractPipelineAggregationBuilderoverrides the XContent rendering of the bucketPath option.
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractPipelineAggregationBuilder<MovFnPipelineAggregationBuilder>
 
- 
equals- Overrides:
- equalsin class- AbstractPipelineAggregationBuilder<MovFnPipelineAggregationBuilder>
 
- 
getWriteableNameDescription copied from interface:VersionedNamedWriteableReturns the name of the writeable object
- 
getMinimalSupportedVersionDescription copied from interface:VersionedNamedWriteableThe minimal version of the recipient this object can be sent to
 
-