public enum BsonBinarySubType extends Enum<BsonBinarySubType>
| Enum Constant and Description | 
|---|
| BINARYBinary data. | 
| FUNCTIONA function. | 
| MD5An MD5 hash. | 
| OLD_BINARYObsolete binary data subtype (use Binary instead). | 
| USER_DEFINEDUser defined binary data. | 
| UUID_LEGACYA UUID in a driver dependent legacy byte order. | 
| UUID_STANDARDA UUID in standard network byte order. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte | getValue()Gets the byte representation of this subtype. | 
| static boolean | isUuid(byte value)Returns true if the given value is a UUID subtype | 
| static BsonBinarySubType | valueOf(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 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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static boolean isUuid(byte value)
value - the subtype value as a bytepublic byte getValue()