public abstract class BucketMetricsBuilder<B extends BucketMetricsBuilder<B>> extends PipelineAggregatorBuilder<B>
BucketMetricsPipelineAggregatorToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamstypeEMPTY_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, toXContentgetNamepublic B gapPolicy(BucketHelpers.GapPolicy gapPolicy)
protected final XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
internalXContent in class PipelineAggregatorBuilder<B extends BucketMetricsBuilder<B>>IOExceptionprotected void doInternalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.