public class RowCachedTSet extends RowStoredTSet
BaseTSet.StateTypestoredSource| Constructor and Description |
|---|
RowCachedTSet(BatchEnvironment tSetEnv,
SinkFunc<Row> sinkFunc,
int parallelism,
RowSchema inputSchema) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
RowCachedTSet |
lazyPersist()
Performs persisting lazily.
|
RowCachedTSet |
persist()
Similar to cache, but the data is stored in a disk based
DataPartition. |
RowCachedTSet |
setName(java.lang.String n)
Sets the name for the
TBase |
RowCachedTSet |
withSchema(TupleSchema schema) |
direct, getData, getInputSchema, getStoredSourceTSet, join, partitionaddInput, getTSetEnv, 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 RowCachedTSet(BatchEnvironment tSetEnv, SinkFunc<Row> sinkFunc, int parallelism, RowSchema inputSchema)
public RowCachedTSet setName(java.lang.String n)
TBaseTBasesetName in interface TBasesetName in class BatchRowTSetImplpublic RowCachedTSet 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 RowCachedTSet persist()
StoringDataDataPartition. This method would also expose the
checkpointing ability to TSets.persist in interface StoringData<Row>persist in class BatchRowTSetImplpublic RowCachedTSet lazyPersist()
StoringDatalazyPersist in interface StoringData<Row>lazyPersist in class BatchRowTSetImplpublic INode getINode()
getINode in interface BuildableTSetgetINode in class RowStoredTSet