Class OracleBlobDataTypesIT

  • All Implemented Interfaces:
    Testing

    public class OracleBlobDataTypesIT
    extends AbstractConnectorTest
    Integration tests for BLOB data type support.
    Author:
    Chris Cranford
    • Field Detail

      • BIN_DATA

        private static final byte[] BIN_DATA
      • skipAdapterRule

        public final org.junit.rules.TestRule skipAdapterRule
      • connection

        private io.debezium.connector.oracle.OracleConnection connection
    • Constructor Detail

      • OracleBlobDataTypesIT

        public OracleBlobDataTypesIT()
    • Method Detail

      • before

        public void before()
      • shouldSnapshotBlobDataTypes

        @FixFor("DBZ-2948")
        public void shouldSnapshotBlobDataTypes()
                                         throws Exception
        Throws:
        Exception
      • shouldStreamSmallBlobDataTypeValues

        @FixFor("DBZ-2948")
        public void shouldStreamSmallBlobDataTypeValues()
                                                 throws Exception
        Throws:
        Exception
      • shouldStreamSmallBlobDataTypeValuesWithNonBlobFields

        @FixFor("DBZ-2948")
        public void shouldStreamSmallBlobDataTypeValuesWithNonBlobFields()
                                                                  throws Exception
        Throws:
        Exception
      • shouldStreamLargeBlobDataTypeValues

        @FixFor("DBZ-2948")
        public void shouldStreamLargeBlobDataTypeValues()
                                                 throws Exception
        Throws:
        Exception
      • shouldStreamLargeBlobDataTypeValuesWithNonBlobFields

        @FixFor("DBZ-2948")
        public void shouldStreamLargeBlobDataTypeValuesWithNonBlobFields()
                                                                  throws Exception
        Throws:
        Exception
      • shouldStreamMixedBlobDataTypeValuesWithNonBlobFieldsSameTable

        @FixFor("DBZ-2948")
        public void shouldStreamMixedBlobDataTypeValuesWithNonBlobFieldsSameTable()
                                                                           throws Exception
        Throws:
        Exception
      • shouldNotStreamAnyChangesWhenLobEraseIsDetected

        @FixFor("DBZ-2948")
        public void shouldNotStreamAnyChangesWhenLobEraseIsDetected()
                                                             throws Exception
        Throws:
        Exception
      • shouldStreamBlobFieldsWithPrimaryKeyChange

        @FixFor("DBZ-2948")
        public void shouldStreamBlobFieldsWithPrimaryKeyChange()
                                                        throws Exception
        Throws:
        Exception
      • part

        private static byte[] part​(byte[] buffer,
                                   int start,
                                   int length)
      • 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)
      • topicName

        private static String topicName​(String tableName)
      • readBinaryData

        private static byte[] readBinaryData​(String pathOnClasspath)