public class SourceTSet<T> extends BatchTSetImpl<T>
BaseTSet.StateType| Constructor and Description |
|---|
SourceTSet() |
SourceTSet(BatchEnvironment tSetEnv,
SourceFunc<T> src,
int parallelism) |
SourceTSet(BatchEnvironment tSetEnv,
java.lang.String name,
SourceFunc<T> src,
int parallelism) |
| Modifier and Type | Method and Description |
|---|---|
SourceTSet<T> |
addInput(java.lang.String key,
StorableTBase<?> input)
Adds data to this TSet
|
INode |
getINode() |
SourceTSet<T> |
setName(java.lang.String name)
Sets the name
|
SourceTSet<T> |
withSchema(Schema schema)
Sets the data type of the
TSet output. |
allGather, allReduce, cache, direct, gather, getTSetEnv, lazyCache, lazyPersist, mapToTuple, partition, partition, persist, pipe, reduce, replicate, union, uniongetInputSchema, getOutputSchema, setOutputSchemaaddChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuildgenerateID, getTBaseGraphpublic SourceTSet()
public SourceTSet(BatchEnvironment tSetEnv, SourceFunc<T> src, int parallelism)
public SourceTSet(BatchEnvironment tSetEnv, java.lang.String name, SourceFunc<T> src, int parallelism)
public SourceTSet<T> addInput(java.lang.String key, StorableTBase<?> input)
BatchTSetaddInput in interface AcceptingData<T>addInput in interface BatchTSet<T>addInput in class BatchTSetImpl<T>key - the key used to store the given TSetinput - a @StorableTBase TSet to be added as an inputpublic SourceTSet<T> setName(java.lang.String name)
TSetpublic SourceTSet<T> withSchema(Schema schema)
TSetTSet output. This will be used in the packers for efficient
SER-DE operations in the following TLinkswithSchema in interface TSet<T>withSchema in class BatchTSetImpl<T>schema - data type as a MessageTypeTSetpublic INode getINode()