public class PulsarTopicStateWithPunctuatedWatermarks<T> extends PulsarTopicState
| Constructor and Description |
|---|
PulsarTopicStateWithPunctuatedWatermarks(String topic,
org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<T> timestampsAndWatermarks) |
PulsarTopicStateWithPunctuatedWatermarks(TopicRange topicRange,
org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<T> timestampsAndWatermarks) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.streaming.api.watermark.Watermark |
checkAndGetNewWatermark(T record,
long timestamp) |
long |
getCurrentPartitionWatermark() |
long |
getTimestampForRecord(T record,
long timestamp) |
String |
toString() |
isOffsetDefinedpublic PulsarTopicStateWithPunctuatedWatermarks(String topic, org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<T> timestampsAndWatermarks)
public PulsarTopicStateWithPunctuatedWatermarks(TopicRange topicRange, org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks<T> timestampsAndWatermarks)
public long getTimestampForRecord(T record, long timestamp)
@Nullable public org.apache.flink.streaming.api.watermark.Watermark checkAndGetNewWatermark(T record, long timestamp)
public long getCurrentPartitionWatermark()
public String toString()
toString in class PulsarTopicStateCopyright © 2019–2021 The Apache Software Foundation. All rights reserved.