public abstract class PipelineAggregatorBuilder<B extends PipelineAggregatorBuilder<B>> extends AbstractAggregationBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
type
EMPTY_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) |
getName
public B setBucketsPaths(String... bucketsPaths)
public B setMetaData(Map<String,Object> metaData)
public final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
protected abstract XContentBuilder internalXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.