Package | Description |
---|---|
com.mongodb |
This package is the main entry point to the MongoDB Java Driver, and it contains the classes for the existing API from 2.x versions.
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
org.bson |
This package contains bson classes required for the driver
|
org.bson.io |
This package contains I/O utilities
|
Modifier and Type | Method and Description |
---|---|
int |
DBEncoder.writeObject(OutputBuffer outputBuffer,
BSONObject document)
Encode the BSONObject.
|
int |
DefaultDBEncoder.writeObject(OutputBuffer outputBuffer,
BSONObject document) |
int |
LazyDBEncoder.writeObject(OutputBuffer outputBuffer,
BSONObject document) |
Modifier and Type | Class and Description |
---|---|
class |
ByteBufferBsonOutput
This class should not be considered as part of the public API, and it may change or be removed at any time.
|
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 |
BasicBSONEncoder.set(OutputBuffer buffer) |
void |
BSONEncoder.set(OutputBuffer buffer)
Sets the buffer to wrich the result of encoding will be written.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicOutputBuffer
A BSON output stream that stores the output in a single, un-pooled byte array.
|
Copyright © 2016. All Rights Reserved.