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.ReduceContext, InternalAggregation.TypeMultiBucketsAggregation.BucketToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsmetaData, nameEMPTY_PARAMS| Constructor and Description |
|---|
InternalMultiBucketAggregation() |
InternalMultiBucketAggregation(String name,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
abstract A |
create(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. |
Object |
getProperty(List<String> path) |
doReadFrom, doReduce, doWriteTo, doXContentBody, getMetaData, getName, getProperty, pipelineAggregators, readFrom, readSize, reduce, toXContent, type, writeSize, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBucketsgetMetaData, getName, getPropertypublic abstract A create(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 Object getProperty(List<String> path)
getProperty in class InternalAggregationCopyright © 2009–2017. All rights reserved.