public class MinAggregatorFactory extends ValuesSourceAggregatorFactory<ValuesSource.Numeric,MinAggregatorFactory>
AggregatorFactory.MultiBucketAggregatorWrapper
config
Constructor and Description |
---|
MinAggregatorFactory(java.lang.String name,
ValuesSourceConfig<ValuesSource.Numeric> config,
SearchContext context,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
Modifier and Type | Method and 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.Numeric valuesSource,
Aggregator parent,
boolean collectsFromSingleBucket,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
createInternal, timeZone
asMultiBucketAggregator, create, doValidate, getParent, name, validate
public MinAggregatorFactory(java.lang.String name, ValuesSourceConfig<ValuesSource.Numeric> config, SearchContext context, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
java.io.IOException
protected 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.Numeric,MinAggregatorFactory>
java.io.IOException
protected Aggregator doCreateInternal(ValuesSource.Numeric 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.Numeric,MinAggregatorFactory>
java.io.IOException