Class MultiValuesSourceAggregatorFactory
org.elasticsearch.search.aggregations.AggregatorFactory
org.elasticsearch.search.aggregations.support.MultiValuesSourceAggregatorFactory
-
Field Summary
-
Constructor Summary
ConstructorDescriptionname, <,ValuesSourceConfig> configs, DocValueFormat format, AggregationContext context, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, <,> metadata)
-
Method Summary
Modifier and TypeMethodDescriptioncreateInternal(Aggregator parent, CardinalityUpperBound cardinality, <,> metadata)
protected abstract Aggregator
createUnmapped(Aggregator parent, <,> metadata)
Create an aggregator that won't collect anything but will return an appropriate empty aggregation.protected abstract Aggregator
<,ValuesSourceConfig> configs, DocValueFormat format, Aggregator parent, CardinalityUpperBound cardinality, <,> metadata)
Create the Aggregator.Methods inherited from class org.elasticsearch.search.aggregations.AggregatorFactory
create, doValidate, getParent, getStatsSubtype, name
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Field Details
-
configs
-
format
-
-
Constructor Details
-
MultiValuesSourceAggregatorFactory
public MultiValuesSourceAggregatorFactory( name, <,ValuesSourceConfig> configs, DocValueFormat format, AggregationContext context, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, <,> metadata) throws- Throws:
-
-
Method Details
-
createInternal
public Aggregator createInternal(Aggregator parent, CardinalityUpperBound cardinality, <,> metadata) throws- Specified by:
createInternal
in classAggregatorFactory
- Throws:
-
createUnmapped
Create an aggregator that won't collect anything but will return an appropriate empty aggregation.- Throws:
-
doCreateInternal
protected abstract <,ValuesSourceConfig> configs, DocValueFormat format, Aggregator parent, CardinalityUpperBound cardinality, <,> metadata) throwsCreate the Aggregator.- Parameters:
cardinality
- Upper bound of the number ofowningBucketOrd
s that theAggregator
created by this method will be asked to collect.- Throws:
-