Class PunctuatedWatermarkAssigner

java.lang.Object
org.apache.flink.table.sources.wmstrategies.WatermarkStrategy
org.apache.flink.table.sources.wmstrategies.PunctuatedWatermarkAssigner
All Implemented Interfaces:
Serializable, org.apache.flink.table.legacy.descriptors.Descriptor

@PublicEvolving public abstract class PunctuatedWatermarkAssigner extends org.apache.flink.table.sources.wmstrategies.WatermarkStrategy
A punctuated watermark assigner.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.apache.flink.streaming.api.watermark.Watermark
    getWatermark(org.apache.flink.types.Row row, long timestamp)
    Returns the watermark for the current row or null if no watermark should be generated.

    Methods inherited from class org.apache.flink.table.sources.wmstrategies.WatermarkStrategy

    toProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PunctuatedWatermarkAssigner

      public PunctuatedWatermarkAssigner()
  • Method Details

    • getWatermark

      public abstract org.apache.flink.streaming.api.watermark.Watermark getWatermark(org.apache.flink.types.Row row, long timestamp)
      Returns the watermark for the current row or null if no watermark should be generated.
      Parameters:
      row - The current row.
      timestamp - The value of the timestamp attribute for the row.
      Returns:
      The watermark for this row or null if no watermark should be generated.