Class AbstractDebeziumTimestampType
java.lang.Object
io.debezium.connector.jdbc.type.AbstractType
io.debezium.connector.jdbc.type.AbstractTemporalType
io.debezium.connector.jdbc.type.AbstractTimestampType
io.debezium.connector.jdbc.type.debezium.AbstractDebeziumTimestampType
- All Implemented Interfaces:
Type
- Direct Known Subclasses:
MicroTimestampType,NanoTimestampType,TimestampType
An abstract Debezium timestamp-type implementation of
AbstractTimestampType.- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbind(org.hibernate.query.Query<?> query, int index, org.apache.kafka.connect.data.Schema schema, Object value) Binds the value to the query.protected abstract LocalDateTimegetLocalDateTime(long value) Methods inherited from class io.debezium.connector.jdbc.type.AbstractTimestampType
getJdbcType, getTimePrecision, getTypeNameMethods inherited from class io.debezium.connector.jdbc.type.AbstractTemporalType
configure, getDatabaseTimeZoneMethods inherited from class io.debezium.connector.jdbc.type.AbstractType
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
getRegistrationKeys
-
Constructor Details
-
AbstractDebeziumTimestampType
public AbstractDebeziumTimestampType()
-
-
Method Details
-
bind
public int bind(org.hibernate.query.Query<?> query, 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:
query- hibernate query, is nevernullindex- parameter index to bindschema- field schema, nevernullvalue- value to be bound, may benull- Returns:
- the number of bound parameters
-
getLocalDateTime
-