@API(value=EXPERIMENTAL) public class PickFromPossibilitiesRule extends PlannerRule<RelationalGroupRefHolder>
RelationalGroupRefHolder
's FixedCollectionExpressionRef
and selects the "best" one using some embedded heuristic. Currently, it selects the one that contains the fewest
FieldWithComparison
s, as a proxy for the number of
unimplemented filters.PlannerRule.ChangesMade
Constructor and Description |
---|
PickFromPossibilitiesRule() |
Modifier and Type | Method and Description |
---|---|
PlannerRule.ChangesMade |
onMatch(PlannerRuleCall call) |
getMatcher, getRootOperator, toString
@Nonnull public PlannerRule.ChangesMade onMatch(@Nonnull PlannerRuleCall call)
onMatch
in class PlannerRule<RelationalGroupRefHolder>