Package io.debezium.connector.mysql
Class MySqlOffsetContext.Loader
- java.lang.Object
-
- io.debezium.connector.mysql.MySqlOffsetContext.Loader
-
- All Implemented Interfaces:
OffsetContext.Loader
- Enclosing class:
- MySqlOffsetContext
public static class MySqlOffsetContext.Loader extends Object implements OffsetContext.Loader
-
-
Field Summary
Fields Modifier and Type Field Description private MySqlConnectorConfig
connectorConfig
-
Constructor Summary
Constructors Constructor Description Loader(MySqlConnectorConfig connectorConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,?>
getPartition()
OffsetContext
load(Map<String,?> offset)
private long
longOffsetValue(Map<String,?> values, String key)
-
-
-
Field Detail
-
connectorConfig
private final MySqlConnectorConfig connectorConfig
-
-
Constructor Detail
-
Loader
public Loader(MySqlConnectorConfig connectorConfig)
-
-
Method Detail
-
getPartition
public Map<String,?> getPartition()
- Specified by:
getPartition
in interfaceOffsetContext.Loader
-
load
public OffsetContext load(Map<String,?> offset)
- Specified by:
load
in interfaceOffsetContext.Loader
-
-