public static enum DBIndex.DBIndexType extends Enum<DBIndex.DBIndexType>
Enum Constant and Description |
---|
PRIMARY_KEY |
STANDARD |
UNIQUE |
UNIQUE_ALLOW_NULL |
Modifier and Type | Method and Description |
---|---|
boolean |
isUnique() |
static DBIndex.DBIndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBIndex.DBIndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBIndex.DBIndexType STANDARD
public static final DBIndex.DBIndexType UNIQUE
public static final DBIndex.DBIndexType UNIQUE_ALLOW_NULL
public static final DBIndex.DBIndexType PRIMARY_KEY
public static DBIndex.DBIndexType[] values()
for (DBIndex.DBIndexType c : DBIndex.DBIndexType.values()) System.out.println(c);
public static DBIndex.DBIndexType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isUnique()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.