K - key typeV - value typepublic interface TupleTSet<K,V> extends TBase
TupleTSet will be followed by a Keyed TLink that
would expose keyed communication operations.
Note the extensions of this interface
BatchTupleTSet and
StreamingTupleTSet. These would intimately
separate out the operations based on the OperationMode
of the data flow graph.
This interface only specifies the common operations for Batch and Streaming operations.| Modifier and Type | Method and Description |
|---|---|
TLink<?,?> |
keyedDirect()
Direct/pipe communication
|
TLink<?,?> |
keyedPartition(PartitionFunc<K> partitionFn)
Partitions data using a
PartitionFunc based on keys |
TupleTSet<K,V> |
setName(java.lang.String name)
Set the name of the set
|
TupleTSet<K,V> |
withSchema(TupleSchema schema)
Sets the data type of the
TupleTSet output. |
TLink<?,?> keyedPartition(PartitionFunc<K> partitionFn)
PartitionFunc based on keyspartitionFn - partition functionTLink<?,?> keyedDirect()
TupleTSet<K,V> withSchema(TupleSchema schema)
TupleTSet output. This will be used in the packers for efficient
SER-DE operations in the following TLinksschema - data type as a MessageTypeTupleTSet