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
.
Modifier and Type | Method and Description |
---|---|
DataType |
dataType()
Returns the SQL data type of the literal.
|
T |
value()
Returns the literal value.
|
describe