package expressions
Type Members
- trait Expression extends AnyRef
Base class of the public logical expression API.
Base class of the public logical expression API.
- Annotations
- @Evolving()
- Since
3.0.0
- class Expressions extends AnyRef
Helper methods to create logical transforms to pass into Spark.
Helper methods to create logical transforms to pass into Spark.
- Annotations
- @Evolving()
- Since
3.0.0
- trait Literal[T] extends Expression
Represents a constant literal value in the public expression API.
Represents a constant literal value in the public expression API.
The JVM type of the value held by a literal must be the type used by Spark's InternalRow API for the literal's
SQL data type.- Annotations
- @Evolving()
- Since
3.0.0
- trait NamedReference extends Expression
Represents a field or column reference in the public logical expression API.
Represents a field or column reference in the public logical expression API.
- Annotations
- @Evolving()
- Since
3.0.0
- sealed abstract final class NullOrdering extends Enum[NullOrdering]
A null order used in sorting expressions.
A null order used in sorting expressions.
- Annotations
- @Experimental()
- Since
3.2.0
- sealed abstract final class SortDirection extends Enum[SortDirection]
A sort direction used in sorting expressions.
A sort direction used in sorting expressions.
Each direction has a default null ordering that is implied if no null ordering is specified explicitly.
- Annotations
- @Experimental()
- Since
3.2.0
- trait SortOrder extends Expression
Represents a sort order in the public expression API.
Represents a sort order in the public expression API.
- Annotations
- @Experimental()
- Since
3.2.0
- trait Transform extends Expression
Represents a transform function in the public logical expression API.
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()
- Since
3.0.0