Class ExpressionQueryList
java.lang.Object
org.elasticsearch.xpack.esql.enrich.ExpressionQueryList
- All Implemented Interfaces:
LookupEnrichQueryGenerator
A
LookupEnrichQueryGenerator that combines multiple conditions into a single query list.
Each query in the resulting query will be a conjunction of all queries from the input lists at the same position.
In addition, we support an optional pre-join filter that will be applied to all queries if it is pushable.
If the pre-join filter cannot be pushed down to Lucene, it will be ignored.-
Constructor Summary
ConstructorsConstructorDescriptionExpressionQueryList(List<QueryList> queryLists, SearchExecutionContext context, PhysicalPlan rightPreJoinPlan, ClusterService clusterService) -
Method Summary
-
Constructor Details
-
ExpressionQueryList
public ExpressionQueryList(List<QueryList> queryLists, SearchExecutionContext context, PhysicalPlan rightPreJoinPlan, ClusterService clusterService)
-
-
Method Details
-
getQuery
public org.apache.lucene.search.Query getQuery(int position) - Specified by:
getQueryin interfaceLookupEnrichQueryGenerator
-
getPositionCount
public int getPositionCount()- Specified by:
getPositionCountin interfaceLookupEnrichQueryGenerator
-