Object
org.apache.spark.sql.expressions.scalalang.typed

public class typed extends Object
Deprecated.
please use untyped builtin aggregate functions. Since 3.0.0.
Type-safe functions available for Dataset operations in Scala.

Java users should use typed.

Since:
2.0.0
  • Constructor Details

    • typed

      public typed()
      Deprecated.
  • Method Details

    • avg

      public static <IN> TypedColumn<IN,Object> avg(scala.Function1<IN,Object> f)
      Deprecated.
      Average aggregate function.

      Parameters:
      f - (undocumented)
      Returns:
      (undocumented)
      Since:
      2.0.0
    • count

      public static <IN> TypedColumn<IN,Object> count(scala.Function1<IN,Object> f)
      Deprecated.
      Count aggregate function.

      Parameters:
      f - (undocumented)
      Returns:
      (undocumented)
      Since:
      2.0.0
    • sum

      public static <IN> TypedColumn<IN,Object> sum(scala.Function1<IN,Object> f)
      Deprecated.
      Sum aggregate function for floating point (double) type.

      Parameters:
      f - (undocumented)
      Returns:
      (undocumented)
      Since:
      2.0.0
    • sumLong

      public static <IN> TypedColumn<IN,Object> sumLong(scala.Function1<IN,Object> f)
      Deprecated.
      Sum aggregate function for integral (long, i.e. 64 bit integer) type.

      Parameters:
      f - (undocumented)
      Returns:
      (undocumented)
      Since:
      2.0.0