public class MaxAggregatorFactory extends ValuesSourceAggregatorFactory<ValuesSource.Numeric,MaxAggregatorFactory>
AggregatorFactory.MultiBucketAggregatorWrapper
context, factories, metaData, name, parent
config
Constructor | Description |
---|---|
MaxAggregatorFactory(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 | 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) |
asMultiBucketAggregator, create, doValidate, getParent, name
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createInternal, timeZone
public MaxAggregatorFactory(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,MaxAggregatorFactory>
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,MaxAggregatorFactory>
java.io.IOException