- java.lang.Object
-
- java.lang.Enum<InsertModifierPriority>
-
- net.sf.jsqlparser.statement.insert.InsertModifierPriority
-
- All Implemented Interfaces:
Serializable
,Comparable<InsertModifierPriority>
public enum InsertModifierPriority extends Enum<InsertModifierPriority>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELAYED
HIGH_PRIORITY
IGNORE
LOW_PRIORITY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InsertModifierPriority
from(String priority)
static InsertModifierPriority
valueOf(String name)
Returns the enum constant of this type with the specified name.static InsertModifierPriority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOW_PRIORITY
public static final InsertModifierPriority LOW_PRIORITY
-
DELAYED
public static final InsertModifierPriority DELAYED
-
HIGH_PRIORITY
public static final InsertModifierPriority HIGH_PRIORITY
-
IGNORE
public static final InsertModifierPriority IGNORE
-
-
Method Detail
-
values
public static InsertModifierPriority[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InsertModifierPriority c : InsertModifierPriority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InsertModifierPriority valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
from
public static final InsertModifierPriority from(String priority)
-
-