Package io.debezium.connector.oracle
Enum OracleConnectorConfig.LogMiningStrategy
- java.lang.Object
-
- java.lang.Enum<OracleConnectorConfig.LogMiningStrategy>
-
- io.debezium.connector.oracle.OracleConnectorConfig.LogMiningStrategy
-
- All Implemented Interfaces:
EnumeratedValue,Serializable,Comparable<OracleConnectorConfig.LogMiningStrategy>
- Enclosing class:
- OracleConnectorConfig
public static enum OracleConnectorConfig.LogMiningStrategy extends Enum<OracleConnectorConfig.LogMiningStrategy> implements EnumeratedValue
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATALOG_IN_REDOThis strategy uses LogMiner with data dictionary in REDO LOG files.ONLINE_CATALOGThis strategy uses LogMiner with data dictionary in online catalog.
-
Constructor Summary
Constructors Modifier Constructor Description privateLogMiningStrategy(String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static OracleConnectorConfig.LogMiningStrategyparse(String value)Determine if the supplied value is one of the predefined options.static OracleConnectorConfig.LogMiningStrategyparse(String value, String defaultValue)static OracleConnectorConfig.LogMiningStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static OracleConnectorConfig.LogMiningStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONLINE_CATALOG
public static final OracleConnectorConfig.LogMiningStrategy ONLINE_CATALOG
This strategy uses LogMiner with data dictionary in online catalog. This option will not capture DDL , but acts fast on REDO LOG switch events This option does not use CONTINUOUS_MINE option
-
CATALOG_IN_REDO
public static final OracleConnectorConfig.LogMiningStrategy CATALOG_IN_REDO
This strategy uses LogMiner with data dictionary in REDO LOG files. This option will capture DDL, but will develop some lag on REDO LOG switch event and will eventually catch up This option does not use CONTINUOUS_MINE option This is default value
-
-
Field Detail
-
value
private final String value
-
-
Constructor Detail
-
LogMiningStrategy
private LogMiningStrategy(String value)
-
-
Method Detail
-
values
public static OracleConnectorConfig.LogMiningStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OracleConnectorConfig.LogMiningStrategy c : OracleConnectorConfig.LogMiningStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OracleConnectorConfig.LogMiningStrategy valueOf(String name)
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
public String getValue()
- Specified by:
getValuein interfaceEnumeratedValue
-
parse
public static OracleConnectorConfig.LogMiningStrategy parse(String value)
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.LogMiningStrategy parse(String value, String defaultValue)
-
-