public static enum Data.InsertionMode extends java.lang.Enum<Data.InsertionMode>
Enum Constant and Description |
---|
INSERT
A new row for each record.
|
OVERWRITE
Overwrite following rows before inserting new rows.
|
Modifier and Type | Method and Description |
---|---|
static Data.InsertionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Data.InsertionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Data.InsertionMode INSERT
public static final Data.InsertionMode OVERWRITE
public static Data.InsertionMode[] values()
for (Data.InsertionMode c : Data.InsertionMode.values()) System.out.println(c);
public static Data.InsertionMode 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