T
- The type of the elements that result from this SplitTransformation
@Internal public class SplitTransformation<T> extends StreamTransformation<T>
DataStream
into several DataStreams
using an OutputSelector
.
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 |
---|
SplitTransformation(StreamTransformation<T> input,
OutputSelector<T> outputSelector)
Creates a new
SplitTransformation from the given input and OutputSelector . |
Modifier and Type | Method and Description |
---|---|
StreamTransformation<T> |
getInput()
Returns the input
StreamTransformation . |
OutputSelector<T> |
getOutputSelector()
Returns the
OutputSelector . |
Collection<StreamTransformation<?>> |
getTransitivePredecessors()
Returns all transitive predecessor
StreamTransformation s of this StreamTransformation . |
void |
setChainingStrategy(ChainingStrategy strategy)
Sets the chaining strategy of this
StreamTransformation . |
equals, getBufferTimeout, getId, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, setUid, setUidHash, toString
public SplitTransformation(StreamTransformation<T> input, OutputSelector<T> outputSelector)
SplitTransformation
from the given input and OutputSelector
.input
- The input StreamTransformation
outputSelector
- The output selectorpublic StreamTransformation<T> getInput()
StreamTransformation
.public OutputSelector<T> getOutputSelector()
OutputSelector
.public Collection<StreamTransformation<?>> getTransitivePredecessors()
StreamTransformation
StreamTransformation
s 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)
StreamTransformation
StreamTransformation
.setChainingStrategy
in class StreamTransformation<T>
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.