Class InsertFieldExtraction
java.lang.Object
org.elasticsearch.xpack.esql.rule.Rule<PhysicalPlan,PhysicalPlan>
org.elasticsearch.xpack.esql.rule.ParameterizedRule<PhysicalPlan,PhysicalPlan,LocalPhysicalOptimizerContext>
org.elasticsearch.xpack.esql.optimizer.PhysicalOptimizerRules.ParameterizedOptimizerRule<PhysicalPlan,LocalPhysicalOptimizerContext>
org.elasticsearch.xpack.esql.optimizer.rules.physical.local.InsertFieldExtraction
public class InsertFieldExtraction
extends PhysicalOptimizerRules.ParameterizedOptimizerRule<PhysicalPlan,LocalPhysicalOptimizerContext>
Materialize the concrete fields that need to be extracted from the storage until the last possible moment.
Expects the local plan to already have a projection containing the fields needed upstream.
1. add the materialization right before usage inside the local plan 2. materialize any missing fields needed further up the chain
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.xpack.esql.optimizer.PhysicalOptimizerRules.ParameterizedOptimizerRule
applyMethods inherited from class org.elasticsearch.xpack.esql.rule.ParameterizedRule
apply
-
Constructor Details
-
InsertFieldExtraction
public InsertFieldExtraction()
-
-
Method Details
-
rule
- Specified by:
rulein classPhysicalOptimizerRules.ParameterizedOptimizerRule<PhysicalPlan,LocalPhysicalOptimizerContext>
-