Package io.debezium.connector.oracle
Enum OracleConnectorConfig.ConnectorAdapter
- java.lang.Object
-
- java.lang.Enum<OracleConnectorConfig.ConnectorAdapter>
-
- io.debezium.connector.oracle.OracleConnectorConfig.ConnectorAdapter
-
- All Implemented Interfaces:
EnumeratedValue,Serializable,Comparable<OracleConnectorConfig.ConnectorAdapter>
- Enclosing class:
- OracleConnectorConfig
public static enum OracleConnectorConfig.ConnectorAdapter extends Enum<OracleConnectorConfig.ConnectorAdapter> implements EnumeratedValue
-
-
Constructor Summary
Constructors Modifier Constructor Description privateConnectorAdapter(String value)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringgetConnectionUrl()abstract StreamingAdaptergetInstance(OracleConnectorConfig connectorConfig)StringgetValue()static OracleConnectorConfig.ConnectorAdapterparse(String value)Determine if the supplied value is one of the predefined options.static OracleConnectorConfig.ConnectorAdapterparse(String value, String defaultValue)static OracleConnectorConfig.ConnectorAdaptervalueOf(String name)Returns the enum constant of this type with the specified name.static OracleConnectorConfig.ConnectorAdapter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XSTREAM
public static final OracleConnectorConfig.ConnectorAdapter XSTREAM
This is based on XStream API.
-
LOG_MINER
public static final OracleConnectorConfig.ConnectorAdapter LOG_MINER
This is based on LogMiner utility.
-
-
Field Detail
-
value
private final String value
-
-
Constructor Detail
-
ConnectorAdapter
private ConnectorAdapter(String value)
-
-
Method Detail
-
values
public static OracleConnectorConfig.ConnectorAdapter[] 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.ConnectorAdapter c : OracleConnectorConfig.ConnectorAdapter.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.ConnectorAdapter 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
-
getConnectionUrl
public abstract String getConnectionUrl()
-
getInstance
public abstract StreamingAdapter getInstance(OracleConnectorConfig connectorConfig)
-
getValue
public String getValue()
- Specified by:
getValuein interfaceEnumeratedValue
-
parse
public static OracleConnectorConfig.ConnectorAdapter 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.ConnectorAdapter parse(String value, String defaultValue)
-
-