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:
- Serializable, Comparable<DBDatabaseInfo.DatabaseOperation>
- Enclosing interface:
- DBDatabaseInfo
public static enum DBDatabaseInfo.DatabaseOperation
- extends Enum<DBDatabaseInfo.DatabaseOperation>
Types of database operations. This enumeration is used in
DBDatabaseInfo.getUnsupportedDatabaseOperations() method.
AUTOINCREMENT
public static final DBDatabaseInfo.DatabaseOperation AUTOINCREMENT
BOOLEAN_COLUMN_TYPE
public static final DBDatabaseInfo.DatabaseOperation BOOLEAN_COLUMN_TYPE
FAST_IN_LIST_SELECT
public static final DBDatabaseInfo.DatabaseOperation FAST_IN_LIST_SELECT
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
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(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 name
NullPointerException - if the argument is null