Class HistogramAggregationBuilder

All Implemented Interfaces:
NamedWriteable, Writeable, ToXContent, ToXContentFragment, BaseAggregationBuilder, MultiBucketAggregationBuilder

public class HistogramAggregationBuilder
extends ValuesSourceAggregationBuilder<ValuesSource,​HistogramAggregationBuilder>
implements MultiBucketAggregationBuilder
A builder for histograms on numeric fields. This builder can operate on either base numeric fields, or numeric range fields. IP range fields are unsupported, and will throw at the factory layer.