enum BSONBinarySubType extends java.lang.Enum<BSONBinarySubType>
| Enum Constant and Description |
|---|
Binary
Binary data.
|
Function
A function.
|
MD5
An MD5 hash.
|
OldBinary
Obsolete binary data subtype (use Binary instead).
|
UserDefined
User defined binary data.
|
UuidLegacy
A UUID in a driver dependent legacy byte order.
|
UuidStandard
A UUID in standard network byte order.
|
| Modifier and Type | Field and Description |
|---|---|
private byte |
value |
| Modifier and Type | Method and Description |
|---|---|
byte |
getValue() |
static BSONBinarySubType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BSONBinarySubType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BSONBinarySubType Binary
public static final BSONBinarySubType Function
public static final BSONBinarySubType OldBinary
public static final BSONBinarySubType UuidLegacy
public static final BSONBinarySubType UuidStandard
public static final BSONBinarySubType MD5
public static final BSONBinarySubType UserDefined
public static BSONBinarySubType[] values()
for (BSONBinarySubType c : BSONBinarySubType.values()) System.out.println(c);
public static BSONBinarySubType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte getValue()