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 SummaryFields inherited from interface org.apache.spark.sql.connector.expressions.ExpressionEMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
- 
Constructor SummaryConstructorsConstructorDescriptionCast(Expression expression, DataType dataType) Deprecated.Cast(Expression expression, DataType expressionDataType, DataType targetDataType) 
- 
Method SummaryMethods inherited from class org.apache.spark.sql.internal.connector.ExpressionWithToStringdescribe, references, toString
- 
Constructor Details- 
CastDeprecated.
- 
Cast
 
- 
- 
Method Details- 
expression
- 
expressionDataType
- 
dataType
- 
childrenDescription copied from interface:ExpressionReturns an array of the children of this node. Children should not change.
- 
equals
- 
hashCodepublic int hashCode()
 
-