- java.lang.Object
-
- java.lang.Enum<Sequence.ParameterType>
-
- net.sf.jsqlparser.schema.Sequence.ParameterType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Sequence.ParameterType>
- Enclosing class:
- Sequence
public static enum Sequence.ParameterType extends java.lang.Enum<Sequence.ParameterType>
The available parameters to a sequence
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHE
CYCLE
GLOBAL
INCREMENT_BY
KEEP
MAXVALUE
MINVALUE
NOCACHE
NOCYCLE
NOKEEP
NOMAXVALUE
NOMINVALUE
NOORDER
ORDER
RESTART_WITH
SESSION
START_WITH
-
Constructor Summary
Constructors Modifier Constructor Description private
ParameterType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Sequence.ParameterType
from(java.lang.String type)
static Sequence.ParameterType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Sequence.ParameterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCREMENT_BY
public static final Sequence.ParameterType INCREMENT_BY
-
START_WITH
public static final Sequence.ParameterType START_WITH
-
RESTART_WITH
public static final Sequence.ParameterType RESTART_WITH
-
MAXVALUE
public static final Sequence.ParameterType MAXVALUE
-
NOMAXVALUE
public static final Sequence.ParameterType NOMAXVALUE
-
MINVALUE
public static final Sequence.ParameterType MINVALUE
-
NOMINVALUE
public static final Sequence.ParameterType NOMINVALUE
-
CYCLE
public static final Sequence.ParameterType CYCLE
-
NOCYCLE
public static final Sequence.ParameterType NOCYCLE
-
CACHE
public static final Sequence.ParameterType CACHE
-
NOCACHE
public static final Sequence.ParameterType NOCACHE
-
ORDER
public static final Sequence.ParameterType ORDER
-
NOORDER
public static final Sequence.ParameterType NOORDER
-
KEEP
public static final Sequence.ParameterType KEEP
-
NOKEEP
public static final Sequence.ParameterType NOKEEP
-
SESSION
public static final Sequence.ParameterType SESSION
-
GLOBAL
public static final Sequence.ParameterType GLOBAL
-
-
Method Detail
-
values
public static Sequence.ParameterType[] 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 (Sequence.ParameterType c : Sequence.ParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Sequence.ParameterType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
from
public static Sequence.ParameterType from(java.lang.String type)
-
-