Class ValueLiteralExpression

java.lang.Object
org.apache.flink.table.expressions.ValueLiteralExpression
All Implemented Interfaces:
Expression, ResolvedExpression

@PublicEvolving public final class ValueLiteralExpression extends Object implements ResolvedExpression
Expression for constant literal values.

By design, this class can take any value described by a DataType. However, it is recommended to use instances with default conversion (see DataType.getConversionClass().

Equals/hashCode support of this expression depends on the equals/hashCode support of the value.

The data type can be extracted automatically from non-null values using value-based extraction (see ValueDataTypeConverter).

Symbols (enums extending from TableSymbol) are considered as literal values.