public static class SamplerAggregator.Factory extends AggregatorFactory
Constructor and Description |
---|
SamplerAggregator.Factory(String name,
int shardSize) |
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 SamplerAggregator.Factory(String name, int shardSize)
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–2016. All rights reserved.