Uses of Interface
org.bson.BSONObject
-
Packages that use BSONObject Package Description org.bson Contains the base BSON classes.org.bson.types Contains classes implementing various BSON types. -
-
Uses of BSONObject in org.bson
Classes in org.bson that implement BSONObject Modifier and Type Class Description class
BasicBSONObject
A simple implementation ofDBObject
.class
LazyBSONList
ALazyBSONObject
representing a BSON array.class
LazyBSONObject
An immutableBSONObject
backed by a byte buffer that lazily provides keys and values on request.Methods in org.bson that return BSONObject Modifier and Type Method Description BSONObject
BasicBSONCallback. create()
Factory method for creating a new BSONObject.BSONObject
BasicBSONCallback. create(boolean array, List<String> path)
Helper method to create either a BSON Object or a BSON List depending upon whether thearray
parameter is true or not.protected BSONObject
BasicBSONCallback. createList()
Factory method for creating a new BSON List.protected BSONObject
BasicBSONCallback. cur()
Gets the current valuestatic BSONObject
BSON. decode(byte[] bytes)
Deprecated.Decodes a BSON byte array into a DBObject instance.BSONObject
BasicBSONDecoder. readObject(byte[] bytes)
BSONObject
BasicBSONDecoder. readObject(InputStream in)
BSONObject
BSONDecoder. readObject(byte[] bytes)
Read a single BSON object from the given bytes.BSONObject
BSONDecoder. readObject(InputStream in)
Read a single BSON object from the given input stream.BSONObject
LazyBSONDecoder. readObject(byte[] bytes)
BSONObject
LazyBSONDecoder. readObject(InputStream in)
Methods in org.bson with parameters of type BSONObject Modifier and Type Method Description byte[]
BasicBSONEncoder. encode(BSONObject document)
static byte[]
BSON. encode(BSONObject doc)
Deprecated.Encodes a DBObject as a BSON byte array.byte[]
BSONEncoder. encode(BSONObject document)
Encode a document into byte array.void
BasicBSONObject. putAll(BSONObject o)
void
BSONObject. putAll(BSONObject o)
Sets all key/value pairs from an object into this objectvoid
LazyBSONObject. putAll(BSONObject o)
Always throwsUnsupportedOperationException
.protected int
BasicBSONEncoder. putObject(String name, BSONObject document)
Encodes anyBSONObject
, as a documentint
BasicBSONEncoder. putObject(BSONObject document)
Encodes aBSONObject
.int
BSONEncoder. putObject(BSONObject document)
Encoder and write a document into underlying buffer. -
Uses of BSONObject in org.bson.types
Classes in org.bson.types that implement BSONObject Modifier and Type Class Description class
BasicBSONList
Utility class to allow arrayDBObject
s to be created.Methods in org.bson.types that return BSONObject Modifier and Type Method Description BSONObject
CodeWScope. getScope()
Gets the scope for this JavaScriptMethods in org.bson.types with parameters of type BSONObject Modifier and Type Method Description void
BasicBSONList. putAll(BSONObject o)
Constructors in org.bson.types with parameters of type BSONObject Constructor Description CodeWScope(String code, BSONObject scope)
Creates a new instance
-