public static class RangeAggregator.Factory extends ValuesSourceAggregatorFactory<ValuesSource.Numeric>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>
config
factories, name, parent, type
Constructor and Description |
---|
Factory(String name,
ValuesSourceConfig<ValuesSource.Numeric> valueSourceConfig,
InternalRange.Factory rangeFactory,
List<RangeAggregator.Range> ranges,
boolean keyed) |
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> valueSourceConfig, InternalRange.Factory rangeFactory, List<RangeAggregator.Range> ranges, boolean keyed)
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.