public class TermsAggregatorFactory extends ValuesSourceAggregatorFactory<ValuesSource>
Modifier and Type | Class and Description |
---|---|
static class |
TermsAggregatorFactory.ExecutionMode |
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>
config
Constructor and Description |
---|
TermsAggregatorFactory(String name,
ValuesSourceConfig config,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
IncludeExclude includeExclude,
String executionHint,
Aggregator.SubAggCollectionMode executionMode,
boolean showTermDocCountError) |
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 aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
createInternal, doValidate
asMultiBucketAggregator, create, name, parent, setMetaData, subFactories, validate
public TermsAggregatorFactory(String name, ValuesSourceConfig config, Terms.Order order, TermsAggregator.BucketCountThresholds bucketCountThresholds, IncludeExclude includeExclude, String executionHint, Aggregator.SubAggCollectionMode executionMode, boolean showTermDocCountError)
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
createUnmapped
in class ValuesSourceAggregatorFactory<ValuesSource>
IOException
protected Aggregator doCreateInternal(ValuesSource valuesSource, AggregationContext aggregationContext, Aggregator parent, boolean collectsFromSingleBucket, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
doCreateInternal
in class ValuesSourceAggregatorFactory<ValuesSource>
IOException
Copyright © 2009–2016. All rights reserved.