t

frameless.functions

AggregateFunctions

trait AggregateFunctions extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AggregateFunctions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def approxCountDistinct[T](column: TypedColumn[T, _], rsd: Double): TypedAggregate[T, Long]

    Aggregate function: returns the approximate number of distinct items in a group.

    Aggregate function: returns the approximate number of distinct items in a group.

    rsd

    maximum estimation error allowed (default = 0.05) apache/spark

  5. def approxCountDistinct[T](column: TypedColumn[T, _]): TypedAggregate[T, Long]

    Aggregate function: returns the approximate number of distinct items in a group.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def avg[A, T, Out](column: TypedColumn[T, A])(implicit averageable: CatalystAverageable[A, Out], oencoder: TypedEncoder[Out]): TypedAggregate[T, Out]

    Aggregate function: returns the average of the values in a group.

    Aggregate function: returns the average of the values in a group.

    apache/spark

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def collectList[T, A](column: TypedColumn[T, A])(implicit arg0: TypedEncoder[A]): TypedAggregate[T, Vector[A]]

    Aggregate function: returns a list of objects with duplicates.

    Aggregate function: returns a list of objects with duplicates.

    apache/spark

  10. def collectSet[T, A](column: TypedColumn[T, A])(implicit arg0: TypedEncoder[A]): TypedAggregate[T, Vector[A]]

    Aggregate function: returns a set of objects with duplicate elements eliminated.

    Aggregate function: returns a set of objects with duplicate elements eliminated.

    apache/spark

  11. def corr[A, B, T](column1: TypedColumn[T, A], column2: TypedColumn[T, B])(implicit i0: CatalystCast[A, Double], i1: CatalystCast[B, Double]): TypedAggregate[T, Option[Double]]

    Aggregate function: returns the Pearson Correlation Coefficient for two columns.

    Aggregate function: returns the Pearson Correlation Coefficient for two columns.

    Note

    In Spark corr always returns Double https://github.com/apache/spark/blob/4a3c09601ba69f7d49d1946bb6f20f5cfe453031/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/Corr.scala#L95 apache/spark

  12. def count[T](column: TypedColumn[T, _]): TypedAggregate[T, Long]

    Aggregate function: returns the number of items in a group for which the selected column is not null.

    Aggregate function: returns the number of items in a group for which the selected column is not null.

    apache/spark

  13. def count[T](): TypedAggregate[T, Long]

    Aggregate function: returns the number of items in a group.

    Aggregate function: returns the number of items in a group.

    apache/spark

  14. def countDistinct[T](column: TypedColumn[T, _]): TypedAggregate[T, Long]

    Aggregate function: returns the number of distinct items in a group.

    Aggregate function: returns the number of distinct items in a group.

    apache/spark

  15. def covarPop[A, B, T](column1: TypedColumn[T, A], column2: TypedColumn[T, B])(implicit i0: CatalystCast[A, Double], i1: CatalystCast[B, Double]): TypedAggregate[T, Option[Double]]

    Aggregate function: returns the covariance of two collumns.

  16. def covarSamp[A, B, T](column1: TypedColumn[T, A], column2: TypedColumn[T, B])(implicit i0: CatalystCast[A, Double], i1: CatalystCast[B, Double]): TypedAggregate[T, Option[Double]]

    Aggregate function: returns the covariance of two columns.

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. def first[A, T](column: TypedColumn[T, A]): TypedAggregate[T, A]

    Aggregate function: returns the first value in a group.

    Aggregate function: returns the first value in a group.

    The function by default returns the first values it sees. It will return the first non-null value it sees when ignoreNulls is set to true. If all values are null, then null is returned.

    apache/spark

  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def kurtosis[A, T](column: TypedColumn[T, A])(implicit ev: CatalystCast[A, Double]): TypedAggregate[T, Option[Double]]

    Aggregate function: returns the kurtosis of a column.

  25. def last[A, T](column: TypedColumn[T, A]): TypedAggregate[T, A]

    Aggregate function: returns the last value in a group.

    Aggregate function: returns the last value in a group.

    The function by default returns the last values it sees. It will return the last non-null value it sees when ignoreNulls is set to true. If all values are null, then null is returned.

    apache/spark

  26. def max[A, T](column: TypedColumn[T, A])(implicit arg0: CatalystOrdered[A]): TypedAggregate[T, A]

    Aggregate function: returns the maximum value of the column in a group.

    Aggregate function: returns the maximum value of the column in a group.

    apache/spark

  27. def min[A, T](column: TypedColumn[T, A])(implicit arg0: CatalystOrdered[A]): TypedAggregate[T, A]

    Aggregate function: returns the minimum value of the column in a group.

    Aggregate function: returns the minimum value of the column in a group.

    apache/spark

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def skewness[A, T](column: TypedColumn[T, A])(implicit ev: CatalystCast[A, Double]): TypedAggregate[T, Option[Double]]

    Aggregate function: returns the skewness of a column.

  32. def stddev[A, T](column: TypedColumn[T, A])(implicit arg0: CatalystVariance[A]): TypedAggregate[T, Double]

    Aggregate function: returns the sample standard deviation.

  33. def stddevPop[A, T](column: TypedColumn[T, A])(implicit ev: CatalystCast[A, Double]): TypedAggregate[T, Option[Double]]

    Aggregate function: returns the standard deviation of a column by population.

    Aggregate function: returns the standard deviation of a column by population.

    Note

    In Spark stddev always returns Double https://github.com/apache/spark/blob/4a3c09601ba69f7d49d1946bb6f20f5cfe453031/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/CentralMomentAgg.scala#L143 apache/spark

  34. def stddevSamp[A, T](column: TypedColumn[T, A])(implicit ev: CatalystCast[A, Double]): TypedAggregate[T, Option[Double]]

    Aggregate function: returns the standard deviation of a column by sample.

    Aggregate function: returns the standard deviation of a column by sample.

    Note

    In Spark stddev always returns Double https://github.com/apache/spark/blob/4a3c09601ba69f7d49d1946bb6f20f5cfe453031/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/CentralMomentAgg.scala#L160 apache/spark

  35. def sum[A, T, Out](column: TypedColumn[T, A])(implicit summable: CatalystSummable[A, Out], oencoder: TypedEncoder[Out], aencoder: TypedEncoder[A]): TypedAggregate[T, Out]

    Aggregate function: returns the sum of all values in the given column.

    Aggregate function: returns the sum of all values in the given column.

    apache/spark

  36. def sumDistinct[A, T, Out](column: TypedColumn[T, A])(implicit summable: CatalystSummable[A, Out], oencoder: TypedEncoder[Out], aencoder: TypedEncoder[A]): TypedAggregate[T, Out]

    Aggregate function: returns the sum of distinct values in the column.

    Aggregate function: returns the sum of distinct values in the column.

    apache/spark

    Annotations
    @nowarn()
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def variance[A, T](column: TypedColumn[T, A])(implicit arg0: CatalystVariance[A]): TypedAggregate[T, Double]

    Aggregate function: returns the unbiased variance of the values in a group.

    Aggregate function: returns the unbiased variance of the values in a group.

    Note

    In Spark variance always returns Double https://github.com/apache/spark/blob/4a3c09601ba69f7d49d1946bb6f20f5cfe453031/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/CentralMomentAgg.scala#186 apache/spark

  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped