public abstract class StreamingSingleLink<T> extends StreamingTLinkImpl<T,T>
Modifier and Type | Method and Description |
---|---|
<P> SComputeTSet<P,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,T> |
map(MapFunc<P,T> mapFn)
Performs elementwise map operation based on the
MapFunc provided |
<K,O> SKeyedTSet<K,O> |
mapToTuple(MapFunc<Tuple<K,O>,T> genTupleFn)
|
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,T> map(MapFunc<P,T> mapFn)
TLink
MapFunc
providedP
- output typemapFn
- map function T0 to Opublic <P> SComputeTSet<P,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