public class SQLServerNumericColumnIT
extends io.debezium.embedded.AbstractConnectorTest
| Modifier and Type | Field and Description |
|---|---|
private io.debezium.connector.sqlserver.SqlServerConnection |
connection |
| Constructor and Description |
|---|
SQLServerNumericColumnIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
private void |
assertSchema(org.apache.kafka.connect.data.Struct valueA,
org.apache.kafka.connect.data.Schema expected) |
void |
before()
Create 2 Tables.
|
void |
decimalModeConfigDouble()
Insert 1 Record into tablenumb with
DecimalHandlingMode.DOUBLE
mode Assertions: - Connector is running - 1 Record are streamed out of
cdc - Assert cola, colb, colc, cold are exactly equal to the input values
in double format |
void |
decimalModeConfigPrecise()
Insert 1 Record into tablenumc with
DecimalHandlingMode.PRECISE
mode Assertions: - Connector is running - 1 Record are streamed out of
cdc - Assert cola, colb, colc, cold are bytes |
void |
decimalModeConfigString()
Insert 1 Record into tablenuma with
DecimalHandlingMode.STRING
mode Assertions: - Connector is running - 1 Record are streamed out of
cdc - Assert cola, colb, colc, cold are exactly equal to the input
values. |
assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeRecord, consumeRecords, consumeRecords, consumeRecordsByTopic, debug, getMaximumEnqueuedRecordCount, initializeConnectorTestFramework, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, start, start, start, start, stopConnector, stopConnector, validate, waitForAvailableRecordspublic void before()
throws SQLException
SQLExceptionpublic void after()
throws SQLException
SQLExceptionpublic void decimalModeConfigString()
throws Exception
DecimalHandlingMode.STRING
mode Assertions: - Connector is running - 1 Record are streamed out of
cdc - Assert cola, colb, colc, cold are exactly equal to the input
values.Exceptionpublic void decimalModeConfigDouble()
throws Exception
DecimalHandlingMode.DOUBLE
mode Assertions: - Connector is running - 1 Record are streamed out of
cdc - Assert cola, colb, colc, cold are exactly equal to the input values
in double formatExceptionpublic void decimalModeConfigPrecise()
throws Exception
DecimalHandlingMode.PRECISE
mode Assertions: - Connector is running - 1 Record are streamed out of
cdc - Assert cola, colb, colc, cold are bytesExceptionprivate void assertSchema(org.apache.kafka.connect.data.Struct valueA,
org.apache.kafka.connect.data.Schema expected)
Copyright © 2018 JBoss by Red Hat. All rights reserved.