public enum TableCreationMode extends Enum<TableCreationMode>
Enum Constant and Description |
---|
CREATE
Create the table.
|
CREATE_NOT_EXISTS
Create the table only if it doesn't already exist.
|
DROP_CREATE
Drop the existing table and create a new table.
|
Modifier and Type | Method and Description |
---|---|
static TableCreationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableCreationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableCreationMode CREATE
public static final TableCreationMode CREATE_NOT_EXISTS
public static final TableCreationMode DROP_CREATE
public static TableCreationMode[] values()
for (TableCreationMode c : TableCreationMode.values()) System.out.println(c);
public static TableCreationMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null