Class SumFunction
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.aggregation.SumFunction
-
- All Implemented Interfaces:
Serializable
@Internal public abstract class SumFunction extends Object implements Serializable
Internal function for summing up contents of fields. This is used withSumAggregator
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SumFunction()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Object
add(Object o1, Object o2)
static SumFunction
getForClass(Class<?> clazz)
-
-
-
Method Detail
-
getForClass
public static SumFunction getForClass(Class<?> clazz)
-
-