public enum CreateMode extends java.lang.Enum<CreateMode>
| Enum Constant and Description |
|---|
CREATE
Create the database.
|
CREATE_AND_REPLACE
Create and replace the database.
|
CREATE_IF_NOT_EXISTS
Create the database if it doesn't exist.
|
NONE
Do not create the database.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateMode NONE
public static final CreateMode CREATE
public static final CreateMode CREATE_IF_NOT_EXISTS
public static final CreateMode CREATE_AND_REPLACE
public static CreateMode[] values()
for (CreateMode c : CreateMode.values()) System.out.println(c);
public static CreateMode 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 null