public static enum Index.IndexType extends java.lang.Enum<Index.IndexType>
| Enum Constant and Description |
|---|
PRIMARY_KEY
PRIMARY KEY index in a relational database is a field or a combination of fields that
uniquely identifies each record in a table.
|
UNIQUE_KEY
UNIQUE KEY in a relational database is a field or a combination of fields that ensures each
record in a table has a distinct value or combination of values.
|
| Modifier and Type | Method and Description |
|---|---|
static Index.IndexType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Index.IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index.IndexType PRIMARY_KEY
public static final Index.IndexType UNIQUE_KEY
public static Index.IndexType[] values()
for (Index.IndexType c : Index.IndexType.values()) System.out.println(c);
public static Index.IndexType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null