public enum UuidRepresentation extends java.lang.Enum<UuidRepresentation>
| 枚举常量和说明 |
|---|
C_SHARP_LEGACY
The legacy representation of UUID used by the C# driver
BSON binary subtype 3
|
JAVA_LEGACY
The legacy representation of UUID used by the Java driver
BSON binary subtype 3
|
PYTHON_LEGACY
The legacy representation of UUID used by the Python driver, which is the same
format as STANDARD, but has the UUID old BSON subtype (\x03)
BSON binary subtype 3
|
STANDARD
The canonical representation of UUID
BSON binary subtype 4
|
| 限定符和类型 | 方法和说明 |
|---|---|
static UuidRepresentation |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static UuidRepresentation[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final UuidRepresentation STANDARD
public static final UuidRepresentation C_SHARP_LEGACY
public static final UuidRepresentation JAVA_LEGACY
public static final UuidRepresentation PYTHON_LEGACY
public static UuidRepresentation[] values()
for (UuidRepresentation c : UuidRepresentation.values()) System.out.println(c);
public static UuidRepresentation valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值