T - The type of the elements that this source produces@Internal public class LegacySourceTransformation<T> extends PhysicalTransformation<T> implements WithBoundedness
Transformation of any topology.| 构造器和说明 |
|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
setBoundedness(org.apache.flink.api.connector.source.Boundedness boundedness)
Mutable for legacy sources in the Table API.
|
void |
setChainingStrategy(ChainingStrategy strategy)
Sets the chaining strategy of this
Transformation. |
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, 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 void setBoundedness(org.apache.flink.api.connector.source.Boundedness boundedness)
public org.apache.flink.api.connector.source.Boundedness getBoundedness()
WithBoundednessBoundedness of this Transformation.getBoundedness 在接口中 WithBoundedness@VisibleForTesting public StreamSource<T,?> getOperator()
public StreamOperatorFactory<T> getOperatorFactory()
StreamOperatorFactory of this LegacySourceTransformation.public List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors 在类中 org.apache.flink.api.dag.Transformation<T>public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
getInputs 在类中 org.apache.flink.api.dag.Transformation<T>public final void setChainingStrategy(ChainingStrategy strategy)
PhysicalTransformationTransformation.setChainingStrategy 在类中 PhysicalTransformation<T>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.