ObjectId
Deprecated
Use BSON ObjectId instead
Replace with
org.mongodb.kbson.ObjectId
Content copied to clipboard
A globally unique identifier for objects.
Consists of 12 bytes, divided as follows: A 4-byte timestamp, representing the ObjectId's creation, measured in seconds since the Unix epoch. A 5-byte random value generated once per process. This random value is unique to the machine and process. A 3-byte incrementing counter, initialized to a random value.