Class AbstractDebeziumTimestampType

All Implemented Interfaces:
Type
Direct Known Subclasses:
MicroTimestampType, NanoTimestampType, TimestampType

public abstract class AbstractDebeziumTimestampType extends AbstractTimestampType
An abstract Debezium timestamp-type implementation of AbstractTimestampType.
Author:
Chris Cranford
  • Constructor Details

    • AbstractDebeziumTimestampType

      public AbstractDebeziumTimestampType()
  • Method Details

    • bind

      public List<ValueBindDescriptor> bind(int index, org.apache.kafka.connect.data.Schema schema, Object value)
      Description copied from interface: Type
      Binds the value to the query.
      Specified by:
      bind in interface Type
      Overrides:
      bind in class AbstractType
      Parameters:
      index - parameter index to bind
      schema - field schema, never null
      value - value to be bound, may be null
      Returns:
      the list of ValueBindDescriptor
    • getLocalDateTime

      protected abstract LocalDateTime getLocalDateTime(long value)