public static class Utils.CollectHelper<T> extends RichFlatMapFunction<T,T>
| Constructor and Description |
|---|
Utils.CollectHelper(String id,
TypeSerializer<T> serializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flatMap(T value,
Collector<T> out) |
void |
open(Configuration parameters) |
getIterationRuntimeContext, getRuntimeContext, setRuntimeContextpublic Utils.CollectHelper(String id, TypeSerializer<T> serializer)
public void open(Configuration parameters) throws Exception
open in interface RichFunctionopen in class AbstractRichFunctionExceptionpublic void flatMap(T value, Collector<T> out) throws Exception
flatMap in interface FlatMapFunction<T,T>flatMap in class RichFlatMapFunction<T,T>Exceptionpublic void close()
throws Exception
close in interface RichFunctionclose in class AbstractRichFunctionExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.