Package

org.apache.spark.sql.catalyst

expressions

Permalink

package expressions

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. expressions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AddFields(children: Seq[Expression]) extends Expression with Product with Serializable

    Permalink

    Adds/replaces fields in a struct.

    Adds/replaces fields in a struct. Returns null if struct is null. If multiple fields already exist with the one of the given fieldNames, they will all be replaced.

    Annotations
    @ExpressionDescription()
  2. case class DropFields(children: Seq[Expression]) extends Expression with Product with Serializable

    Permalink

    Drops one or more fields in struct.

    Drops one or more fields in struct. Returns null if struct is null. Returns empty struct if all fields in struct are dropped. This is a no-op if schema doesn't contain given field name(s). If there are multiple fields with one of the given names, they will all be dropped.

    Annotations
    @ExpressionDescription()
  3. case class RenameFields(children: Seq[Expression]) extends Expression with Product with Serializable

    Permalink

    Renames StructFields in StructType.

    Renames StructFields in StructType. Returns null if struct is null. This is a no-op if schema doesn't contain any fields with existingFieldNames. If there are multiple fields with existingFieldName, they will all be renamed.

    Annotations
    @ExpressionDescription()

Value Members

  1. object AddFields extends Serializable

    Permalink
  2. object DropFields extends Serializable

    Permalink
  3. val EmptyRow: InternalRow

    Permalink
  4. object RenameFields extends Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped