T - typepublic abstract class BatchIteratorLinkWrapper<T> extends BatchIteratorLink<T>
BatchIteratorLink that implements
StorableTBase related methods. Intended to be used with non-keyed
TLinks that would produce an Iterator| Modifier | Constructor and Description |
|---|---|
protected |
BatchIteratorLinkWrapper() |
| Modifier and Type | Method and Description |
|---|---|
CachedTSet<T> |
cache()
Runs this TSet and caches the data to an in-memory
DataPartition and exposes the data as another TSet. |
CachedTSet<T> |
lazyCache()
Performs caching lazily.
|
PersistedTSet<T> |
lazyPersist()
Performs persisting lazily.
|
PersistedTSet<T> |
persist()
Similar to cache, but the data is stored in a disk based
DataPartition. |
flatmap, forEach, lazyForEach, map, mapToTuplecompute, compute, compute, compute, getTSetEnv, sinkgetSchemaaddChildToGraph, equals, getId, getName, getSourceParallelism, getTargetParallelism, hashCode, rename, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetNamebuild, getEdgegenerateID, getTBaseGraphpublic CachedTSet<T> lazyCache()
StoringDataTSet
is evaluated explicitly.public CachedTSet<T> cache()
StoringDataDataPartition and exposes the data as another TSet.cache in interface StoringData<T>cache in class BatchTLinkImpl<java.util.Iterator<T>,T>public PersistedTSet<T> lazyPersist()
StoringDatapublic PersistedTSet<T> persist()
StoringDataDataPartition. This method would also expose the
checkpointing ability to TSets.persist in interface StoringData<T>persist in class BatchTLinkImpl<java.util.Iterator<T>,T>