Package io.debezium.connector.oracle
Enum OracleConnectorConfig.TransactionSnapshotBoundaryMode
java.lang.Object
java.lang.Enum<OracleConnectorConfig.TransactionSnapshotBoundaryMode>
io.debezium.connector.oracle.OracleConnectorConfig.TransactionSnapshotBoundaryMode
- All Implemented Interfaces:
EnumeratedValue,Serializable,Comparable<OracleConnectorConfig.TransactionSnapshotBoundaryMode>
- 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 Summary
Enum ConstantsEnum ConstantDescriptionSpecifies that in-progress transactions identified in theV$TRANSACTIONtable 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.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.Specifies that in-progress transactions that are available in theV$TRANSACTIONtable will be captured and emitted when streaming begins. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Determine if the supplied value is one of the predefined options.Determine if the supplied value is one of the predefined options.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
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
Specifies that in-progress transactions that are available in theV$TRANSACTIONtable 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 theV$TRANSACTIONtable 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
-
-
Constructor Details
-
TransactionSnapshotBoundaryMode
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
- Specified by:
getValuein interfaceEnumeratedValue
-
parse
Determine if the supplied value is one of the predefined options.- Parameters:
value- the configuration property value; may not benull- 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 benulldefaultValue- the default value; may benull- Returns:
- the matching option, or null if no match is found and the non-null default is invalid
-