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

public abstract class AbstractTemporalType extends AbstractType
An abstract base class for all temporal implementations of Type.
Author:
Chris Cranford
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • databaseTimeZone

      private TimeZone databaseTimeZone
  • Constructor Details

    • AbstractTemporalType

      public AbstractTemporalType()
  • Method Details

    • configure

      public void configure(JdbcSinkConnectorConfig config, DatabaseDialect dialect)
      Description copied from interface: Type
      Allows a type to perform initialization/configuration tasks based on user configs.
      Specified by:
      configure in interface Type
      Overrides:
      configure in class AbstractType
      Parameters:
      config - the JDBC sink connector's configuration, should not be null
      dialect - the database dialect, should not be null
    • getDatabaseTimeZone

      protected TimeZone getDatabaseTimeZone()