public static final class PojoExample.Tokenizer extends Object implements FlatMapFunction<String,PojoExample.Word>
Tuple2<String,
Integer>
).Constructor and Description |
---|
Tokenizer() |
Modifier and Type | Method and Description |
---|---|
void |
flatMap(String value,
Collector<PojoExample.Word> out)
The core method of the FlatMapFunction.
|
public void flatMap(String value, Collector<PojoExample.Word> out)
FlatMapFunction
flatMap
in interface FlatMapFunction<String,PojoExample.Word>
value
- The input value.out
- The collector for returning result values.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.