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
A
PhysicalTransformation for Source.-
Field Summary
Fields inherited from class org.apache.flink.api.dag.Transformation
bufferTimeout, description, id, name, outputType, typeUsed, UPPER_BOUND_MAX_PARALLELISM -
Constructor Summary
ConstructorsConstructorDescriptionSourceTransformation(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
Modifier and TypeMethodDescriptionorg.apache.flink.api.connector.source.BoundednessReturns theBoundednessof thisTransformation.List<org.apache.flink.api.dag.Transformation<?>>protected List<org.apache.flink.api.dag.Transformation<?>>org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT>voidsetChainingStrategy(ChainingStrategy chainingStrategy) Sets the chaining strategy of thisTransformation.voidsetCoordinatorListeningID(String coordinatorListeningID) Methods inherited from class org.apache.flink.streaming.api.transformations.TransformationWithLineage
getLineageVertex, setLineageVertexMethods inherited from class org.apache.flink.streaming.api.transformations.PhysicalTransformation
isSupportsConcurrentExecutionAttempts, setSupportsConcurrentExecutionAttemptsMethods inherited from class org.apache.flink.api.dag.Transformation
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, enableAsyncState, 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 Details
-
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 Details
-
getSource
-
getWatermarkStrategy
-
getBoundedness
public org.apache.flink.api.connector.source.Boundedness getBoundedness()Description copied from interface:WithBoundednessReturns theBoundednessof thisTransformation.- Specified by:
getBoundednessin interfaceWithBoundedness
-
getTransitivePredecessorsInternal
- Specified by:
getTransitivePredecessorsInternalin classorg.apache.flink.api.dag.Transformation<OUT>
-
getInputs
- Specified by:
getInputsin classorg.apache.flink.api.dag.Transformation<OUT>
-
setChainingStrategy
Description copied from class:PhysicalTransformationSets the chaining strategy of thisTransformation.- Specified by:
setChainingStrategyin classPhysicalTransformation<OUT>
-
getChainingStrategy
-
setCoordinatorListeningID
-
getCoordinatorListeningID
-