public abstract class PipelineAggregatorBuilder<B extends PipelineAggregatorBuilder<B>> extends AbstractAggregationBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamstypeEMPTY_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
PipelineAggregatorBuilder(String name,
String type)
Sole constructor, typically used by sub-classes.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract XContentBuilder |
internalXContent(XContentBuilder builder,
ToXContent.Params params) |
B |
setBucketsPaths(String... bucketsPaths)
Sets the paths to the buckets to use for this pipeline aggregator
|
B |
setMetaData(Map<String,Object> metaData)
Sets the meta data to be included in the pipeline aggregator's response
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
getNamepublic B setBucketsPaths(String... bucketsPaths)
public B setMetaData(Map<String,Object> metaData)
public final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionprotected abstract XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.