public static class TwitterStreaming.SelectDataFlatMap extends JSONParseFlatMap<String,Tuple5<Long,Integer,String,String,String>>
Constructor and Description |
---|
SelectDataFlatMap() |
Modifier and Type | Method and Description |
---|---|
void |
flatMap(String value,
Collector<Tuple5<Long,Integer,String,String,String>> out)
The core method of the FlatMapFunction.
|
get, getBoolean, getDouble, getInt, getLong, getString
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContext
public void flatMap(String value, Collector<Tuple5<Long,Integer,String,String,String>> out) throws Exception
FlatMapFunction
flatMap
in interface FlatMapFunction<String,Tuple5<Long,Integer,String,String,String>>
flatMap
in class RichFlatMapFunction<String,Tuple5<Long,Integer,String,String,String>>
value
- The input value.out
- The collector for returning result values.Exception
- This method may throw exceptions. Throwing an exception will cause the operation
to fail and may trigger recovery.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.