Type Parameters:
J - the Java type of the literal.
P - the type of the expression.
All Superinterfaces:
ComparableExpressionTrait<P,Expression<P>>, Expression<P>, ScalarExpression<P>
All Known Implementing Classes:
BooleanLiteral, NumericLiteral, StringLiteral

@Immutable public interface Literal<J,P extends DataType> extends ComparableExpressionTrait<P,Expression<P>>
This represents a literal, we assume literal type is ordered which is sufficient for now, but this is not necessarily true, something to think about in the future.
  • Method Details

    • getValue

      @Nullable J getValue()