public class TermsAggregatorFactory extends ValuesSourceAggregatorFactory<ValuesSource,TermsAggregatorFactory>
Modifier and Type | Class and Description |
---|---|
static class |
TermsAggregatorFactory.ExecutionMode |
AggregatorFactory.MultiBucketAggregatorWrapper
config
Constructor and Description |
---|
TermsAggregatorFactory(java.lang.String name,
ValuesSourceConfig<ValuesSource> config,
Terms.Order order,
IncludeExclude includeExclude,
java.lang.String executionHint,
Aggregator.SubAggCollectionMode collectMode,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
boolean showTermDocCountError,
SearchContext context,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
createUnmapped(Aggregator parent,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
protected Aggregator |
doCreateInternal(ValuesSource valuesSource,
Aggregator parent,
boolean collectsFromSingleBucket,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
createInternal, timeZone
asMultiBucketAggregator, create, doValidate, getParent, name, validate
public TermsAggregatorFactory(java.lang.String name, ValuesSourceConfig<ValuesSource> config, Terms.Order order, IncludeExclude includeExclude, java.lang.String executionHint, Aggregator.SubAggCollectionMode collectMode, TermsAggregator.BucketCountThresholds bucketCountThresholds, boolean showTermDocCountError, SearchContext context, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
java.io.IOException
protected Aggregator createUnmapped(Aggregator parent, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
createUnmapped
in class ValuesSourceAggregatorFactory<ValuesSource,TermsAggregatorFactory>
java.io.IOException
protected Aggregator doCreateInternal(ValuesSource valuesSource, Aggregator parent, boolean collectsFromSingleBucket, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
doCreateInternal
in class ValuesSourceAggregatorFactory<ValuesSource,TermsAggregatorFactory>
java.io.IOException