Uses of Class
io.debezium.connector.oracle.Scn
Packages that use Scn
Package
Description
-
Uses of Scn in io.debezium.connector.oracle
Fields in io.debezium.connector.oracle declared as ScnModifier and TypeFieldDescriptionprivate ScnCommitScn.RedoThreadCommitScn.commitScnprivate ScnSourceInfo.eventScnstatic final ScnScn.MAXRepresents an Scn that implies the maximum possible value of an SCN, useful as a placeholder.static final ScnScn.NULLRepresents an Scn without a value.static final ScnScn.ONERepresents an Scn with value 1, useful for playing with inclusive/exclusive query boundaries.private ScnOracleOffsetContext.Builder.scnprivate ScnSourceInfo.scnprivate ScnOracleOffsetContext.Builder.snapshotScnprivate final ScnOracleOffsetContext.snapshotScnSCN that was used for the initial consistent snapshot.Fields in io.debezium.connector.oracle with type parameters of type ScnModifier and TypeFieldDescriptionprivate final AtomicReference<Scn>OracleStreamingChangeEventSourceMetrics.committedScnprivate final AtomicReference<Scn>OracleStreamingChangeEventSourceMetrics.currentScnprivate final AtomicReference<Scn>OracleStreamingChangeEventSourceMetrics.offsetScnprivate final AtomicReference<Scn>OracleStreamingChangeEventSourceMetrics.oldestScnOracleOffsetContext.Builder.snapshotPendingTransactionsOracleOffsetContext.snapshotPendingTransactionsMap of (txid, start SCN) for all transactions in progress at the time the snapshot was taken.Methods in io.debezium.connector.oracle that return ScnModifier and TypeMethodDescriptionReturns aSCnwhose value is(this + value).CommitScn.RedoThreadCommitScn.getCommitScn()CommitScn.getCommitScnForRedoThread(int thread) Get the commit scn associated with a specific redo thread.OracleConnection.getCurrentScn()Get the current, most recent system change number.OracleOffsetContext.getEventScn()SourceInfo.getEventScn()CommitScn.getMaxCommittedScn()Examines all redo threads and returns the maximum committed scn.OracleOffsetContext.getScn()SourceInfo.getScn()static ScnOracleOffsetContext.getScnFromOffsetMapByKey(Map<String, ?> offset, String key) Helper method to resolve aScnby key from the offset map.OracleOffsetContext.getSnapshotScn()static ScnOracleOffsetContext.loadSnapshotScn(Map<String, ?> offset) Helper method to read the snapshot SCN from the offset map.protected ScnAbstractStreamingAdapter.resolveScn(Document document) 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 ScnConstruct aScnfrom a string value.Methods in io.debezium.connector.oracle that return types with arguments of type ScnModifier and TypeMethodDescriptionCommitScn.getCommitScnForAllRedoThreads()Get the commit scns associated with all redo threads.AbstractStreamingAdapter.getLatestTableDdlScn(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<OraclePartition, OracleOffsetContext> ctx, OracleConnection connection) Returns the SCN of the latest DDL change to the captured tables.OracleOffsetContext.getSnapshotPendingTransactions()OracleOffsetContext.loadSnapshotPendingTransactions(Map<String, ?> offset) Helper method to read the in-progress transaction map from the offset map.Methods in io.debezium.connector.oracle with parameters of type ScnModifier and TypeMethodDescriptionReturns aSCnwhose value is(this + value).protected booleanAbstractStreamingAdapter.areSameTimestamp(Scn scn1, Scn scn2, OracleConnection connection) Checks whether the two specified system change numbers have the same timestamp.intintCompares thisScnwith the specifiedScn.OracleConnection.getScnToTimestamp(Scn scn) Resolve a system change number to a timestamp, return value is in database timezone.voidCommitScn.RedoThreadCommitScn.setCommitScn(Scn commitScn) voidCommitScn.setCommitScnOnAllThreads(Scn commitScn) Set the commit scn across all redo threads.voidOracleStreamingChangeEventSourceMetrics.setCommittedScn(Scn scn) voidOracleStreamingChangeEventSourceMetrics.setCurrentScn(Scn scn) voidOracleOffsetContext.setEventScn(Scn eventScn) voidSourceInfo.setEventScn(Scn eventScn) voidOracleStreamingChangeEventSourceMetrics.setOffsetScn(Scn scn) voidOracleStreamingChangeEventSourceMetrics.setOldestScn(Scn scn) voidvoidOracleOffsetContext.Builder.snapshotScn(Scn scn) Returns aScnwhose value is(this - value).Method parameters in io.debezium.connector.oracle with type arguments of type ScnModifier and TypeMethodDescriptionvoidOracleOffsetContext.setSnapshotPendingTransactions(Map<String, Scn> snapshotPendingTransactions) OracleOffsetContext.Builder.snapshotPendingTransactions(Map<String, Scn> snapshotPendingTransactions) Constructors in io.debezium.connector.oracle with parameters of type ScnModifierConstructorDescriptionOracleOffsetContext(OracleConnectorConfig connectorConfig, Scn scn, CommitScn commitScn, String lcrPosition, Scn snapshotScn, Map<String, Scn> snapshotPendingTransactions, boolean snapshot, boolean snapshotCompleted, TransactionContext transactionContext, IncrementalSnapshotContext<TableId> incrementalSnapshotContext) OracleOffsetContext(OracleConnectorConfig connectorConfig, Scn scn, String lcrPosition, Scn snapshotScn, Map<String, Scn> snapshotPendingTransactions, boolean snapshot, boolean snapshotCompleted, TransactionContext transactionContext, IncrementalSnapshotContext<TableId> incrementalSnapshotContext) RedoThreadCommitScn(int thread, Scn commitScn, Set<String> txIds) Constructor parameters in io.debezium.connector.oracle with type arguments of type ScnModifierConstructorDescriptionOracleOffsetContext(OracleConnectorConfig connectorConfig, Scn scn, CommitScn commitScn, String lcrPosition, Scn snapshotScn, Map<String, Scn> snapshotPendingTransactions, boolean snapshot, boolean snapshotCompleted, TransactionContext transactionContext, IncrementalSnapshotContext<TableId> incrementalSnapshotContext) OracleOffsetContext(OracleConnectorConfig connectorConfig, Scn scn, String lcrPosition, Scn snapshotScn, Map<String, Scn> snapshotPendingTransactions, boolean snapshot, boolean snapshotCompleted, TransactionContext transactionContext, IncrementalSnapshotContext<TableId> incrementalSnapshotContext) -
Uses of Scn in io.debezium.connector.oracle.logminer
Fields in io.debezium.connector.oracle.logminer declared as ScnModifier and TypeFieldDescriptionprivate ScnLogMinerStreamingChangeEventSource.endScnprivate final ScnLogFile.firstScnprivate final ScnLogFile.nextScnprivate ScnLogMinerStreamingChangeEventSource.snapshotScnprivate ScnLogMinerStreamingChangeEventSource.startScnMethods in io.debezium.connector.oracle.logminer that return ScnModifier and TypeMethodDescriptionprivate ScnLogMinerStreamingChangeEventSource.calculateEndScn(OracleConnection connection, Scn startScn, Scn prevEndScn) Calculates the mining session's end system change number.LogFile.getFirstScn()private ScnLogMinerStreamingChangeEventSource.getFirstScnInLogs(OracleConnection connection) Gets the first system change number in both archive and redo logs.private ScnLogMinerStreamingChangeEventSource.getMaxArchiveLogScn(List<LogFile> logFiles) Get the maximum archive log SCNprivate static ScnLogMinerHelper.getMinimumScn(List<LogFile> logs) LogFile.getNextScn()private ScnLogMinerAdapter.getOldestScnAvailableInLogs(OracleConnectorConfig config, OracleConnection connection) private static ScnLogMinerHelper.getScnFromString(String value) Methods in io.debezium.connector.oracle.logminer that return types with arguments of type ScnModifier and TypeMethodDescriptionLogMinerAdapter.getCurrentScn(Scn latestTableDdlScn, OracleConnection connection) LogMinerAdapter.getPendingTransactions(Scn latestTableDdlScn, OracleConnection connection, Map<String, Scn> transactions, String transactionTableName) Methods in io.debezium.connector.oracle.logminer with parameters of type ScnModifier and TypeMethodDescriptionstatic StringSqlUtils.allMinableLogsQuery(Scn scn, Duration archiveLogRetention, boolean archiveLogOnlyMode, String archiveDestinationName) Obtain a query to fetch all available minable logs, both archive and online redo logs.private ScnLogMinerStreamingChangeEventSource.calculateEndScn(OracleConnection connection, Scn startScn, Scn prevEndScn) Calculates the mining session's end system change number.private voidLogMinerStreamingChangeEventSource.computeStartScnForFirstMiningSession(OracleOffsetContext offsetContext, Scn firstScn) Computes the start SCN for the first mining session.private OracleOffsetContextLogMinerAdapter.determineSnapshotOffset(OracleConnectorConfig connectorConfig, OracleConnection connection, Scn currentScn, Map<String, Scn> pendingTransactions, String transactionTableName) LogMinerAdapter.getCurrentScn(Scn latestTableDdlScn, OracleConnection connection) LogMinerHelper.getLogFilesForOffsetScn(OracleConnection connection, Scn offsetScn, Duration archiveLogRetention, boolean archiveLogOnlyMode, String archiveDestinationName) Get all log files that should be mined.LogMinerAdapter.getOrderedLogsFromScn(OracleConnectorConfig config, Scn sinceScn, OracleConnection connection) LogMinerAdapter.getPendingTransactions(Scn latestTableDdlScn, OracleConnection connection, Map<String, Scn> transactions, String transactionTableName) private voidLogMinerAdapter.getPendingTransactionsFromLogs(OracleConnection connection, Scn currentScn, Map<String, Scn> pendingTransactions) static StringSqlUtils.getScnByTimeDeltaQuery(Scn scn, Duration duration) private static booleanLogMinerHelper.hasLogFilesStartingBeforeOrAtScn(List<LogFile> logs, Scn scn) private voidLogMinerStreamingChangeEventSource.initializeRedoLogsForMining(OracleConnection connection, boolean postEndMiningSession, Scn startScn) booleanLogFile.isScnInLogFileRange(Scn scn) private booleanLogMinerStreamingChangeEventSource.isStartScnInArchiveLogs(Scn startScn) Returns whether the starting system change number is in the archive logs.LogMinerHelper.setLogFilesForMining(OracleConnection connection, Scn lastProcessedScn, Duration archiveLogRetention, boolean archiveLogOnlyMode, String archiveDestinationName, int maxRetries, Duration initialDelay, Duration maxDelay) This method substitutes CONTINUOUS_MINE functionality(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 filesbooleanLogMinerStreamingChangeEventSource.startMiningSession(OracleConnection connection, Scn startScn, Scn endScn, int attempts) Starts a new Oracle LogMiner session.private booleanLogMinerStreamingChangeEventSource.waitForStartScnInArchiveLogs(ChangeEventSource.ChangeEventSourceContext context, Scn startScn) Waits for the starting system change number to exist in the archive logs before returning.Method parameters in io.debezium.connector.oracle.logminer with type arguments of type ScnModifier and TypeMethodDescriptionprivate OracleOffsetContextLogMinerAdapter.determineSnapshotOffset(OracleConnectorConfig connectorConfig, OracleConnection connection, Scn currentScn, Map<String, Scn> pendingTransactions, String transactionTableName) LogMinerAdapter.getPendingTransactions(Scn latestTableDdlScn, OracleConnection connection, Map<String, Scn> transactions, String transactionTableName) private voidLogMinerAdapter.getPendingTransactionsFromLogs(OracleConnection connection, Scn currentScn, Map<String, Scn> pendingTransactions) Constructors in io.debezium.connector.oracle.logminer with parameters of type ScnModifierConstructorDescriptionLogFile(String fileName, Scn firstScn, Scn nextScn, BigInteger sequence, LogFile.Type type, boolean current, int thread) Creates a log file that represents an online redo log record.LogFile(String fileName, Scn firstScn, Scn nextScn, BigInteger sequence, LogFile.Type type, int thread) Create a log file that represents an archived log record. -
Uses of Scn in io.debezium.connector.oracle.logminer.events
Fields in io.debezium.connector.oracle.logminer.events declared as ScnModifier and TypeFieldDescriptionprivate final ScnLogMinerEvent.scnprivate ScnLogMinerEventRow.scnMethods in io.debezium.connector.oracle.logminer.events that return ScnConstructors in io.debezium.connector.oracle.logminer.events with parameters of type ScnModifierConstructorDescriptionDmlEvent(EventType eventType, Scn scn, TableId tableId, String rowId, String rsId, Instant changeTime, LogMinerDmlEntry dmlEntry) LobEraseEvent(EventType eventType, Scn scn, TableId tableId, String rowId, String rsId, Instant changeTime) LobWriteEvent(EventType eventType, Scn scn, TableId tableId, String rowId, String rsId, Instant changeTime, String data, int offset, int length) LogMinerEvent(EventType eventType, Scn scn, TableId tableId, String rowId, String rsId, Instant changeTime) SelectLobLocatorEvent(EventType eventType, Scn scn, TableId tableId, String rowId, String rsId, Instant changeTime, LogMinerDmlEntry dmlEntry, String columnName, boolean binary) TruncateEvent(EventType eventType, Scn scn, TableId tableId, String rowId, String rsId, Instant changeTime, LogMinerDmlEntry dmlEntry) -
Uses of Scn in io.debezium.connector.oracle.logminer.logwriter
Methods in io.debezium.connector.oracle.logminer.logwriter with parameters of type Scn -
Uses of Scn in io.debezium.connector.oracle.logminer.processor
Fields in io.debezium.connector.oracle.logminer.processor declared as ScnModifier and TypeFieldDescriptionprivate ScnAbstractLogMinerEventProcessor.currentOffsetScnprivate ScnAbstractLogMinerEventProcessor.lastProcessedScnprivate final ScnAbstractTransaction.startScnFields in io.debezium.connector.oracle.logminer.processor with type parameters of type ScnMethods in io.debezium.connector.oracle.logminer.processor that return ScnModifier and TypeMethodDescriptionprotected abstract ScnAbstractLogMinerEventProcessor.calculateNewStartScn(Scn endScn, Scn maxCommittedScn) Calculates the new starting system change number based on the current processing range.protected ScnAbstractLogMinerEventProcessor.getLastProcessedScn()Return the last processed system change number handled by the processor.AbstractTransaction.getStartScn()Transaction.getStartScn()Get the system change number of when the transaction startedprotected abstract ScnAbstractLogMinerEventProcessor.getTransactionCacheMinimumScn()Gets the minimum system change number stored in the transaction cache.Process Oracle LogMiner events for a given system change number range.Methods in io.debezium.connector.oracle.logminer.processor with parameters of type ScnModifier and TypeMethodDescriptionprotected abstract ScnAbstractLogMinerEventProcessor.calculateNewStartScn(Scn endScn, Scn maxCommittedScn) Calculates the new starting system change number based on the current processing range.protected abstract voidAbstractLogMinerEventProcessor.finalizeTransactionCommit(String transactionId, Scn commitScn) Finalizes the commit of a transaction.protected abstract voidAbstractLogMinerEventProcessor.finalizeTransactionRollback(String transactionId, Scn rollbackScn) Finalizes the rollback the specified transactionProcess Oracle LogMiner events for a given system change number range.protected voidAbstractLogMinerEventProcessor.warnPotentiallyStuckScn(Scn previousOffsetScn, Map<Integer, Scn> previousOffsetCommitScns) Checks to see whether the offset'sscnis remaining the same across multiple mining sessions while the offset'scommit_scnis changing between sessions.Method parameters in io.debezium.connector.oracle.logminer.processor with type arguments of type ScnModifier and TypeMethodDescriptionprotected voidAbstractLogMinerEventProcessor.warnPotentiallyStuckScn(Scn previousOffsetScn, Map<Integer, Scn> previousOffsetCommitScns) Checks to see whether the offset'sscnis remaining the same across multiple mining sessions while the offset'scommit_scnis changing between sessions.Constructors in io.debezium.connector.oracle.logminer.processor with parameters of type ScnModifierConstructorDescriptionAbstractTransaction(String transactionId, Scn startScn, Instant changeTime, String userName) -
Uses of Scn in io.debezium.connector.oracle.logminer.processor.infinispan
Methods in io.debezium.connector.oracle.logminer.processor.infinispan that return ScnModifier and TypeMethodDescriptionprotected ScnAbstractInfinispanLogMinerEventProcessor.calculateNewStartScn(Scn endScn, Scn maxCommittedScn) protected ScnEmbeddedInfinispanLogMinerEventProcessor.getTransactionCacheMinimumScn()protected ScnRemoteInfinispanLogMinerEventProcessor.getTransactionCacheMinimumScn()Methods in io.debezium.connector.oracle.logminer.processor.infinispan with parameters of type ScnModifier and TypeMethodDescriptionprotected ScnAbstractInfinispanLogMinerEventProcessor.calculateNewStartScn(Scn endScn, Scn maxCommittedScn) protected voidAbstractInfinispanLogMinerEventProcessor.finalizeTransactionCommit(String transactionId, Scn commitScn) protected voidAbstractInfinispanLogMinerEventProcessor.finalizeTransactionRollback(String transactionId, Scn rollbackScn) Constructors in io.debezium.connector.oracle.logminer.processor.infinispan with parameters of type ScnModifierConstructorDescriptionInfinispanTransaction(String transactionId, Scn startScn, Instant changeTime, String userName) InfinispanTransaction(String transactionId, Scn startScn, Instant changeTime, String userName, int numberOfEvents) -
Uses of Scn in io.debezium.connector.oracle.logminer.processor.memory
Fields in io.debezium.connector.oracle.logminer.processor.memory with type parameters of type ScnModifier and TypeFieldDescriptionMemoryLogMinerEventProcessor.recentlyProcessedTransactionsCacheCache of processed transactions (committed or rolled back), keyed based on the transaction's unique identifier.MemoryLogMinerEventProcessor.schemaChangesCacheMethods in io.debezium.connector.oracle.logminer.processor.memory that return ScnModifier and TypeMethodDescriptionprotected ScnMemoryLogMinerEventProcessor.calculateNewStartScn(Scn endScn, Scn maxCommittedScn) private ScnMemoryLogMinerEventProcessor.getLastScnToAbandonFallbackByTransactionChangeTime(Duration retention) Calculates the last system change number to abandon by directly examining the transaction buffer cache and comparing the transaction start time to the most recent last processed change time and comparing the difference to the configured transaction retention policy.protected ScnMemoryLogMinerEventProcessor.getTransactionCacheMinimumScn()Methods in io.debezium.connector.oracle.logminer.processor.memory that return types with arguments of type ScnModifier and TypeMethodDescriptionMemoryLogMinerEventProcessor.getLastScnToAbandon(OracleConnection connection, Duration retention) Calculates the SCN as a watermark to abandon for long running transactions.Methods in io.debezium.connector.oracle.logminer.processor.memory with parameters of type ScnModifier and TypeMethodDescriptionprotected ScnMemoryLogMinerEventProcessor.calculateNewStartScn(Scn endScn, Scn maxCommittedScn) protected voidMemoryLogMinerEventProcessor.finalizeTransactionCommit(String transactionId, Scn commitScn) protected voidMemoryLogMinerEventProcessor.finalizeTransactionRollback(String transactionId, Scn rollbackScn) Constructors in io.debezium.connector.oracle.logminer.processor.memory with parameters of type ScnModifierConstructorDescriptionMemoryTransaction(String transactionId, Scn startScn, Instant changeTime, String userName) -
Uses of Scn in io.debezium.connector.oracle.xstream
Fields in io.debezium.connector.oracle.xstream declared as ScnMethods in io.debezium.connector.oracle.xstream that return ScnMethods in io.debezium.connector.oracle.xstream with parameters of type ScnModifier and TypeMethodDescriptionprivate byte[]XstreamStreamingChangeEventSource.convertScnToPosition(Scn scn) private voidXstreamStreamingChangeEventSource.sendPublishedPosition(LcrPosition lcrPosition, Scn scn)