@Internal public class SourceTransformation<OUT,SplitT extends SourceSplit,EnumChkT> extends PhysicalTransformation<OUT> implements WithBoundedness
PhysicalTransformation
for Source
.bufferTimeout, description, id, name, outputType, typeUsed, UPPER_BOUND_MAX_PARALLELISM
Constructor and Description |
---|
SourceTransformation(String name,
Source<OUT,SplitT,EnumChkT> source,
WatermarkStrategy<OUT> watermarkStrategy,
TypeInformation<OUT> outputType,
int parallelism)
Creates a new
Transformation with the given name, output type and parallelism. |
SourceTransformation(String name,
Source<OUT,SplitT,EnumChkT> source,
WatermarkStrategy<OUT> watermarkStrategy,
TypeInformation<OUT> outputType,
int parallelism,
boolean parallelismConfigured) |
Modifier and Type | Method and Description |
---|---|
Boundedness |
getBoundedness()
Returns the
Boundedness of this Transformation . |
ChainingStrategy |
getChainingStrategy() |
String |
getCoordinatorListeningID() |
List<Transformation<?>> |
getInputs()
Returns the
transformations that are the immediate predecessors of the
current transformation in the transformation graph. |
Source<OUT,SplitT,EnumChkT> |
getSource() |
List<Transformation<?>> |
getTransitivePredecessors()
Returns all transitive predecessor
Transformation s of this Transformation . |
WatermarkStrategy<OUT> |
getWatermarkStrategy() |
void |
setChainingStrategy(ChainingStrategy chainingStrategy)
Sets the chaining strategy of this
Transformation . |
void |
setCoordinatorListeningID(String coordinatorListeningID) |
isSupportsConcurrentExecutionAttempts, setSupportsConcurrentExecutionAttempts
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, isParallelismConfigured, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setParallelism, setResources, setSlotSharingGroup, setSlotSharingGroup, setUid, setUidHash, toString, updateManagedMemoryStateBackendUseCase
public SourceTransformation(String name, Source<OUT,SplitT,EnumChkT> source, WatermarkStrategy<OUT> watermarkStrategy, 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 Transformation
parallelism
- The parallelism of this Transformation
public SourceTransformation(String name, Source<OUT,SplitT,EnumChkT> source, WatermarkStrategy<OUT> watermarkStrategy, TypeInformation<OUT> outputType, int parallelism, boolean parallelismConfigured)
public WatermarkStrategy<OUT> getWatermarkStrategy()
public Boundedness getBoundedness()
WithBoundedness
Boundedness
of this Transformation
.getBoundedness
in interface WithBoundedness
public List<Transformation<?>> getTransitivePredecessors()
Transformation
Transformation
s of this Transformation
.
This is, for example, used when determining whether a feedback edge of an iteration actually
has the iteration head as a predecessor.getTransitivePredecessors
in class Transformation<OUT>
public List<Transformation<?>> getInputs()
Transformation
transformations
that are the immediate predecessors of the
current transformation in the transformation graph.getInputs
in class Transformation<OUT>
public void setChainingStrategy(ChainingStrategy chainingStrategy)
PhysicalTransformation
Transformation
.setChainingStrategy
in class PhysicalTransformation<OUT>
public ChainingStrategy getChainingStrategy()
public void setCoordinatorListeningID(@Nullable String coordinatorListeningID)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.