public interface Filters extends MultiBucketsAggregation
Modifier and Type | Interface and Description |
---|---|
static interface |
Filters.Bucket
A bucket associated with a specific filter (identified by its key)
|
Modifier and Type | Method and Description |
---|---|
Filters.Bucket |
getBucketByKey(String key)
The bucket that is associated with the given key.
|
Collection<? extends Filters.Bucket> |
getBuckets()
The buckets created by this aggregation.
|
getName
Collection<? extends Filters.Bucket> getBuckets()
getBuckets
in interface MultiBucketsAggregation
Filters.Bucket getBucketByKey(String key)
MultiBucketsAggregation
getBucketByKey
in interface MultiBucketsAggregation
key
- The key of the requested bucket.Copyright © 2009–2015. All rights reserved.