Class PushExpressionsToFieldLoad
java.lang.Object
org.elasticsearch.xpack.esql.rule.Rule<LogicalPlan,LogicalPlan>
org.elasticsearch.xpack.esql.rule.ParameterizedRule<LogicalPlan,LogicalPlan,LocalLogicalOptimizerContext>
org.elasticsearch.xpack.esql.optimizer.rules.logical.local.PushExpressionsToFieldLoad
public class PushExpressionsToFieldLoad
extends ParameterizedRule<LogicalPlan,LogicalPlan,LocalLogicalOptimizerContext>
Replaces vector similarity functions with a field attribute that applies
the similarity function during value loading, when one side of the function is a literal.
It also adds the new field function attribute to the EsRelation output, and adds a projection after it to remove it from the output.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.xpack.esql.rule.ParameterizedRule
apply
-
Constructor Details
-
PushExpressionsToFieldLoad
public PushExpressionsToFieldLoad()
-
-
Method Details
-
apply
- Specified by:
applyin classParameterizedRule<LogicalPlan,LogicalPlan, LocalLogicalOptimizerContext>
-