public class RowPersistedTSet extends RowStoredTSet
BaseTSet.StateTypestoredSource| Constructor and Description |
|---|
RowPersistedTSet(BatchEnvironment tSetEnv,
SinkFunc<Row> storingSinkFn,
int parallelism,
RowSchema inputSchema) |
| Modifier and Type | Method and Description |
|---|---|
RowPersistedTSet |
addInput(java.lang.String key,
StorableTBase<?> input)
Allows users to pass in other TSets as inputs for a TSet
|
RowCachedTSet |
cache()
Runs this TSet and caches the data to an in-memory
DataPartition and exposes the data as another TSet. |
INode |
getINode() |
RowCachedTSet |
lazyCache()
Performs caching lazily.
|
RowPersistedTSet |
lazyPersist()
Performs persisting lazily.
|
RowPersistedTSet |
persist()
Similar to cache, but the data is stored in a disk based
DataPartition. |
RowPersistedTSet |
setName(java.lang.String n)
Sets the name for the
TBase |
RowPersistedTSet |
withSchema(TupleSchema schema) |
direct, getData, getInputSchema, getStoredSourceTSet, join, partitiongetTSetEnv, pipe, withSchemagetOutputSchema, setOutputSchemaaddChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDataObjectbuildgenerateID, getTBaseGraphpublic RowPersistedTSet(BatchEnvironment tSetEnv, SinkFunc<Row> storingSinkFn, int parallelism, RowSchema inputSchema)
public RowPersistedTSet setName(java.lang.String n)
TBaseTBasesetName in interface TBasesetName in class BatchRowTSetImplpublic RowPersistedTSet addInput(java.lang.String key, StorableTBase<?> input)
AcceptingDataaddInput in interface AcceptingData<Row>addInput in class BatchRowTSetImplkey - the key used to store the given TSetinput - a StorableTBase TSet to be added as an inputpublic RowPersistedTSet withSchema(TupleSchema schema)
public RowCachedTSet cache()
StoringDataDataPartition and exposes the data as another TSet.cache in interface StoringData<Row>cache in class BatchRowTSetImplpublic RowCachedTSet lazyCache()
StoringDataTSet
is evaluated explicitly.lazyCache in interface StoringData<Row>lazyCache in class BatchRowTSetImplpublic RowPersistedTSet persist()
StoringDataDataPartition. This method would also expose the
checkpointing ability to TSets.persist in interface StoringData<Row>persist in class BatchRowTSetImplpublic RowPersistedTSet lazyPersist()
StoringDatalazyPersist in interface StoringData<Row>lazyPersist in class BatchRowTSetImplpublic INode getINode()
getINode in interface BuildableTSetgetINode in class RowStoredTSet