@Internal public class SourceTransformation<OUT,SplitT extends org.apache.flink.api.connector.source.SourceSplit,EnumChkT> extends PhysicalTransformation<OUT> implements WithBoundedness
PhysicalTransformation for Source.| Constructor and 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 new
Transformation with 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) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.connector.source.Boundedness |
getBoundedness()
Returns the
Boundedness of this Transformation. |
ChainingStrategy |
getChainingStrategy() |
String |
getCoordinatorListeningID() |
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() |
void |
setChainingStrategy(ChainingStrategy chainingStrategy)
Sets the chaining strategy of this
Transformation. |
void |
setCoordinatorListeningID(String coordinatorListeningID) |
isSupportsConcurrentExecutionAttempts, setSupportsConcurrentExecutionAttemptsdeclareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getTransitivePredecessors, getUid, getUserProvidedNodeHash, hashCode, isParallelismConfigured, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setParallelism, setResources, setSlotSharingGroup, setSlotSharingGroup, setUid, setUidHash, toString, toStringWithoutId, updateManagedMemoryStateBackendUseCasepublic 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)
Transformation with the given name, output type and parallelism.name - The name of the Transformation, this will be shown in Visualizations and
the Logsource - The Source itselfwatermarkStrategy - The WatermarkStrategy to useoutputType - The output type of this Transformationparallelism - The parallelism of this Transformationpublic 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)
public org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> getWatermarkStrategy()
public org.apache.flink.api.connector.source.Boundedness getBoundedness()
WithBoundednessBoundedness of this Transformation.getBoundedness in interface WithBoundednessprotected List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessorsInternal()
getTransitivePredecessorsInternal in class org.apache.flink.api.dag.Transformation<OUT>public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
getInputs in class org.apache.flink.api.dag.Transformation<OUT>public void setChainingStrategy(ChainingStrategy chainingStrategy)
PhysicalTransformationTransformation.setChainingStrategy in class PhysicalTransformation<OUT>public ChainingStrategy getChainingStrategy()
public void setCoordinatorListeningID(@Nullable String coordinatorListeningID)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.