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, 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
build
generateID, getTBaseGraph
public KeyedPipeTLink(BatchEnvironment tSetEnv, int sourceParallelism, TupleSchema schema)
public KeyedPipeTLink<K,V> setName(java.lang.String name)
TLink
name
- nameprotected KeyedSchema getSchema()
public Edge getEdge()
public KeyedCachedTSet<K,V> lazyCache()
StoringData
TSet
is evaluated explicitly.lazyCache
in interface StoringData<Tuple<K,V>>
lazyCache
in class BatchSingleLink<Tuple<K,V>>
public KeyedCachedTSet<K,V> cache()
StoringData
DataPartition
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()
StoringData
lazyPersist
in interface StoringData<Tuple<K,V>>
lazyPersist
in class BatchSingleLink<Tuple<K,V>>
public KeyedPersistedTSet<K,V> persist()
StoringData
DataPartition
. This method would also expose the
checkpointing ability to TSet
s.persist
in interface StoringData<Tuple<K,V>>
persist
in class BatchSingleLink<Tuple<K,V>>