- All Implemented Interfaces:
- Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.GenericCollectorMap<org.apache.flink.types.Record,org.apache.flink.types.Record>, org.apache.flink.api.common.functions.RichFunction
- Enclosing class:
- WordCount
public static class WordCount.TokenizeLine
extends org.apache.flink.api.java.record.functions.MapFunction
implements Serializable
Converts a Record containing one string in to multiple string/integer pairs.
The string is tokenized by whitespaces. For each token a new record is emitted,
where the token is the first field and an Integer(1) is the second field.
- See Also:
- Serialized Form