public class ValueCountAggregatorFactory extends ValuesSourceAggregatorFactory<ValuesSource,ValueCountAggregatorFactory>
AggregatorFactory.MultiBucketAggregatorWrappercontext, factories, metaData, name, parentconfig| Constructor | Description |
|---|---|
ValueCountAggregatorFactory(java.lang.String name,
ValuesSourceConfig<ValuesSource> config,
SearchContext context,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method | Description |
|---|---|---|
protected Aggregator |
createUnmapped(Aggregator parent,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
|
protected Aggregator |
doCreateInternal(ValuesSource valuesSource,
Aggregator parent,
boolean collectsFromSingleBucket,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
asMultiBucketAggregator, create, doValidate, getParent, nameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateInternal, timeZonepublic ValueCountAggregatorFactory(java.lang.String name,
ValuesSourceConfig<ValuesSource> config,
SearchContext context,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder,
java.util.Map<java.lang.String,java.lang.Object> metaData)
throws java.io.IOException
java.io.IOExceptionprotected Aggregator createUnmapped(Aggregator parent, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
createUnmapped in class ValuesSourceAggregatorFactory<ValuesSource,ValueCountAggregatorFactory>java.io.IOExceptionprotected Aggregator doCreateInternal(ValuesSource valuesSource, Aggregator parent, boolean collectsFromSingleBucket, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
doCreateInternal in class ValuesSourceAggregatorFactory<ValuesSource,ValueCountAggregatorFactory>java.io.IOException