Class TimestampCollector<OUT>

java.lang.Object
org.apache.flink.datastream.impl.common.TimestampCollector<OUT>
All Implemented Interfaces:
org.apache.flink.datastream.api.common.Collector<OUT>
Direct Known Subclasses:
KeyCheckedOutputCollector, OutputCollector, TwoOutputProcessOperator.SideOutputCollector

public abstract class TimestampCollector<OUT> extends Object implements org.apache.flink.datastream.api.common.Collector<OUT>
The base Collector which take care of records timestamp.
  • Field Details

    • reuse

      protected final org.apache.flink.streaming.runtime.streamrecord.StreamRecord<OUT> reuse
  • Constructor Details

    • TimestampCollector

      public TimestampCollector()
  • Method Details

    • setTimestampFromStreamRecord

      public void setTimestampFromStreamRecord(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<?> timestampBase)
    • setTimestamp

      public void setTimestamp(long timestamp)
    • eraseTimestamp

      public void eraseTimestamp()