public static enum Mode.UniqueIndexNullsHandling extends Enum<Mode.UniqueIndexNullsHandling>
NULL values in indexed columns are handled
in unique indexes.| 枚举常量和说明 |
|---|
ALLOW_DUPLICATES_WITH_ALL_NULLS
Multiple rows with identical values in indexed columns with all indexed
NULL values are allowed in unique index. |
ALLOW_DUPLICATES_WITH_ANY_NULL
Multiple rows with identical values in indexed columns with at least one
indexed
NULL value are allowed in unique index. |
FORBID_ANY_DUPLICATES
Multiple rows with identical values in indexed columns are not allowed in
unique index.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Mode.UniqueIndexNullsHandling |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Mode.UniqueIndexNullsHandling[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Mode.UniqueIndexNullsHandling ALLOW_DUPLICATES_WITH_ANY_NULL
NULL value are allowed in unique index.public static final Mode.UniqueIndexNullsHandling ALLOW_DUPLICATES_WITH_ALL_NULLS
NULL values are allowed in unique index.public static final Mode.UniqueIndexNullsHandling FORBID_ANY_DUPLICATES
public static Mode.UniqueIndexNullsHandling[] values()
for (Mode.UniqueIndexNullsHandling c : Mode.UniqueIndexNullsHandling.values()) System.out.println(c);
public static Mode.UniqueIndexNullsHandling valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2022. All rights reserved.