Package io.debezium.connector.oracle
Enum OracleConnectorConfig.LogMiningBufferType
- java.lang.Object
-
- java.lang.Enum<OracleConnectorConfig.LogMiningBufferType>
-
- io.debezium.connector.oracle.OracleConnectorConfig.LogMiningBufferType
-
- All Implemented Interfaces:
EnumeratedValue,Serializable,Comparable<OracleConnectorConfig.LogMiningBufferType>
- Enclosing class:
- OracleConnectorConfig
public static enum OracleConnectorConfig.LogMiningBufferType extends Enum<OracleConnectorConfig.LogMiningBufferType> implements EnumeratedValue
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INFINISPANDeprecated.use eitherINFINISPAN_EMBEDDEDorINFINISPAN_REMOTE.INFINISPAN_EMBEDDEDINFINISPAN_REMOTEMEMORY
-
Constructor Summary
Constructors Modifier Constructor Description privateLogMiningBufferType(String value)
-
Method Summary
-
-
-
Enum Constant Detail
-
MEMORY
public static final OracleConnectorConfig.LogMiningBufferType MEMORY
-
INFINISPAN
@Deprecated public static final OracleConnectorConfig.LogMiningBufferType INFINISPAN
Deprecated.use eitherINFINISPAN_EMBEDDEDorINFINISPAN_REMOTE.
-
INFINISPAN_EMBEDDED
public static final OracleConnectorConfig.LogMiningBufferType INFINISPAN_EMBEDDED
-
INFINISPAN_REMOTE
public static final OracleConnectorConfig.LogMiningBufferType INFINISPAN_REMOTE
-
-
Field Detail
-
value
private final String value
-
-
Constructor Detail
-
LogMiningBufferType
private LogMiningBufferType(String value)
-
-
Method Detail
-
values
public static OracleConnectorConfig.LogMiningBufferType[] 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.LogMiningBufferType c : OracleConnectorConfig.LogMiningBufferType.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.LogMiningBufferType 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
-
createProcessor
public abstract LogMinerEventProcessor createProcessor(ChangeEventSource.ChangeEventSourceContext context, OracleConnectorConfig connectorConfig, OracleConnection connection, EventDispatcher<OraclePartition,TableId> dispatcher, OraclePartition partition, OracleOffsetContext offsetContext, OracleDatabaseSchema schema, OracleStreamingChangeEventSourceMetrics metrics)
Creates the buffer type's specific processor implementation
-
getValue
public String getValue()
- Specified by:
getValuein interfaceEnumeratedValue
-
isInfinispan
public boolean isInfinispan()
-
isInfinispanEmbedded
public boolean isInfinispanEmbedded()
-
parse
public static OracleConnectorConfig.LogMiningBufferType parse(String value)
-
parse
private static OracleConnectorConfig.LogMiningBufferType parse(String value, String defaultValue)
-
-