public static class RangeAggregator.Factory extends ValuesSourceAggregatorFactory<ValuesSource.Numeric>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>configfactories, 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, doValidateparent, subFactories, validatepublic 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–2016. All rights reserved.