Enum Constant and Description |
---|
delete_insert
First delete the row, then insert a new one.
|
insert
Just insert the row, if already exist fails.
|
update
Just try to update the row, if does not already exist, fails.
|
update_insert
Try updating the row, if no exist, then try inserting.
|
Modifier and Type | Method and Description |
---|---|
static InitType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InitType update
public static final InitType insert
public static final InitType update_insert
public static final InitType delete_insert
public static InitType[] values()
for (InitType c : InitType.values()) System.out.println(c);
public static InitType 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