| Package | Description |
|---|---|
| org.bson |
This package contains bson classes required for the driver
|
| org.bson.codecs |
This package contains all the default BSON codecs.
|
| Modifier and Type | Method and 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.
|
| Constructor and Description |
|---|
UuidCodec(UuidRepresentation uuidRepresentation)
The default UUIDRepresentation is JAVA_LEGACY to be compatible with existing documents
|
UuidCodecProvider(UuidRepresentation uuidRepresentation)
Set the UUIDRepresentation to be used in the codec
default is JAVA_LEGACY to be compatible with existing documents
|
Copyright © 2016. All Rights Reserved.