public abstract class TimestampCollector<OUT> extends Object implements Collector<OUT>
Collector
which take care of records timestamp.Modifier and Type | Field and Description |
---|---|
protected StreamRecord<OUT> |
reuse |
Constructor and Description |
---|
TimestampCollector() |
Modifier and Type | Method and Description |
---|---|
void |
eraseTimestamp() |
void |
setTimestamp(long timestamp) |
void |
setTimestampFromStreamRecord(StreamRecord<?> timestampBase) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
collect, collectAndOverwriteTimestamp
protected final StreamRecord<OUT> reuse
public void setTimestampFromStreamRecord(StreamRecord<?> timestampBase)
public void setTimestamp(long timestamp)
public void eraseTimestamp()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.