Module org.elasticsearch.compute
Interface LookupEnrichQueryGenerator
- All Known Implementing Classes:
QueryList
public interface LookupEnrichQueryGenerator
An interface to generates queries for the lookup and enrich operators.
This interface is used to retrieve queries based on a position index.
-
Method Summary
Modifier and TypeMethodDescriptiondefault BulkKeywordLookupReturns a BulkKeywordLookup if applicable, null otherwise.intgetPositionCount(Page inputPage) Returns the number of queries in this generator.org.apache.lucene.search.QuerygetQuery(int position, Page inputPage, SearchExecutionContext searchExecutionContext) Returns the query at the given position.
-
Method Details
-
getQuery
@Nullable org.apache.lucene.search.Query getQuery(int position, Page inputPage, SearchExecutionContext searchExecutionContext) Returns the query at the given position. -
getPositionCount
Returns the number of queries in this generator. -
getBulkKeywordLookup
Returns a BulkKeywordLookup if applicable, null otherwise.
-