public abstract class AbstractSourceInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COLLECTION_NAME_KEY |
private CommonConnectorConfig |
config |
static String |
DATABASE_NAME_KEY |
static String |
DEBEZIUM_CONNECTOR_KEY |
static String |
DEBEZIUM_VERSION_KEY |
static String |
SCHEMA_NAME_KEY |
static String |
SERVER_NAME_KEY |
static String |
SNAPSHOT_KEY |
static String |
TABLE_NAME_KEY |
static String |
TIMESTAMP_KEY |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSourceInfo(CommonConnectorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
database() |
org.apache.kafka.connect.data.Schema |
schema()
Returns the schema of specific sub-types.
|
protected String |
serverName() |
protected abstract SnapshotRecord |
snapshot() |
org.apache.kafka.connect.data.Struct |
struct()
Returns the
source struct representing this source info. |
protected SourceInfoStructMaker<AbstractSourceInfo> |
structMaker() |
protected abstract Instant |
timestamp() |
public static final String DEBEZIUM_VERSION_KEY
public static final String DEBEZIUM_CONNECTOR_KEY
public static final String SERVER_NAME_KEY
public static final String TIMESTAMP_KEY
public static final String SNAPSHOT_KEY
public static final String DATABASE_NAME_KEY
public static final String SCHEMA_NAME_KEY
public static final String TABLE_NAME_KEY
public static final String COLLECTION_NAME_KEY
private final CommonConnectorConfig config
protected AbstractSourceInfo(CommonConnectorConfig config)
public org.apache.kafka.connect.data.Schema schema()
#schemaBuilder() to add all shared fields to their schema.protected SourceInfoStructMaker<AbstractSourceInfo> structMaker()
protected abstract Instant timestamp()
protected abstract SnapshotRecord snapshot()
protected abstract String database()
protected String serverName()
public org.apache.kafka.connect.data.Struct struct()
source struct representing this source info.Copyright © 2020 JBoss by Red Hat. All rights reserved.