K - tset key typepublic class KeyedCheckpointedTSet<K,V> extends KeyedPersistedTSet<K,V>
KeyedPersistedTSet to add the checkpointing capability. It does not have
the sink that would store the data, because the purpose of this tset is to expose the data
that was stored by a KeyedPersistedTSet.
When this tset is executed, it would wrap DiskPartitionBackedSource from
DiskPartitionBackedSourceWrapper and return a CheckpointedSourceOp as the
INode for the underlying task.
BaseTSet.StateTypestoredSource| Constructor and Description |
|---|
KeyedCheckpointedTSet(BatchEnvironment tSetEnv,
DiskPartitionBackedSource<Tuple<K,V>> sourceFn,
int parallelism,
KeyedSchema inputSchema) |
| Modifier and Type | Method and Description |
|---|---|
INode |
getINode()
Reuses the
DiskPartitionBackedSourceWrapper from non-keyed operations because there
will be no keyed writes to edges. |
KeyedSourceTSet<K,V> |
getStoredSourceTSet()
retrieve data saved in the TSet
|
addInput, cache, lazyCache, lazyPersist, persist, setName, withSchemagetData, getInputSchema, join, join, keyedDirect, keyedGather, keyedGather, keyedGather, keyedGatherUngrouped, keyedGatherUngrouped, keyedGatherUngrouped, keyedPartition, keyedPipe, keyedReducegetOutputSchema, getTSetEnvsetOutputSchemaaddChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDataObjectbuildgenerateID, getTBaseGraphpublic KeyedCheckpointedTSet(BatchEnvironment tSetEnv, DiskPartitionBackedSource<Tuple<K,V>> sourceFn, int parallelism, KeyedSchema inputSchema)
public KeyedSourceTSet<K,V> getStoredSourceTSet()
StorableTBasegetStoredSourceTSet in interface StorableTBase<Tuple<K,V>>getStoredSourceTSet in class KeyedStoredTSet<K,V>public INode getINode()
DiskPartitionBackedSourceWrapper from non-keyed operations because there
will be no keyed writes to edges. This will only expose the
DataPartition that will be called by the
TaskExecutorgetINode in interface BuildableTSetgetINode in class KeyedStoredTSet<K,V>