ToXContent
, MultiBucketsAggregation.Bucket
, Range.Bucket
, HasAggregations
public static class ParsedBinaryRange.ParsedBucket extends ParsedMultiBucketAggregation.ParsedBucket implements Range.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor | Description |
---|---|
ParsedBucket() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getFrom() |
|
java.lang.String |
getFromAsString() |
|
java.lang.Object |
getKey() |
|
java.lang.String |
getKeyAsString() |
|
java.lang.Object |
getTo() |
|
java.lang.String |
getToAsString() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
getAggregations, getDocCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, getDocCount, isKeyed, keyToXContent, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyed
isFragment
public java.lang.Object getKey()
getKey
in interface MultiBucketsAggregation.Bucket
public java.lang.String getKeyAsString()
getKeyAsString
in interface MultiBucketsAggregation.Bucket
getKeyAsString
in class ParsedMultiBucketAggregation.ParsedBucket
public java.lang.Object getFrom()
getFrom
in interface Range.Bucket
public java.lang.String getFromAsString()
getFromAsString
in interface Range.Bucket
public java.lang.Object getTo()
getTo
in interface Range.Bucket
public java.lang.String getToAsString()
getToAsString
in interface Range.Bucket
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
toXContent
in class ParsedMultiBucketAggregation.ParsedBucket
java.io.IOException