public class KeyedPipeTLink<K,V> extends BatchSingleLink<Tuple<K,V>>
| Constructor and Description |
|---|
KeyedPipeTLink(BatchEnvironment tSetEnv,
int sourceParallelism,
TupleSchema schema) |
| 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. |
Edge |
getEdge() |
protected KeyedSchema |
getSchema() |
KeyedCachedTSet<K,V> |
lazyCache()
Performs caching lazily.
|
KeyedPersistedTSet<K,V> |
lazyPersist()
Performs persisting lazily.
|
KeyedTSet<K,V> |
mapToTuple() |
KeyedPersistedTSet<K,V> |
persist()
Similar to cache, but the data is stored in a disk based
DataPartition. |
KeyedPipeTLink<K,V> |
setName(java.lang.String name)
Name of the TSet and return the same tlink
|
flatmap, forEach, lazyForEach, map, mapToTuplecompute, compute, compute, compute, getTSetEnv, sinkaddChildToGraph, equals, getId, getName, getSourceParallelism, getTargetParallelism, hashCode, rename, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuildgenerateID, getTBaseGraphpublic KeyedPipeTLink(BatchEnvironment tSetEnv, int sourceParallelism, TupleSchema schema)
public KeyedPipeTLink<K,V> setName(java.lang.String name)
TLinkname - nameprotected KeyedSchema getSchema()
public Edge getEdge()
public KeyedCachedTSet<K,V> lazyCache()
StoringDataTSet
is evaluated explicitly.lazyCache in interface StoringData<Tuple<K,V>>lazyCache in class BatchSingleLink<Tuple<K,V>>public KeyedCachedTSet<K,V> cache()
StoringDataDataPartition and exposes the data as another TSet.cache in interface StoringData<Tuple<K,V>>cache in class BatchSingleLink<Tuple<K,V>>public KeyedPersistedTSet<K,V> lazyPersist()
StoringDatalazyPersist in interface StoringData<Tuple<K,V>>lazyPersist in class BatchSingleLink<Tuple<K,V>>public KeyedPersistedTSet<K,V> persist()
StoringDataDataPartition. This method would also expose the
checkpointing ability to TSets.persist in interface StoringData<Tuple<K,V>>persist in class BatchSingleLink<Tuple<K,V>>