Class PostgresOffset
- java.lang.Object
-
- org.apache.flink.cdc.connectors.base.source.meta.offset.Offset
-
- org.apache.flink.cdc.connectors.postgres.source.offset.PostgresOffset
-
- All Implemented Interfaces:
Serializable,Comparable<Offset>
public class PostgresOffset extends Offset
The offset for Postgres.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PostgresOffsetINITIAL_OFFSETstatic PostgresOffsetNO_STOPPING_OFFSET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Offset o)booleanequals(Object o)LonggetLastCommitTs()LsngetLsn()LonggetTxid()static PostgresOffsetof(Map<String,?> offsetMap)static PostgresOffsetof(org.apache.kafka.connect.source.SourceRecord dataRecord)StringtoString()-
Methods inherited from class org.apache.flink.cdc.connectors.base.source.meta.offset.Offset
getOffset, hashCode, isAfter, isAtOrAfter, isAtOrBefore, isBefore, longOffsetValue
-
-
-
-
Field Detail
-
INITIAL_OFFSET
public static final PostgresOffset INITIAL_OFFSET
-
NO_STOPPING_OFFSET
public static final PostgresOffset NO_STOPPING_OFFSET
-
-
Method Detail
-
of
public static PostgresOffset of(org.apache.kafka.connect.source.SourceRecord dataRecord)
-
of
public static PostgresOffset of(Map<String,?> offsetMap)
-
getLsn
public Lsn getLsn()
-
compareTo
public int compareTo(Offset o)
-
-