Package io.debezium.connector.oracle
Class OracleRawDataTypeIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.oracle.OracleRawDataTypeIT
- All Implemented Interfaces:
Testing
Integration tests for RAW data type support.
- Author:
- Chris Cranford
-
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.oracle.OracleConnectionprivate static final Stringprivate static final intfinal org.junit.rules.TestRuleFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, isEngineRunning, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()private static org.apache.kafka.connect.data.Structafter(org.apache.kafka.connect.source.SourceRecord record) private static voidassertFieldIsUnavailablePlaceholder(org.apache.kafka.connect.data.Struct after, String fieldName, Configuration config) voidbefore()private static org.apache.kafka.connect.data.Structbefore(org.apache.kafka.connect.source.SourceRecord record) private Configuration.Builderprivate static Stringvoidvoidvoidvoidvoidprivate static StringMethods 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, consumeAvailableRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsButSkipUntil, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, createEngine, createEngineBuilder, debug, getConsumer, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, storeOffsets, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForEngineShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
RAW_LENGTH
private static final int RAW_LENGTH- See Also:
-
RAW_DATA
-
skipAdapterRule
public final org.junit.rules.TestRule skipAdapterRule -
connection
private io.debezium.connector.oracle.OracleConnection connection
-
-
Constructor Details
-
OracleRawDataTypeIT
public OracleRawDataTypeIT()
-
-
Method Details
-
before
public void before() -
after
- Throws:
Exception
-
shouldSnapshotTableWithRawColumnType
- Throws:
Exception
-
shouldStreamTableWithRawColumnType
- Throws:
Exception
-
shouldStreamTableWithRawTypeColumnAndOtherNonLobColumns
@FixFor("DBZ-3605") public void shouldStreamTableWithRawTypeColumnAndOtherNonLobColumns() throws Exception- Throws:
Exception
-
shouldStreamTableWithNoPrimaryKeyWithRawTypeColumn
@FixFor("DBZ-3605") public void shouldStreamTableWithNoPrimaryKeyWithRawTypeColumn() throws Exception- Throws:
Exception
-
shouldStreamTableWithRawTypeColumnAndAnotherLobColumn
@FixFor("DBZ-3605") public void shouldStreamTableWithRawTypeColumnAndAnotherLobColumn() throws Exception- Throws:
Exception
-
getDefaultConfig
-
topicName
-
before
private static org.apache.kafka.connect.data.Struct before(org.apache.kafka.connect.source.SourceRecord record) -
after
private static org.apache.kafka.connect.data.Struct after(org.apache.kafka.connect.source.SourceRecord record) -
part
-