Interface Literal<T>

Type Parameters:
T - the JVM type of value held by the literal
All Superinterfaces:
Expression
All Known Implementing Classes:
LiteralDTO, Literals.LiteralImpl

@Evolving public interface Literal<T> extends Expression
Represents a constant literal value in the public expression API.
  • Method Details

    • value

      T value()
      Returns:
      The literal value.
    • dataType

      Type dataType()
      Returns:
      The data type of the literal.
    • children

      default Expression[] children()
      Specified by:
      children in interface Expression
      Returns:
      An array of the children of this node. Children should not change.