IN - The input and output type of the transformation.@Internal public class TimestampsAndWatermarksTransformation<IN> extends PhysicalTransformation<IN>
| Constructor and Description |
|---|
TimestampsAndWatermarksTransformation(String name,
int parallelism,
org.apache.flink.api.dag.Transformation<IN> input,
org.apache.flink.api.common.eventtime.WatermarkStrategy<IN> watermarkStrategy)
Creates a new
Transformation with the given name, output type and parallelism. |
| Modifier and Type | Method and Description |
|---|---|
ChainingStrategy |
getChainingStrategy() |
List<org.apache.flink.api.dag.Transformation<?>> |
getInputs() |
org.apache.flink.api.common.typeinfo.TypeInformation<IN> |
getInputType()
Returns the
TypeInformation for the elements of the input. |
List<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessors() |
org.apache.flink.api.common.eventtime.WatermarkStrategy<IN> |
getWatermarkStrategy()
Returns the
WatermarkStrategy to use. |
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 TimestampsAndWatermarksTransformation(String name, int parallelism, org.apache.flink.api.dag.Transformation<IN> input, org.apache.flink.api.common.eventtime.WatermarkStrategy<IN> watermarkStrategy)
Transformation with the given name, output type and parallelism.name - The name of the Transformation, this will be shown in Visualizations and
the Logparallelism - The parallelism of this Transformationinput - The input transformation of this TransformationwatermarkStrategy - The WatermarkStrategy to usepublic org.apache.flink.api.common.typeinfo.TypeInformation<IN> getInputType()
TypeInformation for the elements of the input.public org.apache.flink.api.common.eventtime.WatermarkStrategy<IN> getWatermarkStrategy()
WatermarkStrategy to use.public List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors in class org.apache.flink.api.dag.Transformation<IN>public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
getInputs in class org.apache.flink.api.dag.Transformation<IN>public ChainingStrategy getChainingStrategy()
public void setChainingStrategy(ChainingStrategy chainingStrategy)
PhysicalTransformationTransformation.setChainingStrategy in class PhysicalTransformation<IN>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.