Uses of Class
io.debezium.connector.oracle.Scn
-
Packages that use Scn Package Description io.debezium.connector.oracle io.debezium.connector.oracle.logminer io.debezium.connector.oracle.xstream -
-
Uses of Scn in io.debezium.connector.oracle
Fields in io.debezium.connector.oracle declared as Scn Modifier and Type Field Description private ScnSourceInfo. commitScnstatic ScnScn. MAXRepresents an Scn that implies the maximum possible value of an SCN, useful as a placeholder.static ScnScn. NULLRepresents an Scn without a value.private ScnOracleOffsetContext.Builder. scnprivate ScnSourceInfo. scnFields in io.debezium.connector.oracle with type parameters of type Scn Modifier and Type Field Description private AtomicReference<Scn>OracleStreamingChangeEventSourceMetrics. committedScnprivate AtomicReference<Scn>OracleStreamingChangeEventSourceMetrics. currentScnprivate AtomicReference<Scn>OracleStreamingChangeEventSourceMetrics. offsetScnprivate AtomicReference<Scn>OracleStreamingChangeEventSourceMetrics. oldestScnMethods in io.debezium.connector.oracle that return Scn Modifier and Type Method Description ScnScn. add(Scn value)Returns aSCnwhose value is(this + value).ScnOracleOffsetContext. getCommitScn()ScnSourceInfo. getCommitScn()ScnOracleConnection. getCurrentScn()Get the current, most recent system change number.private ScnOracleSnapshotChangeEventSource. getCurrentScn(AbstractSnapshotChangeEventSource.SnapshotContext<OracleOffsetContext> ctx)ScnOracleOffsetContext. getScn()ScnSourceInfo. getScn()static ScnOracleOffsetContext. getScnFromOffsetMapByKey(Map<String,?> offset, String key)Helper method to resolve aScnby key from the offset map.protected ScnAbstractStreamingAdapter. resolveScn(Document document)ScnScn. subtract(Scn value)Returns aScnwhose value is(this - value).static ScnScn. valueOf(int value)Construct aScnfrom an integer value.static ScnScn. valueOf(long value)Construct aScnfrom a long value.static ScnScn. valueOf(String value)Construct aScnfrom a string value.Methods in io.debezium.connector.oracle that return types with arguments of type Scn Modifier and Type Method Description private Optional<Scn>OracleSnapshotChangeEventSource. getLatestTableDdlScn(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<OracleOffsetContext> ctx)Returns the SCN of the latest DDL change to the captured tables.Methods in io.debezium.connector.oracle with parameters of type Scn Modifier and Type Method Description ScnScn. add(Scn value)Returns aSCnwhose value is(this + value).private booleanOracleSnapshotChangeEventSource. areSameTimestamp(Scn scn1, Scn scn2)Whether the two SCNs represent the same timestamp or not (resolution is only 3 seconds).intScn. compareTo(Scn o)Compares thisScnwith the specifiedScn.OracleOffsetContext.BuilderOracleOffsetContext.Builder. scn(Scn scn)voidOracleOffsetContext. setCommitScn(Scn commitScn)voidSourceInfo. setCommitScn(Scn commitScn)voidOracleStreamingChangeEventSourceMetrics. setCommittedScn(Scn scn)voidOracleStreamingChangeEventSourceMetrics. setCurrentScn(Scn scn)voidOracleStreamingChangeEventSourceMetrics. setOffsetScn(Scn scn)voidOracleStreamingChangeEventSourceMetrics. setOldestScn(Scn scn)voidOracleOffsetContext. setScn(Scn scn)voidSourceInfo. setScn(Scn scn)ScnScn. subtract(Scn value)Returns aScnwhose value is(this - value).Constructors in io.debezium.connector.oracle with parameters of type Scn Constructor Description OracleOffsetContext(OracleConnectorConfig connectorConfig, Scn scn, Scn commitScn, String lcrPosition, boolean snapshot, boolean snapshotCompleted, TransactionContext transactionContext)OracleOffsetContext(OracleConnectorConfig connectorConfig, Scn scn, String lcrPosition, boolean snapshot, boolean snapshotCompleted, TransactionContext transactionContext) -
Uses of Scn in io.debezium.connector.oracle.logminer
Fields in io.debezium.connector.oracle.logminer declared as Scn Modifier and Type Field Description private ScnTransactionalBuffer.RecentlyCommittedTransaction. commitScnprivate ScnLogMinerQueryResultProcessor. currentOffsetCommitScnprivate ScnLogMinerQueryResultProcessor. currentOffsetScnprivate ScnLogMinerStreamingChangeEventSource. endScnprivate ScnLogFile. firstScnprivate ScnTransactionalBuffer.RecentlyCommittedTransaction. firstScnprivate ScnTransactionalBuffer.Transaction. firstScnprivate ScnTransactionalBuffer. lastCommittedScnprivate ScnTransactionalBuffer.Transaction. lastScnprivate ScnTransactionalBuffer. maxCommittedScnprivate ScnLogFile. nextScnprivate ScnTransactionalBuffer.LogMinerEvent. scnprivate ScnLogMinerStreamingChangeEventSource. startScnFields in io.debezium.connector.oracle.logminer with type parameters of type Scn Modifier and Type Field Description private AtomicReference<Scn>TransactionalBufferMetrics. committedScnprivate AtomicReference<Scn>TransactionalBufferMetrics. offsetScnprivate AtomicReference<Scn>TransactionalBufferMetrics. oldestScnMethods in io.debezium.connector.oracle.logminer that return Scn Modifier and Type Method Description private ScnTransactionalBuffer. calculateSmallestScn()ScnTransactionalBuffer.RecentlyCommittedTransaction. getCommitScn()(package private) static ScnLogMinerHelper. getEndScn(OracleConnection connection, Scn startScn, OracleStreamingChangeEventSourceMetrics streamingMetrics, int defaultBatchSize)This method returns next SCN for mining and also updates streaming metrics.(package private) static ScnLogMinerHelper. getFirstOnlineLogScn(OracleConnection connection, Duration archiveLogRetention)This method fetches the oldest SCN from online redo log filesScnLogFile. getFirstScn()ScnTransactionalBuffer.RecentlyCommittedTransaction. getFirstScn()ScnLogFile. getNextScn()static ScnRowMapper. getScn(ResultSet rs)ScnTransactionalBuffer.LogMinerEvent. getScn()private static ScnLogMinerHelper. getScnFromString(String value)(package private) ScnTransactionalBuffer. updateOffsetContext(OracleOffsetContext offsetContext)Update the offset context based on the current state of the transaction buffer.Methods in io.debezium.connector.oracle.logminer that return types with arguments of type Scn Modifier and Type Method Description static Optional<Scn>LogMinerHelper. getLastScnToAbandon(OracleConnection connection, Scn offsetScn, Duration transactionRetention)This method calculates SCN as a watermark to abandon long lasting transactions.Methods in io.debezium.connector.oracle.logminer with parameters of type Scn Modifier and Type Method Description (package private) voidTransactionalBuffer. abandonLongTransactions(Scn thresholdScn, OracleOffsetContext offsetContext)If for some reason the connector got restarted, the offset will point to the beginning of the oldest captured transaction.static StringSqlUtils. allMinableLogsQuery(Scn scn, Duration archiveLogRetention, boolean archiveLogOnlyMode)Obtain a query to fetch all available minable logs, both archive and online redo logs.(package private) booleanTransactionalBuffer. commit(String transactionId, Scn scn, OracleOffsetContext offsetContext, Timestamp timestamp, ChangeEventSource.ChangeEventSourceContext context, String debugMessage, EventDispatcher<TableId> dispatcher)Commits a transaction by looking up the transaction in the buffer and if exists, all registered callbacks will be executed in chronological order, emitting events for each followed by a transaction commit event.static StringSqlUtils. diffInDaysQuery(Scn scn)This method return query which converts given SCN in days and deduct from the current dayprivate static voidLogMinerHelper. flushRacLogWriters(Scn currentScn, JdbcConfiguration config, Set<String> racHosts)Oracle RAC has one LogWriter per node (instance), we have to flush them all We cannot use a query like from gv_instance view to get all the nodes, because not all nodes could be load balanced.(package private) static ScnLogMinerHelper. getEndScn(OracleConnection connection, Scn startScn, OracleStreamingChangeEventSourceMetrics streamingMetrics, int defaultBatchSize)This method returns next SCN for mining and also updates streaming metrics.static Optional<Scn>LogMinerHelper. getLastScnToAbandon(OracleConnection connection, Scn offsetScn, Duration transactionRetention)This method calculates SCN as a watermark to abandon long lasting transactions.static List<LogFile>LogMinerHelper. getLogFilesForOffsetScn(OracleConnection connection, Scn offsetScn, Duration archiveLogRetention, boolean archiveLogOnlyMode)Get all log files that should be mined.static StringRowMapper. getSqlRedo(ResultSet rs, boolean isDml, HistoryRecorder historyRecorder, Scn scn, String tableName, String segOwner, int operationCode, Timestamp changeTime, String txId)It constructs REDO_SQL.private voidLogMinerStreamingChangeEventSource. initializeRedoLogsForMining(OracleConnection connection, boolean postEndMiningSession, Duration archiveLogRetention, Scn startScn)voidHistoryRecorder. record(Scn scn, String tableName, String segOwner, int operationCode, Timestamp changeTime, String transactionId, int csf, String redoSql)Records the LogMiner entry.voidNeverHistoryRecorder. record(Scn scn, String tableName, String segOwner, int operationCode, Timestamp changeTime, String transactionId, int csf, String redoSql)(package private) voidTransactionalBuffer. registerDmlOperation(int operation, String transactionId, Scn scn, TableId tableId, LogMinerDmlEntry parseEntry, Instant changeTime, String rowId, Object rsId, long hash)Register a DML operation with the transaction buffer.private voidTransactionalBuffer. registerEvent(String transactionId, Scn scn, long hash, Supplier<TransactionalBuffer.LogMinerEvent> supplier)Helper method to register a givenTransactionalBuffer.LogMinerEventimplementation with the buffer.(package private) voidTransactionalBuffer. registerLobEraseOperation(int operation, String transactionId, Scn scn, TableId tableId, Instant changeTime, String rowId, Object rsId, long hash)Register aLOB_ERASEoperation with the transction buffer.(package private) voidTransactionalBuffer. registerLobWriteOperation(int operation, String transactionId, Scn scn, TableId tableId, String data, Instant changeTime, String rowId, Object rsId, long hash)Register aLOB_WRITEoperation with the transaction buffer.(package private) voidTransactionalBuffer. registerSelectLobOperation(int operation, String transactionId, Scn scn, TableId tableId, LogMinerDmlEntry parseEntry, String columnName, boolean binaryData, Instant changeTime, String rowId, Object rsId, long hash)Register aSEL_LOB_LOCATORoperation with the transaction buffer.(package private) voidTransactionalBuffer. registerTransaction(String transactionId, Scn scn)Register a new transaction with the transaction buffer.voidTransactionalBufferMetrics. setCommittedScn(Scn scn)static voidLogMinerHelper. setLogFilesForMining(OracleConnection connection, Scn lastProcessedScn, Duration archiveLogRetention, boolean archiveLogOnlyMode)This method substitutes CONTINUOUS_MINE functionalityvoidTransactionalBufferMetrics. setOffsetScn(Scn scn)(package private) voidTransactionalBufferMetrics. setOldestScn(Scn scn)(package private) static StringSqlUtils. startLogMinerStatement(Scn startScn, Scn endScn, OracleConnectorConfig.LogMiningStrategy strategy, boolean isContinuousMining)This returns statement to build LogMiner view for online redo log files(package private) static voidLogMinerHelper. startLogMining(OracleConnection connection, Scn startScn, Scn endScn, OracleConnectorConfig.LogMiningStrategy strategy, boolean isContinuousMining, OracleStreamingChangeEventSourceMetrics streamingMetrics)This method builds mining view to query changes from.Constructors in io.debezium.connector.oracle.logminer with parameters of type Scn Constructor Description DmlEvent(int operation, LogMinerDmlEntry entry, Scn scn, TableId tableId, String rowId, Object rsId)LobEraseEvent(int operation, Scn scn, TableId tableId, String rowId, Object rsId)LobWriteEvent(int operation, String data, Scn scn, TableId tableId, String rowId, Object rsId)LogFile(String fileName, Scn firstScn, Scn nextScn, Long sequence, LogFile.Type type)Create a log file that represents an archived log record.LogFile(String fileName, Scn firstScn, Scn nextScn, Long sequence, LogFile.Type type, boolean current)Creates a log file that represents an online redo log record.LogMinerEvent(int operation, LogMinerDmlEntry entry, Scn scn, TableId tableId, String rowId, Object rsId)RecentlyCommittedTransaction(TransactionalBuffer.Transaction transaction, Scn commitScn)SelectLobLocatorEvent(int operation, LogMinerDmlEntry entry, String columnName, boolean binaryData, Scn scn, TableId tableId, String rowId, Object rsId)Transaction(String transactionId, Scn firstScn) -
Uses of Scn in io.debezium.connector.oracle.xstream
Fields in io.debezium.connector.oracle.xstream declared as Scn Modifier and Type Field Description private ScnLcrPosition. scnMethods in io.debezium.connector.oracle.xstream that return Scn Modifier and Type Method Description ScnLcrPosition. getScn()Methods in io.debezium.connector.oracle.xstream with parameters of type Scn Modifier and Type Method Description private byte[]XstreamStreamingChangeEventSource. convertScnToPosition(Scn scn)private voidXstreamStreamingChangeEventSource. sendPublishedPosition(LcrPosition lcrPosition, Scn scn)
-