ToXContent
, ToXContentFragment
, Aggregation
, Histogram
, MultiBucketsAggregation
public class ParsedHistogram extends ParsedMultiBucketAggregation<org.elasticsearch.search.aggregations.bucket.histogram.ParsedHistogram.ParsedBucket> implements Histogram
Aggregation.CommonFields
Histogram.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TYPED_KEYS_DELIMITER
EXTENDED_BOUNDS_FIELD, INTERVAL_FIELD, KEYED_FIELD, MIN_DOC_COUNT_FIELD, OFFSET_FIELD, ORDER_FIELD
metadata
buckets, keyed
EMPTY_PARAMS
Constructor | Description |
---|---|
ParsedHistogram() |
Modifier and Type | Method | Description |
---|---|---|
static ParsedHistogram |
fromXContent(XContentParser parser,
java.lang.String name) |
|
java.util.List<? extends Histogram.Bucket> |
getBuckets() |
|
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 Histogram.Bucket> getBuckets()
getBuckets
in interface Histogram
getBuckets
in interface MultiBucketsAggregation
public static ParsedHistogram fromXContent(XContentParser parser, java.lang.String name) throws java.io.IOException
java.io.IOException