Uses of Class
org.bson.BsonBoolean
-
Packages that use BsonBoolean Package Description org.bson Contains the base BSON classes.org.bson.codecs This package contains all the default BSON codecs. -
-
Uses of BsonBoolean in org.bson
Fields in org.bson declared as BsonBoolean Modifier and Type Field Description static BsonBoolean
BsonBoolean. FALSE
static BsonBoolean
BsonBoolean. TRUE
Methods in org.bson that return BsonBoolean Modifier and Type Method Description BsonBoolean
BsonValue. asBoolean()
Gets this value as a BsonBoolean if it is one, otherwise throws exceptionBsonBoolean
BsonDocument. getBoolean(Object key)
Gets the value of the key if it is a BsonBoolean, or throws if not.BsonBoolean
BsonDocument. getBoolean(Object key, BsonBoolean defaultValue)
If the document does not contain the given key, return the given default value.static BsonBoolean
BsonBoolean. valueOf(boolean value)
Returns aBsonBoolean
instance representing the specifiedboolean
value.Methods in org.bson with parameters of type BsonBoolean Modifier and Type Method Description int
BsonBoolean. compareTo(BsonBoolean o)
BsonBoolean
BsonDocument. getBoolean(Object key, BsonBoolean defaultValue)
If the document does not contain the given key, return the given default value. -
Uses of BsonBoolean in org.bson.codecs
Methods in org.bson.codecs that return BsonBoolean Modifier and Type Method Description BsonBoolean
BsonBooleanCodec. decode(BsonReader reader, DecoderContext decoderContext)
Methods in org.bson.codecs that return types with arguments of type BsonBoolean Modifier and Type Method Description Class<BsonBoolean>
BsonBooleanCodec. getEncoderClass()
Methods in org.bson.codecs with parameters of type BsonBoolean Modifier and Type Method Description void
BsonBooleanCodec. encode(BsonWriter writer, BsonBoolean value, EncoderContext encoderContext)
-