|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ApiScmDbInfo.ScmDbType> com.cloudera.api.model.ApiScmDbInfo.ScmDbType
public static enum ApiScmDbInfo.ScmDbType
Enum for Cloudera Manager DB type. Note that DERBY and SQLITE3 are not supported DBs
Enum Constant Summary | |
---|---|
DERBY
derby db, not supported |
|
HSQL
hsql db, in memory version |
|
MYSQL
mysql db |
|
ORACLE
oracle db |
|
POSTGRESQL
postgresql db |
|
SQLITE3
sqlite3 db, not supported |
Method Summary | |
---|---|
static ApiScmDbInfo.ScmDbType |
convert(String str)
|
static ApiScmDbInfo.ScmDbType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ApiScmDbInfo.ScmDbType[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ApiScmDbInfo.ScmDbType MYSQL
public static final ApiScmDbInfo.ScmDbType POSTGRESQL
public static final ApiScmDbInfo.ScmDbType HSQL
public static final ApiScmDbInfo.ScmDbType ORACLE
public static final ApiScmDbInfo.ScmDbType DERBY
public static final ApiScmDbInfo.ScmDbType SQLITE3
Method Detail |
---|
public static ApiScmDbInfo.ScmDbType[] values()
for (ApiScmDbInfo.ScmDbType c : ApiScmDbInfo.ScmDbType.values()) System.out.println(c);
public static ApiScmDbInfo.ScmDbType 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 static ApiScmDbInfo.ScmDbType convert(String str)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |