Class AdjustMatchRule
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.PlannerRule<PartialMatch>
-
- com.apple.foundationdb.record.query.plan.temp.rules.AdjustMatchRule
-
@API(EXPERIMENTAL) public class AdjustMatchRule extends PlannerRule<PartialMatch>
A rule that attempts to improve an existingPartialMatch
by absorbing an expression on the candidate side. Currently the only such expression that can be absorbed isMatchableSortExpression
. TODO Maybe that expression should just be a generic property-defining expression or properties should be kept on quantifiers. It is special in a way that there is no corresponding expression on the query side that is subsumed by that expression. Absorbing such a candidate-side-only expression into the match allows us to fine-tune interesting provided properties guaranteed by the candidate side.
-
-
Constructor Summary
Constructors Constructor Description AdjustMatchRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onMatch(PlannerRuleCall call)
-
Methods inherited from class com.apple.foundationdb.record.query.plan.temp.PlannerRule
getMatcher, getRootOperator, toString
-
-
-
-
Method Detail
-
onMatch
public void onMatch(@Nonnull PlannerRuleCall call)
- Specified by:
onMatch
in classPlannerRule<PartialMatch>
-
-