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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetTimestamp(long timestamp) voidsetTimestampFromStreamRecord(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<?> timestampBase) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.datastream.api.common.Collector
collect, collectAndOverwriteTimestamp
-
Field Details
-
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()
-