T
- The type of the elements that result from this UnionTransformation
@Internal public class UnionTransformation<T> extends StreamTransformation<T>
StreamTransformations
.
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 |
---|
UnionTransformation(List<StreamTransformation<T>> inputs)
Creates a new
UnionTransformation from the given input StreamTransformations . |
Modifier and Type | Method and Description |
---|---|
List<StreamTransformation<T>> |
getInputs()
Returns the list of input
StreamTransformations . |
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, getCoLocationGroupKey, getId, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setCoLocationGroupKey, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, setUid, setUidHash, toString
public UnionTransformation(List<StreamTransformation<T>> inputs)
UnionTransformation
from the given input StreamTransformations
.
The input StreamTransformations
must all have the same type.
inputs
- The list of input StreamTransformations
public List<StreamTransformation<T>> getInputs()
StreamTransformations
.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–2020 The Apache Software Foundation. All rights reserved.