Packages

class Cast extends ExpressionWithToString

Represents a cast expression in the public logical expression API.

Annotations
@Evolving()
Source
Cast.java
Since

3.3.0

Linear Supertypes
ExpressionWithToString, Serializable, Expression, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cast
  2. ExpressionWithToString
  3. Serializable
  4. Expression
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Cast(expression: Expression, expressionDataType: DataType, targetDataType: DataType)
  2. new Cast(expression: Expression, dataType: DataType)
    Annotations
    @Deprecated
    Deprecated

Value Members

  1. 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
    CastExpression
    Annotations
    @Override()
  2. def dataType(): DataType
  3. 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
  4. def expression(): Expression
  5. def expressionDataType(): DataType
  6. 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
  7. def toString(): String
    Definition Classes
    ExpressionWithToString → AnyRef → Any