Class SourceTransformation<OUT,SplitT extends org.apache.flink.api.connector.source.SourceSplit,EnumChkT>
- java.lang.Object
-
- org.apache.flink.api.dag.Transformation<T>
-
- org.apache.flink.streaming.api.transformations.PhysicalTransformation<T>
-
- org.apache.flink.streaming.api.transformations.TransformationWithLineage<OUT>
-
- org.apache.flink.streaming.api.transformations.SourceTransformation<OUT,SplitT,EnumChkT>
-
- All Implemented Interfaces:
WithBoundedness
@Internal public class SourceTransformation<OUT,SplitT extends org.apache.flink.api.connector.source.SourceSplit,EnumChkT> extends TransformationWithLineage<OUT> implements WithBoundedness
APhysicalTransformationforSource.
-
-
Constructor Summary
Constructors Constructor Description SourceTransformation(String name, org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism)Creates a newTransformationwith the given name, output type and parallelism.SourceTransformation(String name, org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism, boolean parallelismConfigured)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.api.connector.source.BoundednessgetBoundedness()Returns theBoundednessof thisTransformation.ChainingStrategygetChainingStrategy()StringgetCoordinatorListeningID()List<org.apache.flink.api.dag.Transformation<?>>getInputs()org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT>getSource()protected List<org.apache.flink.api.dag.Transformation<?>>getTransitivePredecessorsInternal()org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT>getWatermarkStrategy()voidsetChainingStrategy(ChainingStrategy chainingStrategy)Sets the chaining strategy of thisTransformation.voidsetCoordinatorListeningID(String coordinatorListeningID)-
Methods inherited from class org.apache.flink.streaming.api.transformations.TransformationWithLineage
getLineageVertex, setLineageVertex
-
Methods inherited from class org.apache.flink.streaming.api.transformations.PhysicalTransformation
isSupportsConcurrentExecutionAttempts, setSupportsConcurrentExecutionAttempts
-
Methods inherited from class org.apache.flink.api.dag.Transformation
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getAttribute, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getTransitivePredecessors, getUid, getUserProvidedNodeHash, hashCode, isParallelismConfigured, setAttribute, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setParallelism, setResources, setSlotSharingGroup, setSlotSharingGroup, setUid, setUidHash, toString, updateManagedMemoryStateBackendUseCase
-
-
-
-
Constructor Detail
-
SourceTransformation
public SourceTransformation(String name, org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism)
Creates a newTransformationwith the given name, output type and parallelism.- Parameters:
name- The name of theTransformation, this will be shown in Visualizations and the Logsource- TheSourceitselfwatermarkStrategy- TheWatermarkStrategyto useoutputType- The output type of thisTransformationparallelism- The parallelism of thisTransformation
-
SourceTransformation
public SourceTransformation(String name, org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism, boolean parallelismConfigured)
-
-
Method Detail
-
getWatermarkStrategy
public org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> getWatermarkStrategy()
-
getBoundedness
public org.apache.flink.api.connector.source.Boundedness getBoundedness()
Description copied from interface:WithBoundednessReturns theBoundednessof thisTransformation.- Specified by:
getBoundednessin interfaceWithBoundedness
-
getTransitivePredecessorsInternal
protected List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessorsInternal()
- Specified by:
getTransitivePredecessorsInternalin classorg.apache.flink.api.dag.Transformation<OUT>
-
getInputs
public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
- Specified by:
getInputsin classorg.apache.flink.api.dag.Transformation<OUT>
-
setChainingStrategy
public void setChainingStrategy(ChainingStrategy chainingStrategy)
Description copied from class:PhysicalTransformationSets the chaining strategy of thisTransformation.- Specified by:
setChainingStrategyin classPhysicalTransformation<OUT>
-
getChainingStrategy
public ChainingStrategy getChainingStrategy()
-
setCoordinatorListeningID
public void setCoordinatorListeningID(@Nullable String coordinatorListeningID)
-
getCoordinatorListeningID
@Nullable public String getCoordinatorListeningID()
-
-