Uses of Class
org.bson.BsonObjectId
-
Packages that use BsonObjectId Package Description org.bson Contains the base BSON classes.org.bson.codecs This package contains all the default BSON codecs.org.bson.codecs.pojo This package contains classes specific to mapping user POJOs. -
-
Uses of BsonObjectId in org.bson
Methods in org.bson that return BsonObjectId Modifier and Type Method Description BsonObjectId
BsonValue. asObjectId()
Gets this value as an BsonObjectId if it is one, otherwise throws exceptionBsonObjectId
BsonDocument. getObjectId(Object key)
Gets the value of the key if it is a BsonObjectId, or throws if not.BsonObjectId
BsonDocument. getObjectId(Object key, BsonObjectId defaultValue)
If the document does not contain the given key, return the given default value.Methods in org.bson with parameters of type BsonObjectId Modifier and Type Method Description int
BsonObjectId. compareTo(BsonObjectId o)
BsonObjectId
BsonDocument. getObjectId(Object key, BsonObjectId defaultValue)
If the document does not contain the given key, return the given default value. -
Uses of BsonObjectId in org.bson.codecs
Methods in org.bson.codecs that return BsonObjectId Modifier and Type Method Description BsonObjectId
BsonObjectIdCodec. decode(BsonReader reader, DecoderContext decoderContext)
Methods in org.bson.codecs that return types with arguments of type BsonObjectId Modifier and Type Method Description Class<BsonObjectId>
BsonObjectIdCodec. getEncoderClass()
Methods in org.bson.codecs with parameters of type BsonObjectId Modifier and Type Method Description void
BsonObjectIdCodec. encode(BsonWriter writer, BsonObjectId value, EncoderContext encoderContext)
-
Uses of BsonObjectId in org.bson.codecs.pojo
Fields in org.bson.codecs.pojo with type parameters of type BsonObjectId Modifier and Type Field Description static IdGenerator<BsonObjectId>
IdGenerators. BSON_OBJECT_ID_GENERATOR
A IdGenerator forBsonObjectId
-