Class SinkContextUtil

java.lang.Object
org.apache.flink.streaming.api.functions.sink.SinkContextUtil

@Internal public class SinkContextUtil extends Object
Utility for creating Sink Contexts.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.flink.streaming.api.functions.sink.legacy.SinkFunction.Context
    forTimestamp(long timestamp)
    Creates a SinkFunction.Context that throws an exception when trying to access the current watermark or processing time.

    Methods inherited from class java.lang.Object

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

    • SinkContextUtil

      public SinkContextUtil()
  • Method Details

    • forTimestamp

      public static org.apache.flink.streaming.api.functions.sink.legacy.SinkFunction.Context forTimestamp(long timestamp)
      Creates a SinkFunction.Context that throws an exception when trying to access the current watermark or processing time.