Class PredicatePrettyPrinter

java.lang.Object
com.darkcollective.relix.ast.visitor.internal.PredicatePrettyPrinter
All Implemented Interfaces:
PredicateVisitor<String>

public final class PredicatePrettyPrinter extends Object implements PredicateVisitor<String>
Formats a Predicate as a Unicode relational algebra string.

Uses Unicode logical and comparison symbols: ∧ (and), ∨ (or), ¬ (not), ∈/∉ (set membership), ⊥ (null), and = ≠ < ≤ > ≥ for comparisons. Binary predicates are parenthesised ((left) ∧ (right)) to make associativity unambiguous when nested.

Operand formatting is delegated to OperandPrettyPrinter.