@Internal public class SourceTransformation<OUT> extends PhysicalTransformation<OUT>
PhysicalTransformation for Source.| 构造器和说明 |
|---|
SourceTransformation(String name,
SourceOperatorFactory<OUT> sourceFactory,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType,
int parallelism)
Creates a new
Transformation with the given name, output type and parallelism. |
| 限定符和类型 | 方法和说明 |
|---|---|
SourceOperatorFactory<OUT> |
getOperatorFactory()
Returns the
StreamOperatorFactory of this LegacySourceTransformation. |
Collection<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessors() |
void |
setChainingStrategy(ChainingStrategy strategy)
Sets the chaining strategy of this
Transformation. |
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 SourceTransformation(String name, SourceOperatorFactory<OUT> sourceFactory, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism)
Transformation with the given name, output type and parallelism.name - The name of the Transformation, this will be shown in Visualizations and
the LogsourceFactory - The operator factory for SourceOperator.outputType - The output type of this Transformationparallelism - The parallelism of this Transformationpublic SourceOperatorFactory<OUT> getOperatorFactory()
StreamOperatorFactory of this LegacySourceTransformation.public Collection<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors 在类中 org.apache.flink.api.dag.Transformation<OUT>public final void setChainingStrategy(ChainingStrategy strategy)
PhysicalTransformationTransformation.setChainingStrategy 在类中 PhysicalTransformation<OUT>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.