public Factory( String name, ValuesSourceConfig<NumericValuesSource> valueSourceConfig, Rounding rounding, InternalOrder order, boolean keyed, long minDocCount, AbstractHistogramBase.Factory<?> histogramFactory) { super(name, histogramFactory.type(), valueSourceConfig); this.rounding = rounding; this.order = order; this.keyed = keyed; this.minDocCount = minDocCount; this.histogramFactory = histogramFactory; }