K
- key typeV
- data (value) typepublic class KeyedTSet<K,V> extends BatchTupleTSetImpl<K,V>
BaseTSet.StateType
Constructor and Description |
---|
KeyedTSet(BatchEnvironment tSetEnv,
TFunction<Tuple<K,V>,?> mapFunc,
int parallelism,
Schema inputSchema)
NOTE: KeyedTSets input usually comes from a non keyed
TLink . |
Modifier and Type | Method and Description |
---|---|
ICompute |
getINode() |
KeyedTSet<K,V> |
setName(java.lang.String n)
Name of the tset
|
KeyedTSet<K,V> |
withSchema(TupleSchema schema)
Sets the data type of the
TupleTSet output. |
addInput, 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 KeyedTSet(BatchEnvironment tSetEnv, TFunction<Tuple<K,V>,?> mapFunc, int parallelism, Schema inputSchema)
TLink
. Hence the input schema is a not a
KeyedSchema
public KeyedTSet<K,V> setName(java.lang.String n)
BatchTupleTSet
public KeyedTSet<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 ICompute getINode()