Package org.opensearch.join.aggregations
Class ParentAggregatorFactory
java.lang.Object
org.opensearch.search.aggregations.AggregatorFactory
org.opensearch.search.aggregations.support.ValuesSourceAggregatorFactory
org.opensearch.join.aggregations.ParentAggregatorFactory
-
Field Summary
Fields inherited from class org.opensearch.search.aggregations.support.ValuesSourceAggregatorFactory
configFields inherited from class org.opensearch.search.aggregations.AggregatorFactory
factories, metadata, name, parent, queryShardContext -
Constructor Summary
ConstructorsConstructorDescriptionParentAggregatorFactory(String name, ValuesSourceConfig config, org.apache.lucene.search.Query childFilter, org.apache.lucene.search.Query parentFilter, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String, Object> metadata) -
Method Summary
Modifier and TypeMethodDescriptionprotected AggregatorcreateUnmapped(SearchContext searchContext, Aggregator parent, Map<String, Object> metadata) protected AggregatordoCreateInternal(SearchContext searchContext, Aggregator children, CardinalityUpperBound cardinality, Map<String, Object> metadata) Methods inherited from class org.opensearch.search.aggregations.support.ValuesSourceAggregatorFactory
createInternalMethods inherited from class org.opensearch.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, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String, Object> metadata) throws IOException- Throws:
IOException
-
-
Method Details
-
createUnmapped
protected Aggregator createUnmapped(SearchContext searchContext, Aggregator parent, Map<String, Object> metadata) throws IOException- Specified by:
createUnmappedin classValuesSourceAggregatorFactory- Throws:
IOException
-
doCreateInternal
protected Aggregator doCreateInternal(SearchContext searchContext, Aggregator children, CardinalityUpperBound cardinality, Map<String, Object> metadata) throws IOException- Specified by:
doCreateInternalin classValuesSourceAggregatorFactory- Throws:
IOException
-
getStatsSubtype
- Overrides:
getStatsSubtypein classValuesSourceAggregatorFactory
-