Module org.elasticsearch.server
Class BucketMetricsPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
java.lang.Object
org.elasticsearch.search.aggregations.PipelineAggregationBuilder
org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuilder<AF>
org.elasticsearch.search.aggregations.pipeline.BucketMetricsPipelineAggregationBuilder<AF>
- All Implemented Interfaces:
- NamedWriteable,- VersionedNamedWriteable,- Writeable,- Rewriteable<PipelineAggregationBuilder>,- BaseAggregationBuilder,- ToXContent,- ToXContentFragment
- Direct Known Subclasses:
- AvgBucketPipelineAggregationBuilder,- ExtendedStatsBucketPipelineAggregationBuilder,- MaxBucketPipelineAggregationBuilder,- MinBucketPipelineAggregationBuilder,- PercentilesBucketPipelineAggregationBuilder,- StatsBucketPipelineAggregationBuilder,- SumBucketPipelineAggregationBuilder
public abstract class BucketMetricsPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
extends AbstractPipelineAggregationBuilder<AF>
- 
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 SummaryFields 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 SummaryConstructorsModifierConstructorDescriptionprotectedBucketMetricsPipelineAggregationBuilder(String name, String type, String[] bucketsPaths) protectedBucketMetricsPipelineAggregationBuilder(String name, String type, String[] bucketsPaths, String format, BucketHelpers.GapPolicy gapPolicy) protectedRead from a stream.
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract PipelineAggregatorcreateInternal(Map<String, Object> metadata) protected final voiddoWriteTo(StreamOutput out) protected abstract XContentBuilderdoXContentBody(XContentBuilder builder, ToXContent.Params params) 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.inthashCode()protected abstract voidinnerWriteTo(StreamOutput out) protected final XContentBuilderinternalXContent(XContentBuilder builder, ToXContent.Params params) protected voidMakes sure this builder is properly configured.Methods inherited from class org.elasticsearch.search.aggregations.pipeline.AbstractPipelineAggregationBuildercreate, getType, overrideBucketsPath, 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.ToXContentFragmentisFragmentMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteablegetMinimalSupportedVersion, getWriteableName
- 
Constructor Details- 
BucketMetricsPipelineAggregationBuilder
- 
BucketMetricsPipelineAggregationBuilderprotected BucketMetricsPipelineAggregationBuilder(String name, String type, String[] bucketsPaths, String format, BucketHelpers.GapPolicy gapPolicy) 
- 
BucketMetricsPipelineAggregationBuilderRead from a stream.- Throws:
- IOException
 
 
- 
- 
Method Details- 
doWriteTo- Specified by:
- doWriteToin class- AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
- Throws:
- IOException
 
- 
innerWriteTo- 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.
- 
createInternal- Specified by:
- createInternalin class- AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
 
- 
validateDescription copied from class:PipelineAggregationBuilderMakes sure this builder is properly configured.- Specified by:
- validatein class- PipelineAggregationBuilder
 
- 
internalXContentprotected final XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
- internalXContentin class- AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
- Throws:
- IOException
 
- 
doXContentBodyprotected abstract XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws IOException - Throws:
- IOException
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
 
- 
equals- Overrides:
- equalsin class- AbstractPipelineAggregationBuilder<AF extends BucketMetricsPipelineAggregationBuilder<AF>>
 
 
-