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, validatepublic 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 AggregatorFactoryIOExceptionCopyright © 2009–2017. All rights reserved.