Uses of Class
org.bson.BsonString
-
Packages that use BsonString Package Description org.bson Contains the base BSON classes.org.bson.codecs This package contains all the default BSON codecs. -
-
Uses of BsonString in org.bson
Methods in org.bson that return BsonString Modifier and Type Method Description BsonString
BsonValue. asString()
Gets this value as a BsonString if it is one, otherwise throws exceptionBsonString
BsonDocument. getString(Object key)
Gets the value of the key if it is a BsonString, or throws if not.BsonString
BsonDocument. getString(Object key, BsonString defaultValue)
If the document does not contain the given key, return the given default value.Methods in org.bson with parameters of type BsonString Modifier and Type Method Description int
BsonString. compareTo(BsonString o)
BsonString
BsonDocument. getString(Object key, BsonString defaultValue)
If the document does not contain the given key, return the given default value. -
Uses of BsonString in org.bson.codecs
Methods in org.bson.codecs that return BsonString Modifier and Type Method Description BsonString
BsonStringCodec. decode(BsonReader reader, DecoderContext decoderContext)
Methods in org.bson.codecs that return types with arguments of type BsonString Modifier and Type Method Description Class<BsonString>
BsonStringCodec. getEncoderClass()
Methods in org.bson.codecs with parameters of type BsonString Modifier and Type Method Description void
BsonStringCodec. encode(BsonWriter writer, BsonString value, EncoderContext encoderContext)
-