- All Implemented Interfaces:
- Serializable, org.apache.flink.api.common.functions.FlatMapFunction<String,PojoExample.Word>, org.apache.flink.api.common.functions.Function
- Enclosing class:
- PojoExample
public static final class PojoExample.Tokenizer
extends Object
implements org.apache.flink.api.common.functions.FlatMapFunction<String,PojoExample.Word>
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