public enum IndexType extends Enum<IndexType>
| Enum Constant and Description |
|---|
FULL_TEXT
Full text index type.
|
NORMAL
Normal index type.
|
PRIMARY
Primary index type.
|
UNIQUE
Unique index type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value()
Value int.
|
static IndexType |
valueOf(int i)
Value of index type.
|
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexType PRIMARY
public static final IndexType NORMAL
public static final IndexType UNIQUE
public static final IndexType FULL_TEXT
public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType 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 int value()
public static IndexType valueOf(int i)
i - theCopyright © 2023 Seata. All rights reserved.