Enum Table.IndexType
- java.lang.Object
-
- java.lang.Enum<Table.IndexType>
-
- org.nuxeo.ecm.core.storage.sql.jdbc.db.Table.IndexType
-
- All Implemented Interfaces:
Serializable
,Comparable<Table.IndexType>
- Enclosing interface:
- Table
public static enum Table.IndexType extends Enum<Table.IndexType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULLTEXT
Fulltext index, may be on several columns.MAIN_NON_PRIMARY
Non primary index but the main one for this table.UNIQUE
Unique index.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Table.IndexType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Table.IndexType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULLTEXT
public static final Table.IndexType FULLTEXT
Fulltext index, may be on several columns.
-
UNIQUE
public static final Table.IndexType UNIQUE
Unique index.
-
MAIN_NON_PRIMARY
public static final Table.IndexType MAIN_NON_PRIMARY
Non primary index but the main one for this table.
-
-
Method Detail
-
values
public static Table.IndexType[] 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 (Table.IndexType c : Table.IndexType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Table.IndexType 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
-
-