public abstract static class InternalTerms.Bucket extends Terms.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>| Modifier and Type | Field and Description |
|---|---|
protected InternalAggregations |
aggregations |
protected long |
docCount |
protected long |
docCountError |
protected boolean |
showDocCountError |
| Modifier | Constructor and Description |
|---|---|
protected |
Bucket(long docCount,
InternalAggregations aggregations,
boolean showDocCountError,
long docCountError) |
| Modifier and Type | Method and Description |
|---|---|
Aggregations |
getAggregations() |
long |
getDocCount() |
long |
getDocCountError() |
InternalTerms.Bucket |
reduce(List<? extends InternalTerms.Bucket> buckets,
InternalAggregation.ReduceContext context) |
getKeyAsNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKey, getKeyAsTextprotected long docCount
protected long docCountError
protected InternalAggregations aggregations
protected boolean showDocCountError
protected Bucket(long docCount,
InternalAggregations aggregations,
boolean showDocCountError,
long docCountError)
public long getDocCount()
public long getDocCountError()
getDocCountError in class Terms.Bucketpublic Aggregations getAggregations()
public InternalTerms.Bucket reduce(List<? extends InternalTerms.Bucket> buckets, InternalAggregation.ReduceContext context)
Copyright © 2009–2016. All rights reserved.