Interface BinlogValueConvertersFactory<T extends io.debezium.connector.binlog.jdbc.BinlogValueConverters>


public interface BinlogValueConvertersFactory<T extends io.debezium.connector.binlog.jdbc.BinlogValueConverters>
A helper factory for creating binlog value converter implementations for testing.
Author:
Chris Cranford
  • Method Details

    • create

      T create(Configuration configuration, TemporalAdjuster temporalAdjuster)
      Creates an implementation of BinlogValueConverters based on a given configuration.
      Parameters:
      configuration - the connector configuraiton, should never be null.
      temporalAdjuster - the temporal adjuster, should never be null.
      Returns:
      the constructed value converter instance, never null
    • create

      default T create(RelationalDatabaseConnectorConfig.DecimalHandlingMode decimalHandlingMode, TemporalPrecisionMode temporalPrecisionMode, io.debezium.connector.binlog.BinlogConnectorConfig.BigIntUnsignedHandlingMode bigIntUnsignedHandlingMode, CommonConnectorConfig.BinaryHandlingMode binaryHandlingMode, TemporalAdjuster temporalAdjuster, CommonConnectorConfig.EventConvertingFailureHandlingMode eventConvertingFailureHandlingMode)
      Creates an implementation of BinlogValueConverters for the given connector.
      Parameters:
      decimalHandlingMode - the decimal handling mode
      temporalPrecisionMode - the temporal precision mode
      bigIntUnsignedHandlingMode - the unsigned big integer handling mode
      binaryHandlingMode - the binary handling mode
      temporalAdjuster - the time adjuster implementation
      eventConvertingFailureHandlingMode - the event converting failure handling mode
      Returns:
      the constructed value converter instance, never null
    • create

      default T create(RelationalDatabaseConnectorConfig.DecimalHandlingMode decimalHandlingMode, TemporalPrecisionMode temporalPrecisionMode, io.debezium.connector.binlog.BinlogConnectorConfig.BigIntUnsignedHandlingMode bigIntUnsignedHandlingMode, CommonConnectorConfig.BinaryHandlingMode binaryHandlingMode, CommonConnectorConfig.EventConvertingFailureHandlingMode eventConvertingFailureHandlingMode)
      Creates an implementation of BinlogValueConverters for the given connector.
      Parameters:
      decimalHandlingMode - the decimal handling mode
      temporalPrecisionMode - the temporal precision mode
      bigIntUnsignedHandlingMode - the unsigned big integer handling mode
      binaryHandlingMode - the binary handling mode
      eventConvertingFailureHandlingMode - the event converting failure handling mode
      Returns:
      the constructed value converter instance, never null