Class MariaDbDatabaseDialect
java.lang.Object
io.debezium.connector.jdbc.dialect.GeneralDatabaseDialect
io.debezium.connector.jdbc.dialect.mysql.MySqlDatabaseDialect
io.debezium.connector.jdbc.dialect.mysql.MariaDbDatabaseDialect
- All Implemented Interfaces:
DatabaseDialect
A
DatabaseDialect implementation for MariaDB.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class io.debezium.connector.jdbc.dialect.mysql.MySqlDatabaseDialect
MySqlDatabaseDialect.MySqlDatabaseDialectProvider -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMariaDbDatabaseDialect(JdbcSinkConnectorConfig config, org.hibernate.SessionFactory sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptiongetUpsertStatement(TableDescriptor table, SinkRecordDescriptor record) Construct aUPSERTstatement specific for this dialect.Methods inherited from class io.debezium.connector.jdbc.dialect.mysql.MySqlDatabaseDialect
addColumnDefaultValue, getAlterTablePrefix, getDatabaseTimeZoneQuery, getDatabaseTimeZoneQueryResult, getFormattedDateTime, getFormattedTime, getFormattedTimestamp, getFormattedTimestampWithTimeZone, getMaxVarcharLengthInKey, isTimeZoneSet, registerTypes, shouldBindTimeWithTimeZoneAsDatabaseTimeZoneMethods inherited from class io.debezium.connector.jdbc.dialect.GeneralDatabaseDialect
bindValue, columnNameFromField, columnNameFromField, columnQueryBindingFromField, getAlterTableColumnDelimiter, getAlterTableColumnPrefix, getAlterTableColumnSuffix, getAlterTableStatement, getAlterTableSuffix, getByteArrayFormat, getColumnNamingStrategy, getConfig, getCreateTableStatement, getDatabaseTimeZone, getDatabaseVersion, getDefaultDecimalPrecision, getDefaultTimestampPrecision, getDeleteStatement, getFormattedBoolean, getFormattedDate, getFormattedDateTimeWithNanos, getFormattedTimeWithTimeZone, getIdentifierHelper, getInsertStatement, getMaxNVarcharLengthInKey, getMaxVarbinaryLength, getQualifiedTableName, getQueryBindingWithValueCast, getSchemaType, getTableId, getTruncateStatement, getTypeName, getTypeName, getTypeName, getUpdateStatement, getVersion, isIdentifierUppercaseWhenNotQuoted, isNegativeScaleAllowed, readTable, registerType, resolveColumnName, resolveColumnNameFromField, resolveMissingFields, tableExists, toIdentifier, toIdentifierMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.connector.jdbc.dialect.DatabaseDialect
getMaxTimePrecision, getMaxTimestampPrecision, getTimeQueryBinding
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
MariaDbDatabaseDialect
private MariaDbDatabaseDialect(JdbcSinkConnectorConfig config, org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
getUpsertStatement
Description copied from interface:DatabaseDialectConstruct aUPSERTstatement specific for this dialect.- Specified by:
getUpsertStatementin interfaceDatabaseDialect- Overrides:
getUpsertStatementin classMySqlDatabaseDialect- Parameters:
table- the current relational table model, should not benullrecord- the current sink record being processed, should not benull- Returns:
- the upsert SQL statement to be executed, never
null
-