Package io.debezium.connector.postgresql
Class PostgresOffsetContext.Loader
- java.lang.Object
-
- io.debezium.connector.postgresql.PostgresOffsetContext.Loader
-
- All Implemented Interfaces:
OffsetContext.Loader<PostgresOffsetContext>
- Enclosing class:
- PostgresOffsetContext
public static class PostgresOffsetContext.Loader extends Object implements OffsetContext.Loader<PostgresOffsetContext>
-
-
Field Summary
Fields Modifier and Type Field Description private PostgresConnectorConfigconnectorConfig
-
Constructor Summary
Constructors Constructor Description Loader(PostgresConnectorConfig connectorConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostgresOffsetContextload(Map<String,?> offset)private LongreadOptionalLong(Map<String,?> offset, String key)
-
-
-
Field Detail
-
connectorConfig
private final PostgresConnectorConfig connectorConfig
-
-
Constructor Detail
-
Loader
public Loader(PostgresConnectorConfig connectorConfig)
-
-
Method Detail
-
load
public PostgresOffsetContext load(Map<String,?> offset)
- Specified by:
loadin interfaceOffsetContext.Loader<PostgresOffsetContext>
-
-