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
BatchTupleTSet s |
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, persist
getInputSchema, setOutputSchema
addChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
build
generateID, getTBaseGraph
public 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)
BatchTupleTSet
BatchTupleTSet
saddInput
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)
TupleTSet
TupleTSet
output. This will be used in the packers for efficient
SER-DE operations in the following TLink
swithSchema
in interface TupleTSet<K,V>
withSchema
in class BatchTupleTSetImpl<K,V>
schema
- data type as a MessageType
TupleTSet
public INode getINode()
public KeyedSourceTSet<K,V> setName(java.lang.String name)
BatchTupleTSet