Class typed
Object
org.apache.spark.sql.expressions.javalang.typed
Deprecated.
As of release 3.0.0, please use the untyped builtin aggregate functions.
- Since:
- 2.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TypedColumn<T,
Double> avg
(MapFunction<T, Double> f) Deprecated.Average aggregate function.static <T> TypedColumn<T,
Long> count
(MapFunction<T, Object> f) Deprecated.Count aggregate function.static <T> TypedColumn<T,
Double> sum
(MapFunction<T, Double> f) Deprecated.Sum aggregate function for floating point (double) type.static <T> TypedColumn<T,
Long> sumLong
(MapFunction<T, Long> f) Deprecated.Sum aggregate function for integral (long, i.e. 64 bit integer) type.
-
Constructor Details
-
typed
public typed()Deprecated.
-
-
Method Details
-
avg
Deprecated.Average aggregate function.- Since:
- 2.0.0
-
count
Deprecated.Count aggregate function.- Since:
- 2.0.0
-
sum
Deprecated.Sum aggregate function for floating point (double) type.- Since:
- 2.0.0
-
sumLong
Deprecated.Sum aggregate function for integral (long, i.e. 64 bit integer) type.- Since:
- 2.0.0
-