- All Implemented Interfaces:
- Serializable, FlatMapFunction<String,Tuple2<String,Integer>>, Function
- Enclosing class:
- RemoteCollectorOutputFormatExample
public static final class RemoteCollectorOutputFormatExample.LineSplitter
extends Object
implements FlatMapFunction<String,Tuple2<String,Integer>>
Implements the string tokenizer that splits sentences into words as a
user-defined FlatMapFunction. The function takes a line (String) and
splits it into multiple pairs in the form of "(word,1)" (Tuple2).
- See Also:
- Serialized Form