Class LogMinerHelperTest


  • public class LogMinerHelperTest
    extends Object
    • Field Detail

      • connection

        private io.debezium.connector.oracle.OracleConnection connection
      • current

        private int current
      • mockRows

        private String[][] mockRows
    • Constructor Detail

      • LogMinerHelperTest

        public LogMinerHelperTest()
    • Method Detail

      • logsWithRegularScns

        public void logsWithRegularScns()
                                 throws Exception
        Throws:
        Exception
      • excludeLogsBeforeOffsetScn

        public void excludeLogsBeforeOffsetScn()
                                        throws Exception
        Throws:
        Exception
      • nullsHandledAsMaxScn

        public void nullsHandledAsMaxScn()
                                  throws Exception
        Throws:
        Exception
      • logsWithVeryLargeScnAreSupported

        public void logsWithVeryLargeScnAreSupported()
                                              throws Exception
        Throws:
        Exception
      • archiveLogsWithRegularScns

        public void archiveLogsWithRegularScns()
                                        throws Exception
        Throws:
        Exception
      • archiveExcludeLogsBeforeOffsetScn

        public void archiveExcludeLogsBeforeOffsetScn()
                                               throws Exception
        Throws:
        Exception
      • archiveNullsHandledAsMaxScn

        public void archiveNullsHandledAsMaxScn()
                                         throws Exception
        Throws:
        Exception
      • archiveLogsWithVeryLargeScnAreSupported

        public void archiveLogsWithVeryLargeScnAreSupported()
                                                     throws Exception
        Throws:
        Exception
      • getLogFileNextScnByName

        private static io.debezium.connector.oracle.Scn getLogFileNextScnByName​(List<io.debezium.connector.oracle.logminer.LogFile> logs,
                                                                                String name)