T - The type of the elements that this source produces@Internal public class LegacySourceTransformation<T> extends PhysicalTransformation<T> implements WithBoundedness
Transformation of any topology.| Constructor and Description |
|---|
LegacySourceTransformation(String name,
StreamOperatorFactory<T> operatorFactory,
org.apache.flink.api.common.typeinfo.TypeInformation<T> outputType,
int parallelism,
org.apache.flink.api.connector.source.Boundedness boundedness) |
LegacySourceTransformation(String name,
StreamSource<T,?> operator,
org.apache.flink.api.common.typeinfo.TypeInformation<T> outputType,
int parallelism,
org.apache.flink.api.connector.source.Boundedness boundedness)
Creates a new
LegacySourceTransformation from the given operator. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.connector.source.Boundedness |
getBoundedness()
Returns the
Boundedness of this Transformation. |
List<org.apache.flink.api.dag.Transformation<?>> |
getInputs() |
StreamSource<T,?> |
getOperator() |
StreamOperatorFactory<T> |
getOperatorFactory()
Returns the
StreamOperatorFactory of this LegacySourceTransformation. |
List<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessors() |
void |
setChainingStrategy(ChainingStrategy strategy)
Sets the chaining strategy of this
Transformation. |
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getBufferTimeout, getCoLocationGroupKey, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setCoLocationGroupKey, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, setUid, setUidHash, toString, updateManagedMemoryStateBackendUseCasepublic LegacySourceTransformation(String name, StreamSource<T,?> operator, org.apache.flink.api.common.typeinfo.TypeInformation<T> outputType, int parallelism, org.apache.flink.api.connector.source.Boundedness boundedness)
LegacySourceTransformation from the given operator.name - The name of the LegacySourceTransformation, this will be shown in
Visualizations and the Logoperator - The StreamSource that is the operator of this TransformationoutputType - The type of the elements produced by this LegacySourceTransformationparallelism - The parallelism of this LegacySourceTransformationpublic LegacySourceTransformation(String name, StreamOperatorFactory<T> operatorFactory, org.apache.flink.api.common.typeinfo.TypeInformation<T> outputType, int parallelism, org.apache.flink.api.connector.source.Boundedness boundedness)
public org.apache.flink.api.connector.source.Boundedness getBoundedness()
WithBoundednessBoundedness of this Transformation.getBoundedness in interface WithBoundedness@VisibleForTesting public StreamSource<T,?> getOperator()
public StreamOperatorFactory<T> getOperatorFactory()
StreamOperatorFactory of this LegacySourceTransformation.public List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors in class org.apache.flink.api.dag.Transformation<T>public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
getInputs in class org.apache.flink.api.dag.Transformation<T>public final void setChainingStrategy(ChainingStrategy strategy)
PhysicalTransformationTransformation.setChainingStrategy in class PhysicalTransformation<T>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.