@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. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.connector.source.Boundedness |
getBoundedness()
Returns the
Boundedness of this Transformation. |
ChainingStrategy |
getChainingStrategy() |
List<org.apache.flink.api.dag.Transformation<?>> |
getInputs() |
org.apache.flink.api.connector.source.Source<OUT,SplitT,EnumChkT> |
getSource() |
List<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessors() |
org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> |
getWatermarkStrategy() |
void |
setChainingStrategy(ChainingStrategy chainingStrategy)
Sets the chaining strategy of this
Transformation. |
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getBufferTimeout, getCoLocationGroupKey, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setCoLocationGroupKey, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, setUid, setUidHash, toString, 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 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 WithBoundednesspublic List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors 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()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.