Enum Class OracleConnectorConfig.TransactionSnapshotBoundaryMode

java.lang.Object
java.lang.Enum<OracleConnectorConfig.TransactionSnapshotBoundaryMode>
io.debezium.connector.oracle.OracleConnectorConfig.TransactionSnapshotBoundaryMode
All Implemented Interfaces:
EnumeratedValue, Serializable, Comparable<OracleConnectorConfig.TransactionSnapshotBoundaryMode>, Constable
Enclosing class:
OracleConnectorConfig

public static enum OracleConnectorConfig.TransactionSnapshotBoundaryMode extends Enum<OracleConnectorConfig.TransactionSnapshotBoundaryMode> implements EnumeratedValue
Controls how in-progress transactions that occur just before and at the snapshot boundary are to be handled by the connector when transitioning to the streaming phase.
  • Enum Constant Details

    • SKIP

      Specifies that the in-progress transaction support at the snapshot boundary should be skipped and that only transactions committed prior to the snapshot SCN and those that are started after the snapshot SCN will be captured.
    • TRANSACTION_VIEW_ONLY

      public static final OracleConnectorConfig.TransactionSnapshotBoundaryMode TRANSACTION_VIEW_ONLY
      Specifies that in-progress transactions that are available in the V$TRANSACTION table will be captured and emitted when streaming begins. If a transaction is not in this view, and its changes were not captured by Oracle Flashback query based on the snapshot SCN, that transaction will not be captured.
    • ALL

      Specifies that in-progress transactions identified in the V$TRANSACTION table as well as any in-progress transactions as of the current SCN that may have been committed immediately prior to or at the snapshot SCN will be captured. This is done by starting a special LogMiner session to gather these transactions prior to starting the snapshot.
  • Field Details

    • value

      private final String value
  • Constructor Details

    • TransactionSnapshotBoundaryMode

      private TransactionSnapshotBoundaryMode(String value)
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Specified by:
      getValue in interface EnumeratedValue
    • parse

      Determine if the supplied value is one of the predefined options.
      Parameters:
      value - the configuration property value; may not be null
      Returns:
      the matching option, or null if no match is found
    • parse

      public static OracleConnectorConfig.TransactionSnapshotBoundaryMode parse(String value, String defaultValue)
      Determine if the supplied value is one of the predefined options.
      Parameters:
      value - the configuration property value; may not be null
      defaultValue - the default value; may be null
      Returns:
      the matching option, or null if no match is found and the non-null default is invalid