Uses of Class
org.bson.UuidRepresentation
-
Packages that use UuidRepresentation Package Description org.bson Contains the base BSON classes.org.bson.codecs This package contains all the default BSON codecs.org.bson.internal -
-
Uses of UuidRepresentation in org.bson
Methods in org.bson that return UuidRepresentation Modifier and Type Method Description static UuidRepresentation
UuidRepresentation. valueOf(String name)
Returns the enum constant of this type with the specified name.static UuidRepresentation[]
UuidRepresentation. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bson with parameters of type UuidRepresentation Modifier and Type Method Description UUID
BsonBinary. asUuid(UuidRepresentation uuidRepresentation)
Returns the binary as a UUID.Constructors in org.bson with parameters of type UuidRepresentation Constructor Description BsonBinary(UUID uuid, UuidRepresentation uuidRepresentation)
Construct a new instance from the given UUID and UuidRepresentation -
Uses of UuidRepresentation in org.bson.codecs
Constructors in org.bson.codecs with parameters of type UuidRepresentation Constructor Description UuidCodec(UuidRepresentation uuidRepresentation)
The default UUIDRepresentation is JAVA_LEGACY to be compatible with existing documentsUuidCodecProvider(UuidRepresentation uuidRepresentation)
Set the UUIDRepresentation to be used in the codec default is JAVA_LEGACY to be compatible with existing documents -
Uses of UuidRepresentation in org.bson.internal
Methods in org.bson.internal with parameters of type UuidRepresentation Modifier and Type Method Description static UUID
UuidHelper. decodeBinaryToUuid(byte[] data, byte type, UuidRepresentation uuidRepresentation)
static byte[]
UuidHelper. encodeUuidToBinary(UUID uuid, UuidRepresentation uuidRepresentation)
-