public static class InternalFilters.Bucket extends Object implements Filters.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>| Constructor and Description |
|---|
Bucket(String key,
long docCount,
InternalAggregations aggregations) |
| Modifier and Type | Method and Description |
|---|---|
Aggregations |
getAggregations() |
long |
getDocCount() |
String |
getKey() |
Text |
getKeyAsText() |
public Bucket(String key, long docCount, InternalAggregations aggregations)
public String getKey()
getKey in interface MultiBucketsAggregation.Bucketpublic Text getKeyAsText()
getKeyAsText in interface MultiBucketsAggregation.Bucketpublic long getDocCount()
getDocCount in interface MultiBucketsAggregation.Bucketpublic Aggregations getAggregations()
getAggregations in interface MultiBucketsAggregation.BucketgetAggregations in interface HasAggregationsCopyright © 2009–2016. All rights reserved.