public abstract class InternalMultiBucketAggregation<A extends InternalMultiBucketAggregation,B extends InternalMultiBucketAggregation.InternalBucket> extends InternalAggregation implements MultiBucketsAggregation
| Modifier and Type | Class and Description |
|---|---|
static class |
InternalMultiBucketAggregation.InternalBucket |
InternalAggregation.CommonFields, InternalAggregation.ReduceContextMultiBucketsAggregation.BucketToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>metaData, nameEMPTY_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
InternalMultiBucketAggregation(StreamInput in)
Read from a stream.
|
|
InternalMultiBucketAggregation(java.lang.String name,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
abstract A |
create(java.util.List<B> buckets)
Create a new copy of this
Aggregation with the same settings as
this Aggregation and contains the provided buckets. |
abstract B |
createBucket(InternalAggregations aggregations,
B prototype)
Create a new
InternalMultiBucketAggregation.InternalBucket using the provided prototype bucket
and aggregations. |
java.lang.Object |
getProperty(java.util.List<java.lang.String> path) |
doReduce, doWriteTo, doXContentBody, getMetaData, getName, getProperty, pipelineAggregators, readSize, reduce, toXContent, writeSize, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBucketsgetMetaData, getName, getPropertyisFragmentgetWriteableNamepublic InternalMultiBucketAggregation(java.lang.String name,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData)
protected InternalMultiBucketAggregation(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic abstract A create(java.util.List<B> buckets)
Aggregation with the same settings as
this Aggregation and contains the provided buckets.buckets - the buckets to use in the new AggregationAggregationpublic abstract B createBucket(InternalAggregations aggregations, B prototype)
InternalMultiBucketAggregation.InternalBucket using the provided prototype bucket
and aggregations.aggregations - the aggregations for the new bucketprototype - the bucket to use as a prototypepublic java.lang.Object getProperty(java.util.List<java.lang.String> path)
getProperty in class InternalAggregation