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