class Cast extends ExpressionWithToString
Represents a cast expression in the public logical expression API.
- Annotations
- @Evolving()
- Source
- Cast.java
- Since
3.3.0
- Alphabetic
- By Inheritance
- Cast
- ExpressionWithToString
- Serializable
- Expression
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Cast(expression: Expression, expressionDataType: DataType, targetDataType: DataType)
- new Cast(expression: Expression, dataType: DataType)
- Annotations
- @Deprecated
- Deprecated
Value Members
- def children(): Array[Expression]
Returns an array of the children of this node.
Returns an array of the children of this node. Children should not change.
- Definition Classes
- Cast → Expression
- Annotations
- @Override()
- def dataType(): DataType
- def describe(): String
Format the expression as a human readable SQL-like string.
Format the expression as a human readable SQL-like string.
- Definition Classes
- Expression
- def expression(): Expression
- def expressionDataType(): DataType
- def references(): Array[NamedReference]
List of fields or columns that are referenced by this expression.
List of fields or columns that are referenced by this expression.
- Definition Classes
- Expression
- def toString(): String
- Definition Classes
- ExpressionWithToString → AnyRef → Any