Package io.debezium.connector.sqlserver
Class IncrementalSnapshotIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<T>
io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>
io.debezium.connector.sqlserver.IncrementalSnapshotIT
- All Implemented Interfaces:
Testing
public class IncrementalSnapshotIT
extends AbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
AbstractConnectorTest.SourceRecordsNested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate io.debezium.connector.sqlserver.SqlServerConnectionFields inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
DB_HISTORY_PATH, ROW_COUNTFields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()protected StringalterColumnDropDefaultStatement(String table, String column, String type) protected StringalterColumnDropNotNullStatement(String table, String column, String type) protected StringalterColumnSetDefaultStatement(String table, String column, String type, String defaultValue) protected StringalterColumnSetNotNullStatement(String table, String column, String type) protected StringalterColumnStatement(String table, String column, String type) voidbefore()protected Configuration.Builderconfig()protected Class<io.debezium.connector.sqlserver.SqlServerConnector>protected StringcreateTableStatement(String newTable, String copyTable) protected JdbcConnectionprotected voidexecuteRenameTable(JdbcConnection connection, String newTable) protected voidprotected Stringprotected Stringprotected Stringprotected StringMethods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotWithSchemaChangesSupportTest
columnDefaultChanges, columnNullabilityChanges, renameTable, schemaChangesMethods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
alterTableAddColumnStatement, alterTableDropColumnStatement, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, getMaximumEnqueuedRecordCount, inserts, invalidTablesInTheList, pkFieldName, populate4PkTable, populateTable, populateTable, sendAdHocSnapshotSignal, sendAdHocSnapshotSignal, snapshotOnly, snapshotOnlyWithRestart, snapshotPreceededBySchemaChange, startConnector, startConnector, startConnector, startConnector, tableDataCollectionId, updates, updatesLargeChunk, updatesWithRestart, valueFieldName, waitForConnectorToStartMethods inherited from class io.debezium.embedded.AbstractConnectorTest
assertBeginTransaction, assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEndTransaction, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertOnlyTransactionRecordsToConsume, assertRecordTransactionMetadata, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
connection
private io.debezium.connector.sqlserver.SqlServerConnection connection -
skipRule
-
-
Constructor Details
-
IncrementalSnapshotIT
public IncrementalSnapshotIT()
-
-
Method Details
-
before
- Throws:
SQLException
-
after
- Throws:
SQLException
-
populateTable
- Overrides:
populateTablein classAbstractIncrementalSnapshotTest<io.debezium.connector.sqlserver.SqlServerConnector>- Throws:
SQLException
-
connectorClass
- Specified by:
connectorClassin classAbstractIncrementalSnapshotTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
databaseConnection
- Specified by:
databaseConnectionin classAbstractIncrementalSnapshotTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
topicName
- Specified by:
topicNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
tableName
- Specified by:
tableNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
tableName
- Specified by:
tableNamein classAbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
signalTableName
- Specified by:
signalTableNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
alterColumnStatement
- Specified by:
alterColumnStatementin classAbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
alterColumnSetNotNullStatement
- Specified by:
alterColumnSetNotNullStatementin classAbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
alterColumnDropNotNullStatement
- Specified by:
alterColumnDropNotNullStatementin classAbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
alterColumnSetDefaultStatement
protected String alterColumnSetDefaultStatement(String table, String column, String type, String defaultValue) - Specified by:
alterColumnSetDefaultStatementin classAbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
alterColumnDropDefaultStatement
- Specified by:
alterColumnDropDefaultStatementin classAbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
executeRenameTable
- Specified by:
executeRenameTablein classAbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>- Throws:
SQLException
-
createTableStatement
- Specified by:
createTableStatementin classAbstractIncrementalSnapshotWithSchemaChangesSupportTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
config
- Specified by:
configin classAbstractIncrementalSnapshotTest<io.debezium.connector.sqlserver.SqlServerConnector>
-