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, mapToTuple
compute, compute, compute, compute, getTSetEnv, sink
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 CachedTSet<T> lazyCache()
StoringData
TSet
is evaluated explicitly.public CachedTSet<T> cache()
StoringData
DataPartition
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()
StoringData
public PersistedTSet<T> persist()
StoringData
DataPartition
. This method would also expose the
checkpointing ability to TSet
s.persist
in interface StoringData<T>
persist
in class BatchTLinkImpl<java.util.Iterator<T>,T>