Package io.debezium.connector.jdbc.type
Class AbstractTemporalType
java.lang.Object
io.debezium.connector.jdbc.type.AbstractType
io.debezium.connector.jdbc.type.AbstractTemporalType
- All Implemented Interfaces:
Type
- Direct Known Subclasses:
AbstractDateType,AbstractTimestampType,AbstractTimeType
An abstract base class for all temporal implementations of
Type.- Author:
- Chris Cranford
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(JdbcSinkConnectorConfig config, DatabaseDialect dialect) Allows a type to perform initialization/configuration tasks based on user configs.protected TimeZoneMethods inherited from class io.debezium.connector.jdbc.type.AbstractType
bind, getDefaultValueBinding, getDialect, getQueryBinding, getSchemaParameter, getSourceColumnPrecision, getSourceColumnSize, getSourceColumnType, throwUnexpectedValue, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.debezium.connector.jdbc.type.Type
getRegistrationKeys, getTypeName
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
databaseTimeZone
-
-
Constructor Details
-
AbstractTemporalType
public AbstractTemporalType()
-
-
Method Details
-
configure
Description copied from interface:TypeAllows a type to perform initialization/configuration tasks based on user configs.- Specified by:
configurein interfaceType- Overrides:
configurein classAbstractType- Parameters:
config- the JDBC sink connector's configuration, should not benulldialect- the database dialect, should not benull
-
getDatabaseTimeZone
-