T - the JVM type of a value held by the literal@Evolving public interface Literal<T> extends Expression
The JVM type of the value held by a literal must be the type used by Spark's InternalRow API for
the literal's SQL data type.
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE| Modifier and Type | Method and Description |
|---|---|
default Expression[] |
children()
Returns an array of the children of this node.
|
DataType |
dataType()
Returns the SQL data type of the literal.
|
T |
value()
Returns the literal value.
|
describe, referencesT value()
DataType dataType()
default Expression[] children()
Expressionchildren in interface Expression