|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DatabaseType>
org.apache.flume.channel.jdbc.DatabaseType
public enum DatabaseType
Enum Constant Summary | |
---|---|
DERBY
Apache Derby |
|
MYSQL
MySQL |
|
ORACLE
Oracle |
|
OTHER
All other databases |
|
POSTGRESQL
PostgreSQL |
Method Summary | |
---|---|
static DatabaseType |
getByName(String dbName)
|
String |
getName()
|
String |
getValidationQuery()
|
String |
toString()
|
static DatabaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DatabaseType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DatabaseType OTHER
public static final DatabaseType DERBY
public static final DatabaseType MYSQL
public static final DatabaseType POSTGRESQL
public static final DatabaseType ORACLE
Method Detail |
---|
public static DatabaseType[] values()
for (DatabaseType c : DatabaseType.values()) System.out.println(c);
public static DatabaseType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<DatabaseType>
public String getName()
public String getValidationQuery()
public static DatabaseType getByName(String dbName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |