Module com.darkcollective.relix.ast
Interface PredicateVisitor<R>
- Type Parameters:
R- the return type produced by each visit method
- All Known Implementing Classes:
PredicatePrettyPrinter,PredicateValidator
public interface PredicateVisitor<R>
Visitor over the
Predicate sealed hierarchy.
Implement this interface to process or transform boolean filter conditions.
Every permitted predicate type has a dedicated visit overload.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvisit(AndPredicate node) Visits a logical conjunction (∧).visit(ComparisonPredicate node) Visits a comparison predicate (=, ≠, <, ≤, >, ≥).visit(ElementOfPredicate node) Visits a set-membership test (∈ or ∉).visit(NotPredicate node) Visits a logical negation (¬).visit(NullPredicate node) Visits a null test (= ⊥ or ≠ ⊥).visit(OrPredicate node) Visits a logical disjunction (∨).visit(PatternPredicate node) Visits a pattern-matching test (LIKE or NOT LIKE).
-
Method Details
-
visit
Visits a comparison predicate (=, ≠, <, ≤, >, ≥). -
visit
Visits a logical conjunction (∧). -
visit
Visits a logical disjunction (∨). -
visit
Visits a logical negation (¬). -
visit
Visits a null test (= ⊥ or ≠ ⊥). -
visit
Visits a set-membership test (∈ or ∉). -
visit
Visits a pattern-matching test (LIKE or NOT LIKE).
-