public static final class WordCount.Tokenizer extends Object implements FlatMapFunction<String,Tuple2<String,Integer>>
Tuple2<String, Integer>
).Constructor and Description |
---|
Tokenizer() |
Modifier and Type | Method and Description |
---|---|
void |
flatMap(String value,
Collector<Tuple2<String,Integer>> out)
The core method of the FlatMapFunction.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.