public static final class SideOutputExample.Tokenizer extends org.apache.flink.streaming.api.functions.ProcessFunction<String,org.apache.flink.api.java.tuple.Tuple2<String,Integer>>
Tuple2<String,
Integer>).
This rejects words that are longer than 5 characters long.
| Constructor and Description |
|---|
Tokenizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
processElement(String value,
org.apache.flink.streaming.api.functions.ProcessFunction.Context ctx,
org.apache.flink.util.Collector<org.apache.flink.api.java.tuple.Tuple2<String,Integer>> out) |
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.