public static class MySqlOffsetContext.Loader extends Object implements OffsetContext.Loader
| Modifier and Type | Field and Description |
|---|---|
private MySqlConnectorConfig |
connectorConfig |
| Constructor and Description |
|---|
Loader(MySqlConnectorConfig connectorConfig) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
getPartition() |
OffsetContext |
load(Map<String,?> offset) |
private long |
longOffsetValue(Map<String,?> values,
String key) |
private final MySqlConnectorConfig connectorConfig
public Loader(MySqlConnectorConfig connectorConfig)
public Map<String,?> getPartition()
getPartition in interface OffsetContext.Loaderpublic OffsetContext load(Map<String,?> offset)
load in interface OffsetContext.LoaderCopyright © 2021 JBoss by Red Hat. All rights reserved.