public static class ValueCountAggregator.Factory<VS extends ValuesSource> extends ValuesSourceAggregatorFactory.LeafOnly<VS>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>
config
Constructor and Description |
---|
ValueCountAggregator.Factory(String name,
ValuesSourceConfig<VS> config) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
doCreateInternal(VS valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
subFactories
createInternal, doValidate
asMultiBucketAggregator, create, name, parent, setMetaData, validate
public ValueCountAggregator.Factory(String name, ValuesSourceConfig<VS> config)
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
createUnmapped
in class ValuesSourceAggregatorFactory<VS extends ValuesSource>
IOException
protected Aggregator doCreateInternal(VS valuesSource, AggregationContext aggregationContext, Aggregator parent, boolean collectsFromSingleBucket, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
doCreateInternal
in class ValuesSourceAggregatorFactory<VS extends ValuesSource>
IOException
Copyright © 2009–2016. All rights reserved.