Package | Description |
---|---|
com.mongodb |
Main package with core files.
|
org.bson |
Contains the base BSON classes and Encoder/Decoder.
|
org.bson.io |
Contains classes implementing I/O operations used by BSON objects.
|
Modifier and Type | Method and Description |
---|---|
int |
LazyDBEncoder.writeObject(OutputBuffer buf,
BSONObject o) |
int |
DefaultDBEncoder.writeObject(OutputBuffer buf,
BSONObject o) |
int |
DBEncoder.writeObject(OutputBuffer outputBuffer,
BSONObject document)
Encode the BSONObject.
|
Modifier and Type | Field and Description |
---|---|
protected OutputBuffer |
BasicBSONEncoder._buf
Deprecated.
Replaced by
BasicBSONEncoder.getOutputBuffer() . |
Modifier and Type | Method and Description |
---|---|
protected OutputBuffer |
BasicBSONEncoder.getOutputBuffer()
Gets the buffer the BSON is being encoded into.
|
Modifier and Type | Method and Description |
---|---|
void |
BSONEncoder.set(OutputBuffer buffer)
Sets the buffer to wrich the result of encoding will be written.
|
void |
BasicBSONEncoder.set(OutputBuffer out) |
Modifier and Type | Class and Description |
---|---|
class |
BasicOutputBuffer
A BSON output stream that stores the output in a single, un-pooled byte array.
|
class |
PoolOutputBuffer
Deprecated.
This class is NOT a part of public API and will be dropped in 3.x versions.
|