Packages

trait Transform extends Expression

Represents a transform function in the public logical expression API.

For example, the transform date(ts) is used to derive a date value from a timestamp column. The transform name is "date" and its argument is a reference to the "ts" column.

Annotations
@Evolving()
Source
Transform.java
Since

3.0.0

Linear Supertypes
Expression, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transform
  2. Expression
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def arguments(): Array[Expression]

    Returns the arguments passed to the transform function.

  2. abstract def name(): String

    Returns the transform function name.

Concrete 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
    TransformExpression
    Annotations
    @Override()
  2. 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
  3. 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