Object

frameless.functions

aggregate

Related Doc: package functions

Permalink

object aggregate extends AggregateFunctions

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

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def approxCountDistinct[T](column: TypedColumn[T, _], rsd: Double): TypedAggregate[T, Long]

    Permalink

    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

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

    Permalink

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

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

    Definition Classes
    AggregateFunctions
  6. final def asInstanceOf[T0]: T0

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

    Permalink

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

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

    apache/spark

    Definition Classes
    AggregateFunctions
  8. def clone(): AnyRef

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

    Permalink

    Aggregate function: returns a list of objects with duplicates.

    Aggregate function: returns a list of objects with duplicates.

    apache/spark

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

    Permalink

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

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

    apache/spark

    Definition Classes
    AggregateFunctions
  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]]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
    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]

    Permalink

    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

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

    Permalink

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

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

    apache/spark

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

    Permalink

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

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

    apache/spark

    Definition Classes
    AggregateFunctions
  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]]

    Permalink

    Aggregate function: returns the covariance of two collumns.

    Aggregate function: returns the covariance of two collumns.

    Definition Classes
    AggregateFunctions
    Note

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

  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]]

    Permalink

    Aggregate function: returns the covariance of two columns.

    Aggregate function: returns the covariance of two columns.

    Definition Classes
    AggregateFunctions
    Note

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

  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def first[A, T](column: TypedColumn[T, A]): TypedAggregate[T, A]

    Permalink

    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

    Definition Classes
    AggregateFunctions
  21. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  24. def kurtosis[A, T](column: TypedColumn[T, A])(implicit ev: CatalystCast[A, Double]): TypedAggregate[T, Option[Double]]

    Permalink

    Aggregate function: returns the kurtosis of a column.

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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

    Definition Classes
    AggregateFunctions
  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 skewness[A, T](column: TypedColumn[T, A])(implicit ev: CatalystCast[A, Double]): TypedAggregate[T, Option[Double]]

    Permalink

    Aggregate function: returns the skewness of a column.

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

    Permalink

    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]]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
    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]]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
    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]): TypedAggregate[T, Out]

    Permalink

    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

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

    Permalink

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

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

    apache/spark

    Definition Classes
    AggregateFunctions
  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def variance[A, T](column: TypedColumn[T, A])(implicit arg0: CatalystVariance[A]): TypedAggregate[T, Double]

    Permalink

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

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

    Definition Classes
    AggregateFunctions
    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

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

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

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

Inherited from AggregateFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped