Module com.darkcollective.relix.ast
Interface PredicateVisitor<R>
- Type Parameters:
R- the return type produced by each visit method
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(ExistsPredicate node) Visits a test for a relation's having a row (EXISTS (…)).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).visit(QuantifiedPredicate node) Visits a comparison with every value of a relation (x > ALL (…)).
-
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). -
visit
Visits a test for a relation's having a row (EXISTS (…)). -
visit
Visits a comparison with every value of a relation (x > ALL (…)).
-