Package io.debezium.connector.jdbc.e2e
Class JdbcSinkPipelineToMySqlIT
java.lang.Object
io.debezium.connector.jdbc.e2e.AbstractJdbcSinkIT
io.debezium.connector.jdbc.e2e.AbstractJdbcSinkPipelineIT
io.debezium.connector.jdbc.e2e.JdbcSinkPipelineToMySqlIT
@Tag("all") @Tag("e2e") @Tag("e2e-mysql")
@ExtendWith(MySqlSinkDatabaseContextProvider.class)
public class JdbcSinkPipelineToMySqlIT
extends AbstractJdbcSinkPipelineIT
Implementation of the JDBC sink connector multi-source pipeline that writes to MySQL.
- Author:
- Chris Cranford
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.connector.jdbc.e2e.AbstractJdbcSinkPipelineIT
AbstractJdbcSinkPipelineIT.ColumnReader<T>, AbstractJdbcSinkPipelineIT.ConfigurationAdjuster, AbstractJdbcSinkPipelineIT.DataTypeColumnAssert -
Field Summary
Fields inherited from class io.debezium.connector.jdbc.e2e.AbstractJdbcSinkIT
LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetBinaryType(Source source, String sourceDataType) protected Stringprotected Stringprotected StringgetCharType(Source source, boolean key, boolean nationalized) protected Stringprotected Stringprotected StringgetEnumType(Source source, boolean key) protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringgetIntervalType(Source source, boolean numeric) protected StringgetJsonType(Source source) protected StringgetSetType(Source source, boolean key) protected StringgetStringType(Source source, boolean key, boolean nationalized, boolean maxLength) protected StringgetTextType(boolean nationalized) protected OffsetTimegetTimeAsOffsetTime(ResultSet rs, int index) protected TimestampgetTimestamp(ResultSet rs, int index) protected ZonedDateTimegetTimestampAsZonedDateTime(ResultSet rs, int index) protected StringgetTimestampType(Source source, boolean key, int precision) protected StringgetTimestampWithTimezoneType(Source source, boolean key, int precision) protected StringgetTimeType(Source source, boolean key, int precision) protected Stringprotected StringgetUuidType(Source source, boolean key) protected Stringprotected StringgetXmlType(Source source) protected Stringprivate booleanMethods inherited from class io.debezium.connector.jdbc.e2e.AbstractJdbcSinkPipelineIT
applyJdbcSourceConverter, assertCharDataType, assertCharWithLengthDataType, assertColumn, assertColumn, assertColumn, assertDataType, assertDataType, assertDataType, assertDataType, assertDataTypeNonKeyOnly, assertDataTypeNonKeyOnly, assertDataTypes, assertDataTypes, assertDataTypes, assertDataTypes2, assertDataTypes2, assertDataTypesNonKeyOnly, assertDataTypesNonKeyOnly, assertVarcharDataType, binaryValue, bitValues, byteArrayPadded, charValue, consumeAndAssert, createTableFromTypes, dateValue, getCurrentSinkTimeOffset, getCurrentSinkTimeOffset, getDataTypeWithCollation, getDefaultSinkConfig, getJsonbType, getMaxDecimalPrecision, getStringType, getTextType, getTimestampWithTimeZoneAsZonedDateTime, isBitCoercedToBoolean, isLobTypeName, pointValue, registerSourceConnector, registerSourceConnector, registerSourceConnector, skipDefaultValues, testBigIntDataType, testBigIntWithSizeDataType, testBigSerialDataType, testBinaryDataType, testBinaryDoubleDataType, testBinaryFloatDataType, testBinaryHandlingModeBase64, testBinaryHandlingModeBase64UrlSafe, testBinaryHandlingModeHex, testBitDataType, testBitVaryingDataType, testBitVaryingDataTypeNotInKey, testBitWithSizeDataType, testBitWithSizeDataTypeNotInKey, testBlobDataType, testBooleanDataType, testByteaDataType, testCaseInsensitiveDataType, testCharacterDataType, testCharacterVaryingDataType, testCharacterWithLengthDataType, testCharDataType, testCharWithLengthDataType, testClobDataType, testDateDataType, testDaterangeDataType, testDateTime2DataType, testDateTime2WithPrecisionDataType, testDateTimeDataType, testDateTimeOffsetDataType, testDateTimeOffsetWithPrecisionDataType, testDateTimeWithPrecisionDataType, testDecimalDataType, testDecimalHandlingModeDouble, testDecimalHandlingModeString, testDecimalWithPrecisionAndNegativeScaleDataType, testDecimalWithPrecisionAndScaleDataType, testDecimalWithPrecisionDataType, testDoubleDataType, testDoublePrecisionDataType, testDoubleWithPrecisionAndScaleDataType, testDoubleWithPrecisionDataType, testEnumDataType, testFloatDataType, testFloatWithPrecisionAndScaleDataType, testFloatWithPrecisionDataType, testHstoreDataType, testHstoreWithMapModeDataType, testInetDataType, testInt4RangeDataType, testInt8RangeDataType, testIntDataType, testIntegerDataType, testIntegerWithSizeDataType, testIntervalDataTypeIntervalHandlingModeNumeric, testIntervalDataTypeIntervalHandlingModeString, testIntervalDayToSecondDataTypeIntervalHandlingModeNumeric, testIntervalDayToSecondDataTypeIntervalHandlingModeString, testIntervalYearToMonthDataTypeIntervalHandlingModeNumeric, testIntervalYearToMonthDataTypeIntervalHandlingModeString, testJsonbDataType, testJsonDataType, testLongBlobDataType, testLongTextDataType, testLtreeDataType, testMediumBlobDataType, testMediumIntDataType, testMediumIntWithSizeDataType, testMediumTextDataType, testMoneyDataType, testNanoTimeDataType, testNationalizedCharacterDataType, testNationalizedCharacterWithLengthDataType, testNationalizedCharDataType, testNationalizedCharWithLengthDataType, testNCharacterVaryingDataType, testNClobDataType, testNTextDataType, testNumberDataType, testNumberWithPrecisionAndNegativeScaleDataType, testNumberWithPrecisionAndScaleDataType, testNumberWithPrecisionDataType, testNumericDataType, testNumericWithPrecisionAndNegativeScaleDataType, testNumericWithPrecisionAndScaleDataType, testNumericWithPrecisionDataType, testNumrangeDataType, testNVarchar2DataType, testNVarcharDataType, testOidDataType, testRealDataType, testRealDataTypeTreatAsFloat, testRealWithPrecisionAndScaleDataType, testRealWithPrecisionDataType, testSerialDataType, testSetDataType, testSmallDateTimeDataType, testSmallIntDataType, testSmallIntWithSizeDataType, testSmallMoneyDataType, testSmallSerialDataType, testTextDataType, testTimeDataType, testTimestampDataType, testTimestampDataTypeAsZonedTimestampType, testTimestampTzDataType, testTimestampWithLocalTimeZoneDataType, testTimestampWithPrecisionDataType, testTimestampWithPrecisionDataTypeAsZonedTimestampType, testTimestampWithTimeZoneDataType, testTimeWithPrecisionDataType, testTimeWithTimeZoneDataType, testTinyBlobDataType, testTinyIntDataType, testTinyIntWithSizeDataType, testTinyTextDataType, testTsrangeDataType, testTstzrangeDataType, testUuidDataType, testVarBinaryDataType, testVarchar2DataType, testVarcharDataType, testXmlDataType, testYearDataType, toZonedDateTimeAtSinkOffsetMethods inherited from class io.debezium.connector.jdbc.e2e.AbstractJdbcSinkIT
afterEach, consumeSinkRecord, consumeSinkRecords, getCurrentSinkConfig, getCurrentSinkTimeZone, getSinkRecordFromConsumerRecord, getSourceConnectorConfig, startSink, stopSink
-
Constructor Details
-
JdbcSinkPipelineToMySqlIT
public JdbcSinkPipelineToMySqlIT()
-
-
Method Details
-
getBooleanType
- Specified by:
getBooleanTypein classAbstractJdbcSinkPipelineIT
-
getBitsDataType
- Specified by:
getBitsDataTypein classAbstractJdbcSinkPipelineIT
-
getInt8Type
- Specified by:
getInt8Typein classAbstractJdbcSinkPipelineIT
-
getInt16Type
- Specified by:
getInt16Typein classAbstractJdbcSinkPipelineIT
-
getInt32Type
- Specified by:
getInt32Typein classAbstractJdbcSinkPipelineIT
-
getInt64Type
- Specified by:
getInt64Typein classAbstractJdbcSinkPipelineIT
-
getVariableScaleDecimalType
- Specified by:
getVariableScaleDecimalTypein classAbstractJdbcSinkPipelineIT
-
getDecimalType
- Specified by:
getDecimalTypein classAbstractJdbcSinkPipelineIT
-
getFloat32Type
- Specified by:
getFloat32Typein classAbstractJdbcSinkPipelineIT
-
getFloat64Type
- Specified by:
getFloat64Typein classAbstractJdbcSinkPipelineIT
-
getCharType
- Specified by:
getCharTypein classAbstractJdbcSinkPipelineIT
-
getStringType
- Specified by:
getStringTypein classAbstractJdbcSinkPipelineIT
-
getTextType
- Specified by:
getTextTypein classAbstractJdbcSinkPipelineIT
-
getBinaryType
- Specified by:
getBinaryTypein classAbstractJdbcSinkPipelineIT
-
getJsonType
- Specified by:
getJsonTypein classAbstractJdbcSinkPipelineIT
-
getXmlType
- Specified by:
getXmlTypein classAbstractJdbcSinkPipelineIT
-
getUuidType
- Specified by:
getUuidTypein classAbstractJdbcSinkPipelineIT
-
getEnumType
- Specified by:
getEnumTypein classAbstractJdbcSinkPipelineIT
-
getSetType
- Specified by:
getSetTypein classAbstractJdbcSinkPipelineIT
-
getYearType
- Specified by:
getYearTypein classAbstractJdbcSinkPipelineIT
-
getDateType
- Specified by:
getDateTypein classAbstractJdbcSinkPipelineIT
-
getTimeType
- Specified by:
getTimeTypein classAbstractJdbcSinkPipelineIT
-
getTimeWithTimezoneType
- Specified by:
getTimeWithTimezoneTypein classAbstractJdbcSinkPipelineIT
-
getTimestampType
- Specified by:
getTimestampTypein classAbstractJdbcSinkPipelineIT
-
getTimestampWithTimezoneType
- Specified by:
getTimestampWithTimezoneTypein classAbstractJdbcSinkPipelineIT
-
getIntervalType
- Specified by:
getIntervalTypein classAbstractJdbcSinkPipelineIT
-
getTimestamp
- Overrides:
getTimestampin classAbstractJdbcSinkPipelineIT- Throws:
SQLException
-
getTimestampAsZonedDateTime
- Overrides:
getTimestampAsZonedDateTimein classAbstractJdbcSinkPipelineIT- Throws:
SQLException
-
getTimeAsOffsetTime
- Overrides:
getTimeAsOffsetTimein classAbstractJdbcSinkPipelineIT- Throws:
SQLException
-
isConnectionTimeZoneSet
private boolean isConnectionTimeZoneSet()
-