Class TimestampsAndWatermarksTransformation<IN>
- java.lang.Object
-
- org.apache.flink.api.dag.Transformation<T>
-
- org.apache.flink.streaming.api.transformations.PhysicalTransformation<IN>
-
- org.apache.flink.streaming.api.transformations.TimestampsAndWatermarksTransformation<IN>
-
- Type Parameters:
IN- The input and output type of the transformation.
@Internal public class TimestampsAndWatermarksTransformation<IN> extends PhysicalTransformation<IN>
-
-
Constructor Summary
Constructors Constructor Description TimestampsAndWatermarksTransformation(String name, int parallelism, org.apache.flink.api.dag.Transformation<IN> input, org.apache.flink.api.common.eventtime.WatermarkStrategy<IN> watermarkStrategy, boolean parallelismConfigured)Creates a newTransformationwith the given name, output type and parallelism.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChainingStrategygetChainingStrategy()List<org.apache.flink.api.dag.Transformation<?>>getInputs()org.apache.flink.api.common.typeinfo.TypeInformation<IN>getInputType()Returns theTypeInformationfor the elements of the input.protected List<org.apache.flink.api.dag.Transformation<?>>getTransitivePredecessorsInternal()org.apache.flink.api.common.eventtime.WatermarkStrategy<IN>getWatermarkStrategy()Returns theWatermarkStrategyto use.voidsetChainingStrategy(ChainingStrategy chainingStrategy)Sets the chaining strategy of thisTransformation.-
Methods inherited from class org.apache.flink.streaming.api.transformations.PhysicalTransformation
isSupportsConcurrentExecutionAttempts, setSupportsConcurrentExecutionAttempts
-
Methods inherited from class org.apache.flink.api.dag.Transformation
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, 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 Detail
-
TimestampsAndWatermarksTransformation
public TimestampsAndWatermarksTransformation(String name, int parallelism, org.apache.flink.api.dag.Transformation<IN> input, org.apache.flink.api.common.eventtime.WatermarkStrategy<IN> watermarkStrategy, boolean parallelismConfigured)
Creates a newTransformationwith the given name, output type and parallelism.- Parameters:
name- The name of theTransformation, this will be shown in Visualizations and the Logparallelism- The parallelism of thisTransformationinput- The input transformation of thisTransformationwatermarkStrategy- TheWatermarkStrategyto use
-
-
Method Detail
-
getInputType
public org.apache.flink.api.common.typeinfo.TypeInformation<IN> getInputType()
Returns theTypeInformationfor the elements of the input.
-
getWatermarkStrategy
public org.apache.flink.api.common.eventtime.WatermarkStrategy<IN> getWatermarkStrategy()
Returns theWatermarkStrategyto use.
-
getTransitivePredecessorsInternal
protected List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessorsInternal()
- Specified by:
getTransitivePredecessorsInternalin classorg.apache.flink.api.dag.Transformation<IN>
-
getInputs
public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
- Specified by:
getInputsin classorg.apache.flink.api.dag.Transformation<IN>
-
getChainingStrategy
public ChainingStrategy getChainingStrategy()
-
setChainingStrategy
public void setChainingStrategy(ChainingStrategy chainingStrategy)
Description copied from class:PhysicalTransformationSets the chaining strategy of thisTransformation.- Specified by:
setChainingStrategyin classPhysicalTransformation<IN>
-
-