T - The type of the elements that result from this PartitionTransformation@Internal public class PartitionTransformation<T> extends StreamTransformation<T>
This does not create a physical operation, it only affects how upstream operations are connected to downstream operations.
bufferTimeout, id, idCounter, name, outputType, typeUsed| Constructor and Description |
|---|
PartitionTransformation(StreamTransformation<T> input,
StreamPartitioner<T> partitioner)
Creates a new
PartitionTransformation from the given input and
StreamPartitioner. |
| Modifier and Type | Method and Description |
|---|---|
StreamTransformation<T> |
getInput()
Returns the input
StreamTransformation of this SinkTransformation. |
StreamPartitioner<T> |
getPartitioner()
Returns the
StreamPartitioner that must be used for partitioning the elements
of the input StreamTransformation. |
Collection<StreamTransformation<?>> |
getTransitivePredecessors()
Returns all transitive predecessor
StreamTransformations of this StreamTransformation. |
void |
setChainingStrategy(ChainingStrategy strategy)
Sets the chaining strategy of this
StreamTransformation. |
equals, getBufferTimeout, getId, getName, getNewNodeId, getOutputType, getParallelism, getSlotSharingGroup, getUid, hashCode, setBufferTimeout, setName, setOutputType, setParallelism, setSlotSharingGroup, setUid, toStringpublic PartitionTransformation(StreamTransformation<T> input, StreamPartitioner<T> partitioner)
PartitionTransformation from the given input and
StreamPartitioner.input - The input StreamTransformationpartitioner - The StreamPartitionerpublic StreamTransformation<T> getInput()
StreamTransformation of this SinkTransformation.public StreamPartitioner<T> getPartitioner()
StreamPartitioner that must be used for partitioning the elements
of the input StreamTransformation.public Collection<StreamTransformation<?>> getTransitivePredecessors()
StreamTransformationStreamTransformations of this StreamTransformation. This
is, for example, used when determining whether a feedback edge of an iteration
actually has the iteration head as a predecessor.getTransitivePredecessors in class StreamTransformation<T>public final void setChainingStrategy(ChainingStrategy strategy)
StreamTransformationStreamTransformation.setChainingStrategy in class StreamTransformation<T>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.