public abstract class StreamingIteratorLink<T> extends StreamingTLinkImpl<java.util.Iterator<T>,T>
Modifier and Type | Method and Description |
---|---|
<P> SComputeTSet<P,java.util.Iterator<T>> |
flatmap(FlatMapFunc<P,T> mapFn)
Performs flat map operation based on the
FlatMapFunc provided |
void |
forEach(ApplyFunc<T> applyFunction)
Applies a function elementwise.
|
<P> SComputeTSet<P,java.util.Iterator<T>> |
map(MapFunc<P,T> mapFn)
Performs elementwise map operation based on the
MapFunc provided |
<K,V> SKeyedTSet<K,V> |
mapToTuple(MapFunc<Tuple<K,V>,T> mapToTupFn)
|
compute, compute, compute, compute, countWindow, countWindow, getTSetEnv, sink, timeWindow, timeWindow
getSchema
addChildToGraph, equals, getId, getName, getSourceParallelism, getTargetParallelism, hashCode, rename, setTSetEnv, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setName
build, getEdge
generateID, getTBaseGraph
public <P> SComputeTSet<P,java.util.Iterator<T>> map(MapFunc<P,T> mapFn)
TLink
MapFunc
providedP
- output typemapFn
- map function T0 to Opublic <P> SComputeTSet<P,java.util.Iterator<T>> flatmap(FlatMapFunc<P,T> mapFn)
TLink
FlatMapFunc
providedP
- map function to T0 to multiple elements of <O>mapFn
- map function which can produce multiple elements for a single <T0> elementpublic void forEach(ApplyFunc<T> applyFunction)
TLink
ApplyFunc
does not
return anything.applyFunction
- apply function