Interface OperandVisitor<R>

Type Parameters:
R - the return type produced by each visit method

public interface OperandVisitor<R>
Visitor over the Operand sealed hierarchy.

Implement this interface to process or transform scalar value expressions. Every permitted operand type has a dedicated visit overload.

See Also:
  • Method Details

    • visit

      R visit(AttributeOperand node)
      Visits an attribute (column) reference.
    • visit

      R visit(StringOperand node)
      Visits a string literal.
    • visit

      R visit(NumberOperand node)
      Visits a numeric literal.
    • visit

      R visit(BooleanOperand node)
      Visits a boolean literal.
    • visit

      R visit(NullOperand node)
      Visits the NULL literal written as a value.
    • visit

      R visit(DateOperand node)
      Visits a typed date literal (DATE '2026-06-15').
    • visit

      R visit(TimeOperand node)
      Visits a typed time-of-day literal (TIME '13:40:00').
    • visit

      R visit(TimestampOperand node)
      Visits a typed timestamp literal (TIMESTAMP '2026-06-15T13:40:00Z').
    • visit

      R visit(DurationOperand node)
      Visits a typed duration literal (DURATION 'PT30M').
    • visit

      Visits a binary arithmetic expression (+, −, *, /).
    • visit

      R visit(FunctionCall node)
      Visits a function call.
    • visit

      R visit(SetLiteralOperand node)
      Visits a set literal ({a, b, c}).
    • visit

      R visit(UnaryOperand node)
      Visits a unary negation expression (−operand).
    • visit

      R visit(StructConstruction node)
      Visits a struct construction ({ name: expr, … }).
    • visit

      R visit(ArrayConstruction node)
      Visits an array construction ([ expr, … ]).
    • visit

      R visit(ConditionOperand node)
      Visits a boolean-valued condition operand (a predicate in operand position).
    • visit

      R visit(CollateOperand node)
      Visits a string compared under a collation (s COLLATE NOCASE).
    • visit

      R visit(ParameterOperand node)
      Visits a bound query parameter ($name).
    • visit

      R visit(ScalarSubqueryOperand node)
      Visits a relation used as a value ((γ COUNT(*) → n (σ … (S)))).