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, reduce
public 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.Bucket
Copyright © 2009–2015. All rights reserved.