public class ParsedBinaryRange extends ParsedMultiBucketAggregation<ParsedBinaryRange.ParsedBucket> implements Range
Modifier and Type | Class and Description |
---|---|
static class |
ParsedBinaryRange.ParsedBucket |
Range.Bucket
Aggregation.CommonFields
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
buckets, keyed
metadata
TYPED_KEYS_DELIMITER
EMPTY_PARAMS
Constructor and Description |
---|
ParsedBinaryRange() |
Modifier and Type | Method and 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() |
declareMultiBucketAggregationFields, doXContentBody
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetaData, getName
isFragment, toXContent
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