Class DiversifiedAggregatorFactory
- java.lang.Object
-
- org.elasticsearch.search.aggregations.AggregatorFactory<AF>
-
- org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory<ValuesSource,DiversifiedAggregatorFactory>
-
- org.elasticsearch.search.aggregations.bucket.sampler.DiversifiedAggregatorFactory
-
public class DiversifiedAggregatorFactory extends ValuesSourceAggregatorFactory<ValuesSource,DiversifiedAggregatorFactory>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.AggregatorFactory
AggregatorFactory.MultiBucketAggregatorWrapper
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
config
-
-
Method Summary
Modifier and Type Method 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)
-
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
createInternal, getConfig, timeZone
-
Methods inherited from class org.elasticsearch.search.aggregations.AggregatorFactory
asMultiBucketAggregator, create, doValidate, getParent, name
-
-
-
-
Method Detail
-
doCreateInternal
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
- Specified by:
doCreateInternal
in classValuesSourceAggregatorFactory<ValuesSource,DiversifiedAggregatorFactory>
- Throws:
java.io.IOException
-
createUnmapped
protected Aggregator createUnmapped(Aggregator parent, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
- Specified by:
createUnmapped
in classValuesSourceAggregatorFactory<ValuesSource,DiversifiedAggregatorFactory>
- Throws:
java.io.IOException
-
-