public static class HistogramAggregator.Factory extends ValuesSourceAggregatorFactory<ValuesSource.Numeric>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>
config
factories, name, parent, type
Constructor and Description |
---|
Factory(String name,
ValuesSourceConfig<ValuesSource.Numeric> config,
Rounding rounding,
org.elasticsearch.search.aggregations.bucket.histogram.InternalOrder order,
boolean keyed,
long minDocCount,
ExtendedBounds extendedBounds,
org.elasticsearch.search.aggregations.bucket.histogram.InternalHistogram.Factory<?> histogramFactory) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
create, doValidate
parent, subFactories, validate
public Factory(String name, ValuesSourceConfig<ValuesSource.Numeric> config, Rounding rounding, org.elasticsearch.search.aggregations.bucket.histogram.InternalOrder order, boolean keyed, long minDocCount, ExtendedBounds extendedBounds, org.elasticsearch.search.aggregations.bucket.histogram.InternalHistogram.Factory<?> histogramFactory)
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent)
createUnmapped
in class ValuesSourceAggregatorFactory<ValuesSource.Numeric>
protected Aggregator create(ValuesSource.Numeric valuesSource, long expectedBucketsCount, AggregationContext aggregationContext, Aggregator parent)
create
in class ValuesSourceAggregatorFactory<ValuesSource.Numeric>
Copyright © 2009–2015. All rights reserved.