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, persistgetInputSchema, setOutputSchemaaddChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuildgenerateID, getTBaseGraphpublic KeyedTSet(BatchEnvironment tSetEnv, TFunction<Tuple<K,V>,?> mapFunc, int parallelism, Schema inputSchema)
TLink. Hence the input schema is a not a
KeyedSchemapublic KeyedTSet<K,V> setName(java.lang.String n)
BatchTupleTSetpublic KeyedTSet<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 ICompute getINode()