ToXContent, MultiBucketsAggregation.Bucket, Range.Bucket, HasAggregationsParsedDateRange.ParsedBucket, ParsedGeoDistance.ParsedBucketpublic static class ParsedRange.ParsedBucket extends ParsedMultiBucketAggregation.ParsedBucket implements Range.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field | Description |
|---|---|---|
protected double |
from |
|
protected java.lang.String |
fromAsString |
|
protected java.lang.String |
key |
|
protected double |
to |
|
protected java.lang.String |
toAsString |
EMPTY_PARAMS| Constructor | Description |
|---|---|
ParsedBucket() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
getFrom() |
|
java.lang.String |
getFromAsString() |
|
java.lang.String |
getKey() |
|
java.lang.String |
getKeyAsString() |
|
java.lang.Object |
getTo() |
|
java.lang.String |
getToAsString() |
|
protected static <B extends ParsedRange.ParsedBucket> |
parseRangeBucketXContent(XContentParser parser,
java.util.function.Supplier<B> bucketSupplier,
boolean keyed) |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
getAggregations, getDocCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAggregations, getDocCount, isKeyed, keyToXContent, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyedisFragmentprotected java.lang.String key
protected double from
protected java.lang.String fromAsString
protected double to
protected java.lang.String toAsString
public java.lang.String getKey()
getKey in interface MultiBucketsAggregation.Bucketpublic java.lang.String getKeyAsString()
getKeyAsString in interface MultiBucketsAggregation.BucketgetKeyAsString in class ParsedMultiBucketAggregation.ParsedBucketpublic java.lang.Object getFrom()
getFrom in interface Range.Bucketpublic java.lang.String getFromAsString()
getFromAsString in interface Range.Bucketpublic java.lang.Object getTo()
getTo in interface Range.Bucketpublic java.lang.String getToAsString()
getToAsString in interface Range.Bucketpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContenttoXContent in class ParsedMultiBucketAggregation.ParsedBucketjava.io.IOExceptionprotected static <B extends ParsedRange.ParsedBucket> B parseRangeBucketXContent(XContentParser parser, java.util.function.Supplier<B> bucketSupplier, boolean keyed) throws java.io.IOException
java.io.IOException