- java.lang.Object
-
- java.lang.Enum<AlterSessionOperation>
-
- net.sf.jsqlparser.statement.alter.AlterSessionOperation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AlterSessionOperation>
public enum AlterSessionOperation extends java.lang.Enum<AlterSessionOperation>
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
AlterSessionOperation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlterSessionOperation
from(java.lang.String operation)
static AlterSessionOperation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AlterSessionOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADVISE_COMMIT
public static final AlterSessionOperation ADVISE_COMMIT
-
ADVISE_ROLLBACK
public static final AlterSessionOperation ADVISE_ROLLBACK
-
ADVISE_NOTHING
public static final AlterSessionOperation ADVISE_NOTHING
-
CLOSE_DATABASE_LINK
public static final AlterSessionOperation CLOSE_DATABASE_LINK
-
ENABLE_COMMIT_IN_PROCEDURE
public static final AlterSessionOperation ENABLE_COMMIT_IN_PROCEDURE
-
DISABLE_COMMIT_IN_PROCEDURE
public static final AlterSessionOperation DISABLE_COMMIT_IN_PROCEDURE
-
ENABLE_GUARD
public static final AlterSessionOperation ENABLE_GUARD
-
DISABLE_GUARD
public static final AlterSessionOperation DISABLE_GUARD
-
ENABLE_PARALLEL_DML
public static final AlterSessionOperation ENABLE_PARALLEL_DML
-
DISABLE_PARALLEL_DML
public static final AlterSessionOperation DISABLE_PARALLEL_DML
-
FORCE_PARALLEL_DML
public static final AlterSessionOperation FORCE_PARALLEL_DML
-
ENABLE_PARALLEL_DDL
public static final AlterSessionOperation ENABLE_PARALLEL_DDL
-
DISABLE_PARALLEL_DDL
public static final AlterSessionOperation DISABLE_PARALLEL_DDL
-
FORCE_PARALLEL_DDL
public static final AlterSessionOperation FORCE_PARALLEL_DDL
-
ENABLE_PARALLEL_QUERY
public static final AlterSessionOperation ENABLE_PARALLEL_QUERY
-
DISABLE_PARALLEL_QUERY
public static final AlterSessionOperation DISABLE_PARALLEL_QUERY
-
FORCE_PARALLEL_QUERY
public static final AlterSessionOperation FORCE_PARALLEL_QUERY
-
ENABLE_RESUMABLE
public static final AlterSessionOperation ENABLE_RESUMABLE
-
DISABLE_RESUMABLE
public static final AlterSessionOperation DISABLE_RESUMABLE
-
SET
public static final AlterSessionOperation SET
-
-
Method Detail
-
values
public static AlterSessionOperation[] 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 (AlterSessionOperation c : AlterSessionOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlterSessionOperation 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 AlterSessionOperation from(java.lang.String operation)
-
-