Class

frameless

TypedAggregateAndColumn

Related Doc: package frameless

Permalink

sealed class TypedAggregateAndColumn[T, A, U] extends TypedColumn[T, U] with TypedAggregate[T, A]

Expression used both in groupBy and select-like constructions.

T

type of dataset

A

type of column for groupBy

U

type of column for select

Linear Supertypes
TypedAggregate[T, A], TypedColumn[T, U], UntypedExpression[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedAggregateAndColumn
  2. TypedAggregate
  3. TypedColumn
  4. UntypedExpression
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypedAggregateAndColumn(column: Column)(implicit aencoder: TypedEncoder[A], uencoder: TypedEncoder[U])

    Permalink
  2. new TypedAggregateAndColumn(expr: Expression)(implicit aencoder: TypedEncoder[A], uencoder: TypedEncoder[U])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(u: U)(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Multiplication of this expression a constant.

    Multiplication of this expression a constant.

    // The following multiplies a person's height by their weight.
    people.select( people.col('height) * people.col('weight) )

    apache/spark

    Definition Classes
    TypedColumn
  4. def *(u: TypedColumn[T, U])(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Multiplication of this expression and another expression.

    Multiplication of this expression and another expression.

    // The following multiplies a person's height by their weight.
    people.select( people.col('height) * people.col('weight) )

    apache/spark

    Definition Classes
    TypedColumn
  5. def +(u: U)(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Sum of this expression (column) with a constant.

    Sum of this expression (column) with a constant.

    // The following selects the sum of a person's height and weight.
    people.select( people('height) + 2 )
    u

    a constant of the same type apache/spark

    Definition Classes
    TypedColumn
  6. def +(u: TypedColumn[T, U])(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Sum of this expression and another expression.

    Sum of this expression and another expression.

    // The following selects the sum of a person's height and weight.
    people.select( people.col('height) + people.col('weight) )

    apache/spark

    Definition Classes
    TypedColumn
  7. def -(u: U)(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Subtraction.

    Subtraction. Subtract the other expression from this expression.

    // The following selects the difference between people's height and their weight.
    people.select( people('height) - 1 )
    u

    a constant of the same type apache/spark

    Definition Classes
    TypedColumn
  8. def -(u: TypedColumn[T, U])(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Subtraction.

    Subtraction. Subtract the other expression from this expression.

    // The following selects the difference between people's height and their weight.
    people.select( people.col('height) - people.col('weight) )

    apache/spark

    Definition Classes
    TypedColumn
  9. def /(u: U)(implicit n: CatalystNumeric[U]): TypedColumn[T, Double]

    Permalink

    Division this expression by another expression.

    Division this expression by another expression.

    // The following divides a person's height by their weight.
    people.select( people('height) / 2 )
    u

    a constant of the same type apache/spark

    Definition Classes
    TypedColumn
  10. def /(u: TypedColumn[T, U])(implicit n: CatalystNumeric[U]): TypedColumn[T, Double]

    Permalink

    Division this expression by another expression.

    Division this expression by another expression.

    // The following divides a person's height by their weight.
    people.select( people('height) / people('weight) )
    u

    another column of the same type apache/spark

    Definition Classes
    TypedColumn
  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def ===(other: TypedColumn[T, U]): TypedColumn[T, Boolean]

    Permalink

    Equality test.

    Equality test.

    df.filter( df.col('a) === df.col('b) )

    apache/spark

    Definition Classes
    TypedColumn
  13. def ===(other: U): TypedColumn[T, Boolean]

    Permalink

    Equality test.

    Equality test.

    df.filter( df.col('a) === 1 )

    apache/spark

    Definition Classes
    TypedColumn
  14. implicit val aencoder: TypedEncoder[A]

    Permalink
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def cast[A](implicit arg0: TypedEncoder[A], c: CatalystCast[U, A]): TypedColumn[T, A]

    Permalink

    Casts the column to a different type.

    Casts the column to a different type.

    df.select(df('a).cast[Int])
    Definition Classes
    TypedColumn
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def divide(u: TypedColumn[T, U])(implicit n: CatalystNumeric[U]): TypedColumn[T, Double]

    Permalink

    Division this expression by another expression.

    Division this expression by another expression.

    // The following divides a person's height by their weight.
    people.select( people('height) / people('weight) )
    u

    another column of the same type apache/spark

    Definition Classes
    TypedColumn
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. val expr: Expression

    Permalink
    Definition Classes
    TypedColumnUntypedExpression
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def minus(u: TypedColumn[T, U])(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Subtraction.

    Subtraction. Subtract the other expression from this expression.

    // The following selects the difference between people's height and their weight.
    people.select( people.col('height) minus people.col('weight) )

    apache/spark

    Definition Classes
    TypedColumn
  27. def multiply(u: TypedColumn[T, U])(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Multiplication of this expression and another expression.

    Multiplication of this expression and another expression.

    // The following multiplies a person's height by their weight.
    people.select( people.col('height) multiply people.col('weight) )

    apache/spark

    Definition Classes
    TypedColumn
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def plus(u: TypedColumn[T, U])(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Sum of this expression and another expression.

    Sum of this expression and another expression.

    // The following selects the sum of a person's height and weight.
    people.select( people.col('height) plus people.col('weight) )

    apache/spark

    Definition Classes
    TypedColumn
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. implicit val uencoder: TypedEncoder[U]

    Permalink
    Definition Classes
    TypedColumn
  35. def unary_-(implicit n: CatalystNumeric[U]): TypedColumn[T, U]

    Permalink

    Unary minus, i.e.

    Unary minus, i.e. negate the expression.

    // Select the amount column and negates all values.
    df.select( -df('amount) )

    apache/spark

    Definition Classes
    TypedColumn
  36. def untyped: Column

    Permalink

    Fall back to an untyped Column

    Fall back to an untyped Column

    Definition Classes
    TypedColumn
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TypedAggregate[T, A]

Inherited from TypedColumn[T, U]

Inherited from UntypedExpression[T]

Inherited from AnyRef

Inherited from Any

Ungrouped