Class Cast
Object
org.apache.spark.sql.internal.connector.ExpressionWithToString
org.apache.spark.sql.connector.expressions.Cast
- All Implemented Interfaces:
Serializable
,Expression
@Evolving
public class Cast
extends org.apache.spark.sql.internal.connector.ExpressionWithToString
Represents a cast expression in the public logical expression API.
- Since:
- 3.3.0
- See Also:
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
-
Constructor Summary
ConstructorDescriptionCast
(Expression expression, DataType dataType) Deprecated.Cast
(Expression expression, DataType expressionDataType, DataType targetDataType) -
Method Summary
Methods inherited from class org.apache.spark.sql.internal.connector.ExpressionWithToString
describe, references, toString
-
Constructor Details
-
Cast
Deprecated. -
Cast
-
-
Method Details
-
expression
-
expressionDataType
-
dataType
-
children
Description copied from interface:Expression
Returns an array of the children of this node. Children should not change.
-