public abstract class BucketMetricsBuilder<B extends BucketMetricsBuilder<B>> extends PipelineAggregatorBuilder<B>
BucketMetricsPipelineAggregator
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
type
EMPTY_PARAMS
Constructor and Description |
---|
BucketMetricsBuilder(String name,
String type) |
Modifier and Type | Method and Description |
---|---|
protected void |
doInternalXContent(XContentBuilder builder,
ToXContent.Params params) |
B |
format(String format) |
B |
gapPolicy(BucketHelpers.GapPolicy gapPolicy) |
protected XContentBuilder |
internalXContent(XContentBuilder builder,
ToXContent.Params params) |
setBucketsPaths, setMetaData, toXContent
getName
public B gapPolicy(BucketHelpers.GapPolicy gapPolicy)
protected final XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
internalXContent
in class PipelineAggregatorBuilder<B extends BucketMetricsBuilder<B>>
IOException
protected void doInternalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.