public static class StringTerms.Bucket extends InternalTerms.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>aggregations, docCount, docCountError, showDocCountError| Constructor and Description |
|---|
Bucket(org.apache.lucene.util.BytesRef term,
long docCount,
InternalAggregations aggregations,
boolean showDocCountError,
long docCountError) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
Number |
getKeyAsNumber() |
Text |
getKeyAsText() |
getAggregations, getDocCount, getDocCountError, reducepublic Bucket(org.apache.lucene.util.BytesRef term,
long docCount,
InternalAggregations aggregations,
boolean showDocCountError,
long docCountError)
public String getKey()
public Text getKeyAsText()
public Number getKeyAsNumber()
getKeyAsNumber in class Terms.BucketCopyright © 2009–2016. All rights reserved.