public enum Connectors extends java.lang.Enum<Connectors>
| Enum Constant and Description |
|---|
DB2 |
MYSQL |
ORACLE |
POSTGRES |
SQLSERVER |
| Modifier and Type | Method and Description |
|---|---|
static Connectors |
fromName(java.lang.String connectorName)
Returns a connector class corresponding to the given connector name.
|
@NonNull java.lang.Class<? extends org.apache.kafka.connect.source.SourceConnector> |
getConnector()
Class connector to debezium.
|
java.lang.String |
getName()
The name of this connector class.
|
static Connectors |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Connectors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connectors MYSQL
public static final Connectors POSTGRES
public static final Connectors SQLSERVER
public static final Connectors ORACLE
public static final Connectors DB2
public static Connectors[] values()
for (Connectors c : Connectors.values()) System.out.println(c);
public static Connectors valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public @NonNull java.lang.Class<? extends org.apache.kafka.connect.source.SourceConnector> getConnector()
public static Connectors fromName(java.lang.String connectorName)
connectorName - The name of the connector. Ex.: MySQL