public abstract static class ParsedTerms.ParsedBucket extends ParsedMultiBucketAggregation.ParsedBucket implements Terms.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
protected long |
docCountError |
EMPTY_PARAMS
Constructor and Description |
---|
ParsedBucket() |
Modifier and Type | Method and Description |
---|---|
int |
compareTerm(Terms.Bucket other) |
long |
getDocCountError() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
getAggregations, getDocCount, getKeyAsString, isKeyed, keyToXContent, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyAsNumber
getAggregations, getDocCount, getKey, getKeyAsString
isFragment
public int compareTerm(Terms.Bucket other)
compareTerm
in interface Terms.Bucket
public long getDocCountError()
getDocCountError
in interface Terms.Bucket
public final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
toXContent
in class ParsedMultiBucketAggregation.ParsedBucket
java.io.IOException