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, setOutputSchema
addChildToGraph, addChildToGraph, equals, getId, getInputs, getName, getParallelism, getStateType, hashCode, isMutable, rename, setMutable, setStateType, setTSetEnv, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setName
build, getINode
generateID, getTBaseGraph
public StreamingEnvironment getTSetEnv()
Buildable
getTSetEnv
in interface Buildable
getTSetEnv
in class BaseTSet<V>
public SKeyedPartitionTLink<K,V> keyedPartition(PartitionFunc<K> partitionFn)
StreamingTupleTSet
PartitionFunc
based on keyskeyedPartition
in interface StreamingTupleTSet<K,V>
keyedPartition
in interface TupleTSet<K,V>
partitionFn
- partition functionpublic SKeyedDirectTLink<K,V> keyedDirect()
TupleTSet
keyedDirect
in interface TupleTSet<K,V>
public StreamingTupleTSetImpl<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>
schema
- data type as a MessageType
TupleTSet
public KeyedSchema getOutputSchema()
getOutputSchema
in class BaseTSetWithSchema<V>