public enum BsonBinarySubType extends java.lang.Enum<BsonBinarySubType>
| 枚举常量和说明 |
|---|
BINARY
Binary data.
|
FUNCTION
A function.
|
MD5
An MD5 hash.
|
OLD_BINARY
Obsolete binary data subtype (use Binary instead).
|
USER_DEFINED
User defined binary data.
|
UUID_LEGACY
A UUID in a driver dependent legacy byte order.
|
UUID_STANDARD
A UUID in standard network byte order.
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte |
getValue()
Gets the byte representation of this subtype.
|
static BsonBinarySubType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static BsonBinarySubType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final BsonBinarySubType BINARY
public static final BsonBinarySubType FUNCTION
public static final BsonBinarySubType OLD_BINARY
public static final BsonBinarySubType UUID_LEGACY
public static final BsonBinarySubType UUID_STANDARD
public static final BsonBinarySubType MD5
public static final BsonBinarySubType USER_DEFINED
public static BsonBinarySubType[] values()
for (BsonBinarySubType c : BsonBinarySubType.values()) System.out.println(c);
public static BsonBinarySubType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public byte getValue()