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.Bucket
public Text getKeyAsText()
getKeyAsText
in interface MultiBucketsAggregation.Bucket
public long getDocCount()
getDocCount
in interface MultiBucketsAggregation.Bucket
public Aggregations getAggregations()
getAggregations
in interface MultiBucketsAggregation.Bucket
getAggregations
in interface HasAggregations
Copyright © 2009–2015. All rights reserved.