public static class SamplerAggregator.DiversifiedFactory extends ValuesSourceAggregatorFactory<ValuesSource>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>
config
Constructor and Description |
---|
SamplerAggregator.DiversifiedFactory(String name,
int shardSize,
String executionHint,
ValuesSourceConfig vsConfig,
int maxDocsPerValue) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
doCreateInternal(ValuesSource valuesSource,
AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
createInternal, doValidate
asMultiBucketAggregator, create, name, parent, setMetaData, subFactories, validate
public SamplerAggregator.DiversifiedFactory(String name, int shardSize, String executionHint, ValuesSourceConfig vsConfig, int maxDocsPerValue)
protected Aggregator doCreateInternal(ValuesSource valuesSource, AggregationContext context, Aggregator parent, boolean collectsFromSingleBucket, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
doCreateInternal
in class ValuesSourceAggregatorFactory<ValuesSource>
IOException
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
createUnmapped
in class ValuesSourceAggregatorFactory<ValuesSource>
IOException
Copyright © 2009–2016. All rights reserved.