Module org.elasticsearch.server
Class ParsedVariableWidthHistogram
java.lang.Object
org.elasticsearch.search.aggregations.ParsedAggregation
org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation<ParsedVariableWidthHistogram.ParsedBucket>
org.elasticsearch.search.aggregations.bucket.histogram.ParsedVariableWidthHistogram
- All Implemented Interfaces:
- Aggregation,- Histogram,- MultiBucketsAggregation,- ToXContent,- ToXContentFragment
public class ParsedVariableWidthHistogram
extends ParsedMultiBucketAggregation<ParsedVariableWidthHistogram.ParsedBucket>
implements Histogram
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.AggregationAggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.bucket.histogram.HistogramHistogram.BucketNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregationMultiBucketsAggregation.BucketNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
- 
Field SummaryFields inherited from class org.elasticsearch.search.aggregations.ParsedMultiBucketAggregationbuckets, keyedFields inherited from class org.elasticsearch.search.aggregations.ParsedAggregationmetadataFields inherited from interface org.elasticsearch.search.aggregations.AggregationTYPED_KEYS_DELIMITERFields inherited from interface org.elasticsearch.search.aggregations.bucket.histogram.HistogramEXTENDED_BOUNDS_FIELD, HARD_BOUNDS_FIELD, INTERVAL_FIELD, KEYED_FIELD, MIN_DOC_COUNT_FIELD, OFFSET_FIELD, ORDER_FIELDFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ParsedVariableWidthHistogramfromXContent(XContentParser parser, String name) List<? extends Histogram.Bucket>getType()Methods inherited from class org.elasticsearch.search.aggregations.ParsedMultiBucketAggregationdeclareMultiBucketAggregationFields, doXContentBodyMethods inherited from class org.elasticsearch.search.aggregations.ParsedAggregationdeclareAggregationFields, getMetadata, getName, parseDouble, setName, toXContentMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.AggregationgetMetadata, getNameMethods inherited from interface org.elasticsearch.xcontent.ToXContenttoXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragmentisFragment
- 
Constructor Details- 
ParsedVariableWidthHistogrampublic ParsedVariableWidthHistogram()
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein interface- Aggregation
- Returns:
- a string representing the type of the aggregation. This type is added to the aggregation name in the response, so that it can later be used by clients to determine type of the aggregation and parse it into the proper object.
 
- 
getBuckets- Specified by:
- getBucketsin interface- Histogram
- Specified by:
- getBucketsin interface- MultiBucketsAggregation
- Returns:
- The buckets of this histogram (each bucket representing an interval in the histogram)
 
- 
fromXContentpublic static ParsedVariableWidthHistogram fromXContent(XContentParser parser, String name) throws IOException - Throws:
- IOException
 
 
-