public static enum InsertWorker.Mode extends Enum<InsertWorker.Mode>
| Enum Constant and Description |
|---|
Insert |
OnDuplicateKeyUpdate |
Update |
| Modifier and Type | Method and Description |
|---|---|
static InsertWorker.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InsertWorker.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InsertWorker.Mode Insert
public static final InsertWorker.Mode OnDuplicateKeyUpdate
public static final InsertWorker.Mode Update
public static InsertWorker.Mode[] values()
for (InsertWorker.Mode c : InsertWorker.Mode.values()) System.out.println(c);
public static InsertWorker.Mode 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 nullCopyright © 2017. All rights reserved.