T - The type of the elements that result from this SelectTransformation@Internal
public class SelectTransformation<T>
extends org.apache.flink.api.dag.Transformation<T>
SplitTransformation that
splits elements into several logical streams with assigned names.
This does not create a physical operation, it only affects how upstream operations are connected to downstream operations.
| Constructor and Description |
|---|
SelectTransformation(org.apache.flink.api.dag.Transformation<T> input,
List<String> selectedNames)
Creates a new
SelectionTransformation from the given input that only selects
the streams with the selected names. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.dag.Transformation<T> |
getInput()
Returns the input
Transformation. |
List<String> |
getSelectedNames()
Returns the names of the split streams that this
SelectTransformation selects. |
Collection<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessors() |
equals, getBufferTimeout, getCoLocationGroupKey, getId, getManagedMemoryWeight, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setCoLocationGroupKey, setManagedMemoryWeight, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, setUid, setUidHash, toStringpublic SelectTransformation(org.apache.flink.api.dag.Transformation<T> input, List<String> selectedNames)
SelectionTransformation from the given input that only selects
the streams with the selected names.input - The input TransformationselectedNames - The names from the upstream SplitTransformation that this
SelectTransformation selects.public org.apache.flink.api.dag.Transformation<T> getInput()
Transformation.public List<String> getSelectedNames()
SelectTransformation selects.public Collection<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors in class org.apache.flink.api.dag.Transformation<T>Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.