public interface MultiBucketsAggregation extends Aggregation
Modifier and Type | Interface and Description |
---|---|
static interface |
MultiBucketsAggregation.Bucket
A bucket represents a criteria to which all documents that fall in it adhere to.
|
Modifier and Type | Method and Description |
---|---|
<B extends MultiBucketsAggregation.Bucket> |
getBucketByKey(String key)
The bucket that is associated with the given key.
|
Collection<? extends MultiBucketsAggregation.Bucket> |
getBuckets() |
getName
Collection<? extends MultiBucketsAggregation.Bucket> getBuckets()
<B extends MultiBucketsAggregation.Bucket> B getBucketByKey(String key)
key
- The key of the requested bucket.Copyright © 2009–2015. All rights reserved.