public class KeyedSourceTSet<K,V> extends BatchTupleTSetImpl<K,V>
BaseTSet.StateType| Constructor and Description |
|---|
KeyedSourceTSet(BatchEnvironment tSetEnv,
SourceFunc<Tuple<K,V>> src,
int parallelism) |
KeyedSourceTSet(BatchEnvironment tSetEnv,
java.lang.String name,
SourceFunc<Tuple<K,V>> src,
int parallelism) |
| Modifier and Type | Method and Description |
|---|---|
KeyedSourceTSet<K,V> |
addInput(java.lang.String key,
StorableTBase<?> input)
Adds inputs to
BatchTupleTSets |
INode |
getINode() |
KeyedSourceTSet<K,V> |
setName(java.lang.String name)
Name of the tset
|
KeyedSourceTSet<K,V> |
withSchema(TupleSchema schema)
Sets the data type of the
TupleTSet output. |
cache, getOutputSchema, getTSetEnv, join, join, keyedDirect, keyedGather, keyedGather, keyedGather, keyedGatherUngrouped, keyedGatherUngrouped, keyedGatherUngrouped, keyedPartition, keyedPipe, keyedReduce, lazyCache, lazyPersist, persistgetInputSchema, setOutputSchemaaddChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuildgenerateID, getTBaseGraphpublic KeyedSourceTSet(BatchEnvironment tSetEnv, SourceFunc<Tuple<K,V>> src, int parallelism)
public KeyedSourceTSet(BatchEnvironment tSetEnv, java.lang.String name, SourceFunc<Tuple<K,V>> src, int parallelism)
public KeyedSourceTSet<K,V> addInput(java.lang.String key, StorableTBase<?> input)
BatchTupleTSetBatchTupleTSetsaddInput in interface AcceptingData<Tuple<K,V>>addInput in interface BatchTupleTSet<K,V>addInput in class BatchTupleTSetImpl<K,V>key - identifier for the inputinput - input tsetpublic KeyedSourceTSet<K,V> withSchema(TupleSchema schema)
TupleTSetTupleTSet output. This will be used in the packers for efficient
SER-DE operations in the following TLinkswithSchema in interface TupleTSet<K,V>withSchema in class BatchTupleTSetImpl<K,V>schema - data type as a MessageTypeTupleTSetpublic INode getINode()
public KeyedSourceTSet<K,V> setName(java.lang.String name)
BatchTupleTSet