Uses of Class
io.debezium.connector.oracle.Scn
-
-
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.static ScnScn. ONERepresents an Scn with value 1, useful for playing with inclusive/exclusive query boundaries.private ScnOracleOffsetContext.Builder. scnprivate ScnSourceInfo. scnprivate ScnOracleOffsetContext.Builder. snapshotScnprivate ScnOracleOffsetContext. snapshotScnSCN that was used for the initial consistent snapshot.Fields 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. oldestScnprivate Map<String,Scn>OracleOffsetContext.Builder. snapshotPendingTransactionsprivate Map<String,Scn>OracleOffsetContext. 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 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.ScnOracleConnection. getMaxArchiveLogScn(String archiveLogDestinationName)Get the maximum system change number in the archive logs.ScnOracleOffsetContext. getScn()ScnSourceInfo. getScn()static ScnOracleOffsetContext. getScnFromOffsetMapByKey(Map<String,?> offset, String key)Helper method to resolve aScnby key from the offset map.ScnOracleOffsetContext. getSnapshotScn()static ScnOracleOffsetContext. loadSnapshotScn(Map<String,?> offset)Helper method to read the snapshot SCN 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<OraclePartition,OracleOffsetContext> ctx)Returns the SCN of the latest DDL change to the captured tables.Map<String,Scn>OracleOffsetContext. getSnapshotPendingTransactions()private Map<String,Scn>OracleSnapshotChangeEventSource. getSnapshotPendingTransactions(Scn snapshotSCN)Returns a map of transaction id to start SCN for all ongoing transactions before snapshotSCN.static Map<String,Scn>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 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.Optional<OffsetDateTime>OracleConnection. getScnToTimestamp(Scn scn)Resolve a system change number to a timestamp, return value is in database timezone.private Map<String,Scn>OracleSnapshotChangeEventSource. getSnapshotPendingTransactions(Scn snapshotSCN)Returns a map of transaction id to start SCN for all ongoing transactions before snapshotSCN.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)OracleOffsetContext.BuilderOracleOffsetContext.Builder. snapshotScn(Scn scn)ScnScn. subtract(Scn value)Returns aScnwhose value is(this - value).Method parameters in io.debezium.connector.oracle with type arguments of type Scn Modifier and Type Method Description voidOracleOffsetContext. setSnapshotPendingTransactions(Map<String,Scn> snapshotPendingTransactions)OracleOffsetContext.BuilderOracleOffsetContext.Builder. snapshotPendingTransactions(Map<String,Scn> snapshotPendingTransactions)Constructors in io.debezium.connector.oracle with parameters of type Scn Constructor Description OracleOffsetContext(OracleConnectorConfig connectorConfig, Scn scn, Scn 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)Constructor parameters in io.debezium.connector.oracle with type arguments of type Scn Constructor Description OracleOffsetContext(OracleConnectorConfig connectorConfig, Scn scn, Scn 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 Scn Modifier and Type Field Description private ScnLogMinerStreamingChangeEventSource. endScnprivate ScnLogFile. firstScnprivate ScnLogFile. nextScnprivate ScnLogMinerStreamingChangeEventSource. snapshotScnprivate ScnLogMinerStreamingChangeEventSource. startScnMethods in io.debezium.connector.oracle.logminer that return Scn Modifier and Type Method Description private ScnLogMinerStreamingChangeEventSource. calculateEndScn(OracleConnection connection, Scn startScn, Scn prevEndScn)Calculates the mining session's end system change number.ScnLogFile. getFirstScn()private ScnLogMinerStreamingChangeEventSource. getFirstScnInLogs(OracleConnection connection)Gets the first system change number in both archive and redo logs.private static ScnLogMinerHelper. getMinimumScn(List<LogFile> logs)ScnLogFile. getNextScn()private static ScnLogMinerHelper. getScnFromString(String value)Methods in io.debezium.connector.oracle.logminer with parameters of type Scn Modifier and Type Method Description static 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.static StringSqlUtils. diffInDaysQuery(Scn scn)This method return query which converts given SCN in days and deduct from the current daystatic List<LogFile>LogMinerHelper. getLogFilesForOffsetScn(OracleConnection connection, Scn offsetScn, Duration archiveLogRetention, boolean archiveLogOnlyMode, String archiveDestinationName)Get all log files that should be mined.private static booleanLogMinerHelper. hasLogFilesStartingBeforeOrAtScn(List<LogFile> logs, Scn scn)private voidLogMinerStreamingChangeEventSource. initializeRedoLogsForMining(OracleConnection connection, boolean postEndMiningSession, Scn startScn)private booleanLogMinerStreamingChangeEventSource. isStartScnInArchiveLogs(Scn startScn)Returns whether the starting system change number is in the archive logs.static List<BigInteger>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 filesvoidLogMinerStreamingChangeEventSource. startMiningSession(OracleConnection connection, Scn startScn, Scn endScn)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.Constructors in io.debezium.connector.oracle.logminer with parameters of type Scn Constructor Description LogFile(String fileName, Scn firstScn, Scn nextScn, BigInteger sequence, LogFile.Type type)Create a log file that represents an archived log record.LogFile(String fileName, Scn firstScn, Scn nextScn, BigInteger sequence, LogFile.Type type, boolean current)Creates a log file that represents an online redo log record. -
Uses of Scn in io.debezium.connector.oracle.logminer.events
Fields in io.debezium.connector.oracle.logminer.events declared as Scn Modifier and Type Field Description private ScnLogMinerEvent. scnprivate ScnLogMinerEventRow. scnMethods in io.debezium.connector.oracle.logminer.events that return Scn Modifier and Type Method Description ScnLogMinerEvent. getScn()ScnLogMinerEventRow. getScn()private ScnLogMinerEventRow. getScn(ResultSet rs)Constructors in io.debezium.connector.oracle.logminer.events with parameters of type Scn Constructor Description DmlEvent(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 Modifier and Type Method Description voidCommitLogWriterFlushStrategy. flush(Scn currentScn)voidLogWriterFlushStrategy. flush(Scn currentScn)Perform the Oracle LGWR process flush.voidRacCommitLogWriterFlushStrategy. flush(Scn currentScn) -
Uses of Scn in io.debezium.connector.oracle.logminer.processor
Fields in io.debezium.connector.oracle.logminer.processor declared as Scn Modifier and Type Field Description private ScnAbstractLogMinerEventProcessor. currentOffsetCommitScnprivate ScnAbstractLogMinerEventProcessor. currentOffsetScnprivate ScnAbstractLogMinerEventProcessor. lastCommittedScnprivate ScnAbstractLogMinerEventProcessor. lastProcessedScnprivate ScnAbstractLogMinerEventProcessor. maxCommittedScnprivate ScnAbstractTransaction. startScnMethods in io.debezium.connector.oracle.logminer.processor that return Scn Modifier and Type Method Description protected 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.ScnAbstractTransaction. getStartScn()ScnTransaction. 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.ScnAbstractLogMinerEventProcessor. process(OraclePartition partition, Scn startScn, Scn endScn)ScnLogMinerEventProcessor. process(OraclePartition partition, Scn startScn, Scn endScn)Process Oracle LogMiner events for a given system change number range.Methods in io.debezium.connector.oracle.logminer.processor with parameters of type Scn Modifier and Type Method Description protected 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 transactionprotected booleanAbstractLogMinerEventProcessor. isTransactionAlreadyProcessed(Scn commitScn, Scn offsetCommitScn)Checks whether the transaction commit system change number has already been processed.ScnAbstractLogMinerEventProcessor. process(OraclePartition partition, Scn startScn, Scn endScn)ScnLogMinerEventProcessor. process(OraclePartition partition, Scn startScn, Scn endScn)Process Oracle LogMiner events for a given system change number range.protected voidAbstractLogMinerEventProcessor. warnPotentiallyStuckScn(Scn previousOffsetScn, Scn previousOffsetCommitScn)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 Scn Constructor Description AbstractTransaction(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 Scn Modifier and Type Method Description protected 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 Scn Modifier and Type Method Description protected 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 Scn Constructor Description InfinispanTransaction(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 Scn Modifier and Type Field Description private Map<String,Scn>MemoryLogMinerEventProcessor. recentlyProcessedTransactionsCacheCache of processed transactions (committed or rolled back), keyed based on the transaction's unique identifier.private Set<Scn>MemoryLogMinerEventProcessor. schemaChangesCacheMethods in io.debezium.connector.oracle.logminer.processor.memory that return Scn Modifier and Type Method Description protected ScnMemoryLogMinerEventProcessor. calculateNewStartScn(Scn endScn, Scn maxCommittedScn)protected ScnMemoryLogMinerEventProcessor. getTransactionCacheMinimumScn()Methods in io.debezium.connector.oracle.logminer.processor.memory that return types with arguments of type Scn Modifier and Type Method Description protected Optional<Scn>MemoryLogMinerEventProcessor. getLastScnToAbandon(OracleConnection connection, Scn offsetScn, 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 Scn Modifier and Type Method Description protected ScnMemoryLogMinerEventProcessor. calculateNewStartScn(Scn endScn, Scn maxCommittedScn)protected voidMemoryLogMinerEventProcessor. finalizeTransactionCommit(String transactionId, Scn commitScn)protected voidMemoryLogMinerEventProcessor. finalizeTransactionRollback(String transactionId, Scn rollbackScn)protected Optional<Scn>MemoryLogMinerEventProcessor. getLastScnToAbandon(OracleConnection connection, Scn offsetScn, Duration retention)Calculates the SCN as a watermark to abandon for long running transactions.Constructors in io.debezium.connector.oracle.logminer.processor.memory with parameters of type Scn Constructor Description MemoryTransaction(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 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)
-