Package | Description |
---|---|
com.mongodb | |
com.mongodb.gridfs |
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
|
com.mongodb.util |
Contains classes that can be used everywhere in the driver, and have no specific domain.
|
org.bson | |
org.bson.types |
Modifier and Type | Interface and Description |
---|---|
interface |
DBObject
This interface adds some specific behaviour to
BSONObject for MongoDB documents. |
Modifier and Type | Class and Description |
---|---|
class |
BasicDBList
An implementation of List that reflects the way BSON lists work.
|
class |
BasicDBObject
A basic implementation of BSON object that is MongoDB specific.
|
class |
CommandResult
A simple wrapper to hold the result of a command.
|
class |
LazyDBList
A
LazyDBObject representing a BSON array. |
class |
LazyDBObject
An immutable
DBObject backed by a byte buffer that lazily provides keys and values on request. |
class |
ReflectionDBObject
This class enables to map simple Class fields to a BSON object fields
|
Modifier and Type | Method and Description |
---|---|
BSONObject |
DefaultDBCallback.create() |
BSONObject |
DefaultDBCallback.create(boolean array,
List<String> path) |
Modifier and Type | Method and Description |
---|---|
void |
ReflectionDBObject.putAll(BSONObject o) |
int |
LazyDBEncoder.writeObject(org.bson.io.OutputBuffer outputBuffer,
BSONObject document) |
int |
DefaultDBEncoder.writeObject(org.bson.io.OutputBuffer outputBuffer,
BSONObject document) |
int |
DBEncoder.writeObject(org.bson.io.OutputBuffer outputBuffer,
BSONObject document)
Encode the BSONObject.
|
Modifier and Type | Class and Description |
---|---|
class |
GridFSDBFile
This class enables retrieving a GridFS file metadata and content.
|
class |
GridFSFile
The abstract class representing a GridFS file.
|
class |
GridFSInputFile
This class represents a GridFS file to be written to the database.
|
Modifier and Type | Method and Description |
---|---|
void |
GridFSFile.putAll(BSONObject o) |
Modifier and Type | Method and Description |
---|---|
BSONObject |
JSONCallback.create() |
protected BSONObject |
JSONCallback.createList() |
Modifier and Type | Class and Description |
---|---|
class |
BasicBSONObject
A simple implementation of
DBObject . |
class |
LazyBSONList
A
LazyBSONObject representing a BSON array. |
class |
LazyBSONObject
An immutable
BSONObject backed by a byte buffer that lazily provides keys and values on request. |
Modifier and Type | Method and 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 the
array parameter is true or not. |
protected BSONObject |
BasicBSONCallback.createList()
Factory method for creating a new BSON List.
|
protected BSONObject |
BasicBSONCallback.cur()
Gets the current value
|
static BSONObject |
BSON.decode(byte[] bytes)
Decodes a BSON byte array into a DBObject instance.
|
BSONObject |
LazyBSONDecoder.readObject(byte[] bytes) |
BSONObject |
BasicBSONDecoder.readObject(byte[] bytes) |
BSONObject |
BSONDecoder.readObject(byte[] bytes)
Read a single BSON object from the given bytes.
|
BSONObject |
LazyBSONDecoder.readObject(InputStream in) |
BSONObject |
BasicBSONDecoder.readObject(InputStream in) |
BSONObject |
BSONDecoder.readObject(InputStream in)
Read a single BSON object from the given input stream.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
BasicBSONEncoder.encode(BSONObject document) |
byte[] |
BSONEncoder.encode(BSONObject document)
Encode a document into byte array.
|
static byte[] |
BSON.encode(BSONObject doc)
Encodes a DBObject as a BSON byte array.
|
void |
LazyBSONObject.putAll(BSONObject o)
Always throws
UnsupportedOperationException . |
void |
BasicBSONObject.putAll(BSONObject o) |
void |
BSONObject.putAll(BSONObject o)
Sets all key/value pairs from an object into this object
|
int |
BasicBSONEncoder.putObject(BSONObject document)
Encodes a
BSONObject . |
int |
BSONEncoder.putObject(BSONObject document)
Encoder and write a document into underlying buffer.
|
protected int |
BasicBSONEncoder.putObject(String name,
BSONObject document)
Encodes any
BSONObject , as a document |
Modifier and Type | Class and Description |
---|---|
class |
BasicBSONList
Utility class to allow array
DBObject s to be created. |
Modifier and Type | Method and Description |
---|---|
BSONObject |
CodeWScope.getScope()
Gets the scope for this JavaScript
|
Modifier and Type | Method and Description |
---|---|
void |
BasicBSONList.putAll(BSONObject o) |
Constructor and Description |
---|
CodeWScope(String code,
BSONObject scope)
Creates a new instance
|
Copyright © 2017. All rights reserved.