Class AbstractBytesType

java.lang.Object
io.debezium.connector.jdbc.type.AbstractType
io.debezium.connector.jdbc.type.AbstractBytesType
All Implemented Interfaces:
Type
Direct Known Subclasses:
BytesType, BytesType, BytesType, BytesType

public abstract class AbstractBytesType extends AbstractType
An abstract Type implementation for BYTES column types.
Author:
Chris Cranford
  • Constructor Details

    • AbstractBytesType

      public AbstractBytesType()
  • Method Details

    • getRegistrationKeys

      public String[] getRegistrationKeys()
      Description copied from interface: Type
      Returns the names that this type will be mapped as.

      For example, when creating a custom mapping for io.debezium.data.Bits, a type could be registered using the LOGICAL_NAME of the schema if the type is to be used when a schema name is identified; otherwise it could be registered as the raw column type when column type propagation is enabled.

    • 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