Interface Operand

All Known Implementing Classes:
ArrayConstruction, AttributeOperand, BinaryArithmeticExpression, BooleanOperand, ConditionOperand, DateOperand, DurationOperand, FunctionCall, NumberOperand, SetLiteralOperand, StringOperand, StructConstruction, TimeOperand, TimestampOperand, UnaryOperand

Root sealed interface for scalar value expressions used in projections and predicates.

Operands include column references (AttributeOperand), literals (NumberOperand, StringOperand, BooleanOperand, and the typed temporal literals DateOperand, TimeOperand, TimestampOperand, DurationOperand), arithmetic expressions (BinaryArithmeticExpression, UnaryOperand), function invocations (FunctionCall), and set literals (SetLiteralOperand).

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    <R> R
    accept(OperandVisitor<R> visitor)
     
    Returns the source location of the first token of this operand.
  • Method Details

    • accept

      <R> R accept(OperandVisitor<R> visitor)
    • location

      SourceLocation location()
      Returns the source location of the first token of this operand.