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, doValidateasMultiBucketAggregator, create, name, parent, setMetaData, subFactories, validatepublic 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>IOExceptionprotected Aggregator doCreateInternal(ValuesSource valuesSource, AggregationContext aggregationContext, Aggregator parent, boolean collectsFromSingleBucket, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
doCreateInternal in class ValuesSourceAggregatorFactory<ValuesSource>IOExceptionCopyright © 2009–2017. All rights reserved.