public static class ScriptedMetricAggregator.Factory extends AggregatorFactory
Constructor and Description |
---|
ScriptedMetricAggregator.Factory(String name,
Script initScript,
Script mapScript,
Script combineScript,
Script reduceScript,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
asMultiBucketAggregator, create, doValidate, name, parent, setMetaData, subFactories, validate
public Aggregator createInternal(AggregationContext context, Aggregator parent, boolean collectsFromSingleBucket, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
createInternal
in class AggregatorFactory
IOException
Copyright © 2009–2017. All rights reserved.