Uses of Class
org.bson.BsonArray
-
Packages that use BsonArray Package Description org.bson Contains the base BSON classes.org.bson.codecs This package contains all the default BSON codecs. -
-
Uses of BsonArray in org.bson
Subclasses of BsonArray in org.bson Modifier and Type Class Description class
RawBsonArray
An immutable BSON array that is represented using only the raw bytes.Methods in org.bson that return BsonArray Modifier and Type Method Description BsonArray
BsonValue. asArray()
Gets this value as a BsonArray if it is one, otherwise throws exceptionBsonArray
BsonArray. clone()
BsonArray
RawBsonArray. clone()
BsonArray
BsonDocument. getArray(Object key)
Gets the value of the key if it is a BsonArray, or throws if not.BsonArray
BsonDocument. getArray(Object key, BsonArray defaultValue)
If the document does not contain the given key, return the given default value.static BsonArray
BsonArray. parse(String json)
Parses a string in MongoDB Extended JSON format to aBsonArray
Methods in org.bson with parameters of type BsonArray Modifier and Type Method Description BsonArray
BsonDocument. getArray(Object key, BsonArray defaultValue)
If the document does not contain the given key, return the given default value.Constructors in org.bson with parameters of type BsonArray Constructor Description Context(BsonDocumentReader.Context parentContext, BsonContextType contextType, BsonArray array)
-
Uses of BsonArray in org.bson.codecs
Methods in org.bson.codecs that return BsonArray Modifier and Type Method Description BsonArray
BsonArrayCodec. decode(BsonReader reader, DecoderContext decoderContext)
Methods in org.bson.codecs that return types with arguments of type BsonArray Modifier and Type Method Description Class<BsonArray>
BsonArrayCodec. getEncoderClass()
Methods in org.bson.codecs with parameters of type BsonArray Modifier and Type Method Description void
BsonArrayCodec. encode(BsonWriter writer, BsonArray array, EncoderContext encoderContext)
-