Package solutions.a2.cdc.oracle
Class OraCdcDistributedV$ArchivedLogImpl
java.lang.Object
solutions.a2.cdc.oracle.OraCdcDistributedV$ArchivedLogImpl
- All Implemented Interfaces:
OraLogMiner
Wrapper for LogMiner operations (remote V$ARCHIVED_LOG as source) implementation
For more information please read
https://docs.oracle.com/en/database/oracle/oracle-database/21/sutil/oracle-logminer-utility.html
Figure 22-1 and it description https://docs.oracle.com/en/database/oracle/oracle-database/21/sutil/img_text/remote_config.html
- Author:
- Aleksei Veremeev
-
Constructor Summary
ConstructorsConstructorDescriptionOraCdcDistributedV$ArchivedLogImpl(Connection connLogMiner, OraCdcLogMinerMgmtIntf metrics, long firstChange, OraCdcSourceConnectorConfig config, CountDownLatch runLatch, OraRdbmsInfo rdbmsInfo, OraConnectionObjects oraConnections) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateStatements(Connection connLogMiner) booleanextend()longgetDbId()booleanbooleannext()Prepare LogMiner (exec DBMS_LOGMNR.START_LOGMNR) for given connectionvoidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface solutions.a2.cdc.oracle.OraLogMiner
isOracleConnectionRequired
-
Constructor Details
-
OraCdcDistributedV$ArchivedLogImpl
public OraCdcDistributedV$ArchivedLogImpl(Connection connLogMiner, OraCdcLogMinerMgmtIntf metrics, long firstChange, OraCdcSourceConnectorConfig config, CountDownLatch runLatch, OraRdbmsInfo rdbmsInfo, OraConnectionObjects oraConnections) throws SQLException - Throws:
SQLException
-
-
Method Details
-
createStatements
- Specified by:
createStatementsin interfaceOraLogMiner- Throws:
SQLException
-
next
Prepare LogMiner (exec DBMS_LOGMNR.START_LOGMNR) for given connection- Specified by:
nextin interfaceOraLogMiner- Returns:
- - true if LogMiner prepared, false if no more redo files available
- Throws:
SQLException
-
extend
- Specified by:
extendin interfaceOraLogMiner- Throws:
SQLException
-
stop
- Specified by:
stopin interfaceOraLogMiner- Throws:
SQLException
-
isDictionaryAvailable
public boolean isDictionaryAvailable()- Specified by:
isDictionaryAvailablein interfaceOraLogMiner
-
getDbId
public long getDbId()- Specified by:
getDbIdin interfaceOraLogMiner
-
getDbUniqueName
- Specified by:
getDbUniqueNamein interfaceOraLogMiner
-