Class AbstractDateType

All Implemented Interfaces:
Type
Direct Known Subclasses:
ConnectDateType, ConnectDateType, DateType, DateType

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

    • AbstractDateType

      public AbstractDateType()
  • Method Details

    • getTypeName

      public String getTypeName(DatabaseDialect dialect, org.apache.kafka.connect.data.Schema schema, boolean key)
      Description copied from interface: Type
      Return the SQL type name for this type.
      Parameters:
      dialect - dialect instance, never null
      schema - field schema, never null
      key - whether the type resolution is for a key field
      Returns:
      the resolved type to be used in DDL statements