Class PreMapper
java.lang.Object
org.elasticsearch.xpack.esql.planner.premapper.PreMapper
The class is responsible for invoking any premapping steps that need to be applied to the logical plan,
before this is being mapped to a physical one.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpreMapper(Versioned<LogicalPlan> plan, ActionListener<LogicalPlan> listener) Invokes any premapping steps that need to be applied to the logical plan, before this is being mapped to a physical one.
-
Constructor Details
-
PreMapper
-
-
Method Details
-
preMapper
Invokes any premapping steps that need to be applied to the logical plan, before this is being mapped to a physical one.The plan is passed as a
Versionedso that the minimum transport version of the cluster is available here, even though the current query rewrites do not need it. Should the pre-mapper's query rewrites ever be refactored in a way that is not backwards compatible, the minimum version can be used to gate the new behavior. SeeVersionedfor the broader rationale.
-