Package org.apache.wayang.spark.compiler
Class FunctionCompiler.Reducer<Type>
- java.lang.Object
-
- org.apache.wayang.spark.compiler.FunctionCompiler.Reducer<Type>
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.spark.api.java.function.Function2<Type,Type,Type>
,FunctionCompiler.WayangSparkFunction
- Enclosing class:
- FunctionCompiler
public static class FunctionCompiler.Reducer<Type> extends java.lang.Object implements org.apache.spark.api.java.function.Function2<Type,Type,Type>, FunctionCompiler.WayangSparkFunction
Spark function for aggregating data quanta.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
call(Type i0, Type i1)
java.lang.Object
getWayangFunction()
-
-
-
Constructor Detail
-
Reducer
public Reducer(java.util.function.BinaryOperator<Type> impl)
-
-
Method Detail
-
getWayangFunction
public java.lang.Object getWayangFunction()
- Specified by:
getWayangFunction
in interfaceFunctionCompiler.WayangSparkFunction
- Returns:
- the original code object as has been defined in the Wayang API
-
-