public enum UpsertType extends Enum<UpsertType>
| Enum Constant and Description |
|---|
INSERT_OR_ABORT |
INSERT_OR_FAIL |
INSERT_OR_IGNORE |
INSERT_OR_REPLACE |
INSERT_OR_ROLLBACK |
REPLACE |
REPLACE_SET |
UPSERT |
| Modifier and Type | Method and Description |
|---|---|
static UpsertType |
from(String type) |
static UpsertType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpsertType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpsertType UPSERT
public static final UpsertType REPLACE
public static final UpsertType REPLACE_SET
public static final UpsertType INSERT_OR_ABORT
public static final UpsertType INSERT_OR_FAIL
public static final UpsertType INSERT_OR_IGNORE
public static final UpsertType INSERT_OR_REPLACE
public static final UpsertType INSERT_OR_ROLLBACK
public static UpsertType[] values()
for (UpsertType c : UpsertType.values()) System.out.println(c);
public static UpsertType 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 nullpublic static UpsertType from(String type)
Copyright © 2004–2024 JSQLParser. All rights reserved.