public enum IndexType extends Enum<IndexType>
| 枚举常量和说明 |
|---|
FOREIGN_KEY |
INDEX |
PRIMARY_KEY |
UNIQUE_FIELD |
UNIQUE_INDEX |
public static final IndexType PRIMARY_KEY
public static final IndexType FOREIGN_KEY
public static final IndexType INDEX
public static final IndexType UNIQUE_INDEX
public static final IndexType UNIQUE_FIELD
public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.