Class TypeMatcher<T extends Bindable>

  • Type Parameters:
    T - the planner expression type that this matcher binds to
    All Implemented Interfaces:
    ExpressionMatcher<T>
    Direct Known Subclasses:
    QuantifierMatcher, TypeWithPredicateMatcher

    @API(EXPERIMENTAL)
    public class TypeMatcher<T extends Bindable>
    extends Object
    implements ExpressionMatcher<T>
    A matcher that is specified by the class of its expression: to match any of several types of expressions, they must all implement a common interface (which itself extends PlannerExpression). The bindings produced by this matcher provide access to a single expression only, and allow it to be accessed by the rule.