public abstract class KeyedBatchIteratorLinkWrapper<K,V> extends BatchIteratorLink<Tuple<K,V>>
Modifier | Constructor and Description |
---|---|
protected |
KeyedBatchIteratorLinkWrapper() |
Modifier and Type | Method and Description |
---|---|
KeyedCachedTSet<K,V> |
cache()
Runs this TSet and caches the data to an in-memory
DataPartition and exposes the data as another TSet. |
protected KeyedSchema |
getSchema() |
KeyedCachedTSet<K,V> |
lazyCache()
Performs caching lazily.
|
KeyedPersistedTSet<K,V> |
lazyPersist()
Performs persisting lazily.
|
KeyedPersistedTSet<K,V> |
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
addChildToGraph, equals, getId, getName, getSourceParallelism, getTargetParallelism, hashCode, rename, setTSetEnv, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setName
build, getEdge
generateID, getTBaseGraph
public KeyedCachedTSet<K,V> lazyCache()
StoringData
TSet
is evaluated explicitly.public KeyedCachedTSet<K,V> cache()
StoringData
DataPartition
and exposes the data as another TSet.public KeyedPersistedTSet<K,V> lazyPersist()
StoringData
public KeyedPersistedTSet<K,V> persist()
StoringData
DataPartition
. This method would also expose the
checkpointing ability to TSet
s.protected KeyedSchema getSchema()