public abstract class BatchIteratorLink<T> extends BatchTLinkImpl<java.util.Iterator<T>,T>
| Modifier | Constructor and Description |
|---|---|
protected |
BatchIteratorLink() |
| Modifier and Type | Method and Description |
|---|---|
<P> ComputeTSet<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.
|
ComputeTSet<java.lang.Object,java.util.Iterator<T>> |
lazyForEach(ApplyFunc<T> applyFunction) |
<P> ComputeTSet<P,java.util.Iterator<T>> |
map(MapFunc<P,T> mapFn)
Performs elementwise map operation based on the
MapFunc provided |
<K,V> KeyedTSet<K,V> |
mapToTuple(MapFunc<Tuple<K,V>,T> mapToTupFn)
|
cache, compute, compute, compute, compute, getTSetEnv, persist, sinkgetSchemaaddChildToGraph, equals, getId, getName, getSourceParallelism, getTargetParallelism, hashCode, rename, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetNamelazyCache, lazyPersistbuild, getEdgegenerateID, getTBaseGraphpublic <P> ComputeTSet<P,java.util.Iterator<T>> map(MapFunc<P,T> mapFn)
TLinkMapFunc providedP - output typemapFn - map function T0 to Opublic <P> ComputeTSet<P,java.util.Iterator<T>> flatmap(FlatMapFunc<P,T> mapFn)
TLinkFlatMapFunc providedP - map function to T0 to multiple elements of <O>mapFn - map function which can produce multiple elements for a single <T0> elementpublic <K,V> KeyedTSet<K,V> mapToTuple(MapFunc<Tuple<K,V>,T> mapToTupFn)
TLinkpublic ComputeTSet<java.lang.Object,java.util.Iterator<T>> lazyForEach(ApplyFunc<T> applyFunction)