com.im.commons.db 5.9.2

com.im.commons.db.ddl
Enum DBDatabaseInfo.DatabaseOperation

java.lang.Object
  extended by java.lang.Enum<DBDatabaseInfo.DatabaseOperation>
      extended by 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.


Enum Constant Summary
AUTOINCREMENT
           
BOOLEAN_COLUMN_TYPE
           
FAST_IN_LIST_SELECT
           
REBUILD_INDEX
           
RENAME_COLUMN
           
SELECT_DISTINCT_WITH_ORDER_BY_WHEN_COLUMN_NOT_AMONG_SELECT_COLS
           
SEQUENCES
           
 
Method Summary
static DBDatabaseInfo.DatabaseOperation valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
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(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

com.im.commons.db 5.9.2