Package com.im.commons.db.ddl
Enum DBDatabaseInfo.DatabaseOperation
- java.lang.Object
-
- java.lang.Enum<DBDatabaseInfo.DatabaseOperation>
-
- com.im.commons.db.ddl.DBDatabaseInfo.DatabaseOperation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DBDatabaseInfo.DatabaseOperation>
- Enclosing interface:
- DBDatabaseInfo
public static enum DBDatabaseInfo.DatabaseOperation extends java.lang.Enum<DBDatabaseInfo.DatabaseOperation>
Types of database operations. This enumeration is used inDBDatabaseInfo.getUnsupportedDatabaseOperations()
method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOINCREMENT
BOOLEAN_COLUMN_TYPE
LOB_PREFETCH
REBUILD_INDEX
RENAME_COLUMN
SELECT_DISTINCT_WITH_ORDER_BY_WHEN_COLUMN_NOT_AMONG_SELECT_COLS
SEQUENCES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DBDatabaseInfo.DatabaseOperation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DBDatabaseInfo.DatabaseOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOINCREMENT
public static final DBDatabaseInfo.DatabaseOperation AUTOINCREMENT
-
BOOLEAN_COLUMN_TYPE
public static final DBDatabaseInfo.DatabaseOperation BOOLEAN_COLUMN_TYPE
-
SELECT_DISTINCT_WITH_ORDER_BY_WHEN_COLUMN_NOT_AMONG_SELECT_COLS
public static final DBDatabaseInfo.DatabaseOperation SELECT_DISTINCT_WITH_ORDER_BY_WHEN_COLUMN_NOT_AMONG_SELECT_COLS
-
SEQUENCES
public static final DBDatabaseInfo.DatabaseOperation SEQUENCES
-
REBUILD_INDEX
public static final DBDatabaseInfo.DatabaseOperation REBUILD_INDEX
-
RENAME_COLUMN
public static final DBDatabaseInfo.DatabaseOperation RENAME_COLUMN
-
LOB_PREFETCH
public static final DBDatabaseInfo.DatabaseOperation LOB_PREFETCH
-
-
Method Detail
-
values
public static DBDatabaseInfo.DatabaseOperation[] 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 (DBDatabaseInfo.DatabaseOperation c : DBDatabaseInfo.DatabaseOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DBDatabaseInfo.DatabaseOperation 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
-
-