Class ParentAggregatorFactory
java.lang.Object
org.elasticsearch.search.aggregations.AggregatorFactory
org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
org.elasticsearch.join.aggregations.ParentAggregatorFactory
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
config
-
Constructor Summary
ConstructorDescriptionParentAggregatorFactory
(String name, ValuesSourceConfig config, org.apache.lucene.search.Query childFilter, org.apache.lucene.search.Query parentFilter, AggregationContext context, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String, Object> metadata) -
Method Summary
Modifier and TypeMethodDescriptionprotected Aggregator
createUnmapped
(Aggregator parent, Map<String, Object> metadata) protected Aggregator
doCreateInternal
(Aggregator children, CardinalityUpperBound cardinality, Map<String, Object> metadata) Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
createInternal
Methods inherited from class org.elasticsearch.search.aggregations.AggregatorFactory
create, doValidate, getParent, name
-
Constructor Details
-
ParentAggregatorFactory
public ParentAggregatorFactory(String name, ValuesSourceConfig config, org.apache.lucene.search.Query childFilter, org.apache.lucene.search.Query parentFilter, AggregationContext context, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String, Object> metadata) throws IOException- Throws:
IOException
-
-
Method Details
-
createUnmapped
protected Aggregator createUnmapped(Aggregator parent, Map<String, Object> metadata) throws IOException- Specified by:
createUnmapped
in classValuesSourceAggregatorFactory
- Throws:
IOException
-
doCreateInternal
protected Aggregator doCreateInternal(Aggregator children, CardinalityUpperBound cardinality, Map<String, Object> metadata) throws IOException- Specified by:
doCreateInternal
in classValuesSourceAggregatorFactory
- Throws:
IOException
-
getStatsSubtype
- Overrides:
getStatsSubtype
in classValuesSourceAggregatorFactory
-