Package io.debezium.connector.jdbc.type
Class AbstractBytesType
java.lang.Object
io.debezium.connector.jdbc.type.AbstractType
io.debezium.connector.jdbc.type.AbstractBytesType
- All Implemented Interfaces:
Type
An abstract
Type implementation for BYTES column types.- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBinds the value to the query.String[]Returns the names that this type will be mapped as.Methods inherited from class io.debezium.connector.jdbc.type.AbstractType
configure, 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
getTypeName
-
Constructor Details
-
AbstractBytesType
public AbstractBytesType()
-
-
Method Details
-
getRegistrationKeys
Description copied from interface:TypeReturns 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 theLOGICAL_NAMEof 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:TypeBinds the value to the query.- Specified by:
bindin interfaceType- Overrides:
bindin classAbstractType- Parameters:
index- parameter index to bindschema- field schema, nevernullvalue- value to be bound, may benull- Returns:
- the list of
ValueBindDescriptor
-