Package io.debezium.storage.jdbc.history
Class JdbcSchemaHistoryConfig
java.lang.Object
io.debezium.storage.jdbc.JdbcCommonConfig
io.debezium.storage.jdbc.history.JdbcSchemaHistoryConfig
Configuration options specific for JDBC schema history storage.
- Author:
- Jiri Pechanec
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static final Stringprivate static final Stringprivate static final StringTable that will store database history.private static final Stringprivate static final Stringstatic final FieldField that will store the Schema history SELECT query to check existence of the table.static final Fieldstatic final FieldField that will store the CREATE TABLE DDL for schema history.static final Fieldstatic final FieldField that will store the Schema history SELECT query.private Stringprivate Stringprivate Stringprivate Stringprivate StringFields inherited from class io.debezium.storage.jdbc.JdbcCommonConfig
CONFIGURATION_FIELD_PREFIX_STRING, PROP_JDBC_URL, PROP_PASSWORD, PROP_USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit(Configuration config) (package private) voidsplitDatabaseAndTableName(String databaseAndTableName) Function to split database and table name from the fully qualified table name.Methods inherited from class io.debezium.storage.jdbc.JdbcCommonConfig
getJdbcUrl, getPassword, getUser
-
Field Details
-
DEFAULT_TABLE_NAME
- See Also:
-
PROP_TABLE_NAME
-
DEFAULT_TABLE_DDL
Table that will store database history. id - Unique identifier(UUID) history_data - Schema history data. history_data_seq - Schema history part sequence number. record_insert_ts - Timestamp when the record was inserted record_insert_seq - Sequence number(Incremented for every record inserted)- See Also:
-
PROP_TABLE_DDL
Field that will store the CREATE TABLE DDL for schema history. -
DEFAULT_TABLE_SELECT
- See Also:
-
PROP_TABLE_SELECT
Field that will store the Schema history SELECT query. -
DEFAULT_TABLE_DATA_EXISTS_SELECT
- See Also:
-
PROP_TABLE_DATA_EXISTS_SELECT
Field that will store the Schema history SELECT query to check existence of the table. -
DEFAULT_TABLE_DATA_INSERT
- See Also:
-
PROP_TABLE_DATA_INSERT
-
tableName
-
tableCreate
-
tableSelect
-
tableDataExistsSelect
-
tableInsert
-
databaseName
-
-
Constructor Details
-
JdbcSchemaHistoryConfig
-
-
Method Details
-
init
- Overrides:
initin classJdbcCommonConfig
-
getAllConfigurationFields
- Overrides:
getAllConfigurationFieldsin classJdbcCommonConfig
-
getTableName
-
getDatabaseName
-
getTableCreate
-
getTableSelect
-
getTableDataExistsSelect
-
getTableInsert
-
splitDatabaseAndTableName
Function to split database and table name from the fully qualified table name.- Parameters:
databaseAndTableName- database and table name
-