Package org.apache.metamodel.jdbc
Enum JdbcUtils.JdbcActionType
- java.lang.Object
-
- java.lang.Enum<JdbcUtils.JdbcActionType>
-
- org.apache.metamodel.jdbc.JdbcUtils.JdbcActionType
-
- All Implemented Interfaces:
Serializable,Comparable<JdbcUtils.JdbcActionType>
- Enclosing class:
- JdbcUtils
public static enum JdbcUtils.JdbcActionType extends Enum<JdbcUtils.JdbcActionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMIT_ROLLBACKMETADATAOTHERQUERYUPDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JdbcUtils.JdbcActionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static JdbcUtils.JdbcActionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUERY
public static final JdbcUtils.JdbcActionType QUERY
-
UPDATE
public static final JdbcUtils.JdbcActionType UPDATE
-
METADATA
public static final JdbcUtils.JdbcActionType METADATA
-
COMMIT_ROLLBACK
public static final JdbcUtils.JdbcActionType COMMIT_ROLLBACK
-
OTHER
public static final JdbcUtils.JdbcActionType OTHER
-
-
Method Detail
-
values
public static JdbcUtils.JdbcActionType[] 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 (JdbcUtils.JdbcActionType c : JdbcUtils.JdbcActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JdbcUtils.JdbcActionType 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
-
-