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, setRuntimeContext
public Utils.CollectHelper(String id, TypeSerializer<T> serializer)
public void open(Configuration parameters) throws Exception
open
in interface RichFunction
open
in class AbstractRichFunction
Exception
public void flatMap(T value, Collector<T> out) throws Exception
flatMap
in interface FlatMapFunction<T,T>
flatMap
in class RichFlatMapFunction<T,T>
Exception
public void close() throws Exception
close
in interface RichFunction
close
in class AbstractRichFunction
Exception
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.