K - key typeV - data (value) typepublic abstract class StreamingTupleTSetImpl<K,V> extends BaseTSetWithSchema<V> implements StreamingTupleTSet<K,V>
BaseTSet.StateType| Modifier and Type | Method and Description |
|---|---|
KeyedSchema |
getOutputSchema() |
StreamingEnvironment |
getTSetEnv()
tset env
|
SKeyedDirectTLink<K,V> |
keyedDirect()
Direct/pipe communication
|
SKeyedPartitionTLink<K,V> |
keyedPartition(PartitionFunc<K> partitionFn)
Partitions data using a
PartitionFunc based on keys |
StreamingTupleTSetImpl<K,V> |
withSchema(TupleSchema schema)
Sets the data type of the
TupleTSet output. |
getInputSchema, setOutputSchemaaddChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetNamebuild, getINodegenerateID, getTBaseGraphpublic StreamingEnvironment getTSetEnv()
BuildablegetTSetEnv in interface BuildablegetTSetEnv in class BaseTSet<V>public SKeyedPartitionTLink<K,V> keyedPartition(PartitionFunc<K> partitionFn)
StreamingTupleTSetPartitionFunc based on keyskeyedPartition in interface StreamingTupleTSet<K,V>keyedPartition in interface TupleTSet<K,V>partitionFn - partition functionpublic SKeyedDirectTLink<K,V> keyedDirect()
TupleTSetkeyedDirect in interface TupleTSet<K,V>public StreamingTupleTSetImpl<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>schema - data type as a MessageTypeTupleTSetpublic KeyedSchema getOutputSchema()
getOutputSchema in class BaseTSetWithSchema<V>