Package org.apache.wayang.spark.compiler
Class MapPartitionsFunctionAdapter<InputType,OutputType>
java.lang.Object
org.apache.wayang.spark.compiler.MapPartitionsFunctionAdapter<InputType,OutputType>
- All Implemented Interfaces:
Serializable,org.apache.spark.api.java.function.FlatMapFunction<Iterator<InputType>,OutputType>
public class MapPartitionsFunctionAdapter<InputType,OutputType>
extends Object
implements org.apache.spark.api.java.function.FlatMapFunction<Iterator<InputType>,OutputType>
Wraps a
Function as a FlatMapFunction.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMapPartitionsFunctionAdapter(Function<Iterable<InputType>, Iterable<OutputType>> function) -
Method Summary
-
Constructor Details
-
MapPartitionsFunctionAdapter
-
-
Method Details
-
call
- Specified by:
callin interfaceorg.apache.spark.api.java.function.FlatMapFunction<InputType,OutputType> - Throws:
Exception
-