ToXContent
, ToXContentFragment
, Aggregation
, MultiBucketsAggregation
, Range
public class ParsedBinaryRange extends ParsedMultiBucketAggregation<ParsedBinaryRange.ParsedBucket> implements Range
Modifier and Type | Class | Description |
---|---|---|
static class |
ParsedBinaryRange.ParsedBucket |
Aggregation.CommonFields
Range.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TYPED_KEYS_DELIMITER
metadata
buckets, keyed
EMPTY_PARAMS
Constructor | Description |
---|---|
ParsedBinaryRange() |
Modifier and Type | Method | Description |
---|---|---|
static ParsedBinaryRange |
fromXContent(XContentParser parser,
java.lang.String name) |
|
java.util.List<? extends Range.Bucket> |
getBuckets() |
Return the buckets of this range aggregation.
|
java.lang.String |
getType() |
getMetaData, getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContent
declareMultiBucketAggregationFields, doXContentBody
toXContent
isFragment
public java.lang.String getType()
getType
in interface Aggregation
public java.util.List<? extends Range.Bucket> getBuckets()
Range
getBuckets
in interface MultiBucketsAggregation
getBuckets
in interface Range
public static ParsedBinaryRange fromXContent(XContentParser parser, java.lang.String name) throws java.io.IOException
java.io.IOException