Enum OracleConnectorConfig.LogMiningQueryFilterMode

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

public static enum OracleConnectorConfig.LogMiningQueryFilterMode extends Enum<OracleConnectorConfig.LogMiningQueryFilterMode> implements EnumeratedValue
  • Enum Constant Details

    • NONE

      This filter mode does not add any predicates to the LogMiner query, all filtering of change data is done at runtime in the connector's Java code. This is the default mode.
    • IN

      This filter mode adds predicates to the LogMiner query, using standard SQL in-clause semantics. This mode expects that the include/exclude connector properties specify schemas and tables without regular expressions. This option may be the best performing option when there is substantially more data in the redo logs compared to the data wanting to be captured at the trade-off that the connector configuration is a bit more verbose with include/exclude filters.
    • REGEX

      This filter mode adds predicates to the LogMiner query, using the Oracle REGEXP_LIKE operator. This mode supports the include/exclude connector properties specifying regular expressions. For the best performance, it's generally a good idea to limit the number of REGEXP_LIKE operators in the query as it's treated similar to the LIKE operator which often does not perform well on large data sets. The number of REGEXP_LIKE operators can be reduced by specifying complex regular expressions where a single expression can potentially match multiple schemas or tables.
  • Field Details

    • value

      private final String value
  • Constructor Details

    • LogMiningQueryFilterMode

      private LogMiningQueryFilterMode(String value)
  • 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 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