@Internal public class SourceTransformation<OUT,SplitT extends SourceSplit,EnumChkT> extends PhysicalTransformation<OUT> implements WithBoundedness
PhysicalTransformation
for Source
.bufferTimeout, id, idCounter, 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. |
Modifier and Type | Method and Description |
---|---|
Boundedness |
getBoundedness()
Returns the
Boundedness of this Transformation . |
ChainingStrategy |
getChainingStrategy() |
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 . |
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, 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 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()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.