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) |
subFactoriescreateInternal, doValidateasMultiBucketAggregator, create, name, parent, setMetaData, validatepublic 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>IOExceptionprotected 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>IOExceptionCopyright © 2009–2017. All rights reserved.