Package | Description |
---|---|
com.mongodb | |
com.mongodb.util |
Contains classes that can be used everywhere in the driver, and have no specific domain.
|
org.bson |
Modifier and Type | Interface and Description |
---|---|
interface |
DBCallback
The DB callback interface.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDBCallback
An implementation of DBCallback that decodes into a DBObject.
|
class |
LazyDBCallback
A
BSONCallback for the creation of LazyDBObject and LazyDBList instances. |
Modifier and Type | Class and Description |
---|---|
class |
JSONCallback
Converts JSON to DBObjects and vice versa.
|
Modifier and Type | Method and Description |
---|---|
static Object |
JSON.parse(String s,
BSONCallback c)
Parses a JSON string and constructs a corresponding Java object by calling the methods of a
BSONCallback during parsing. |
Modifier and Type | Class and Description |
---|---|
class |
BasicBSONCallback
An implementation of
BsonCallback that creates an instance of BSONObject. |
class |
EmptyBSONCallback
Convenience implementation of BSONCallback that throws
UnsupportedOperationException for all methods. |
class |
LazyBSONCallback
A
BSONCallback for creation of LazyBSONObject and LazyBSONList instances. |
Modifier and Type | Method and Description |
---|---|
BSONCallback |
EmptyBSONCallback.createBSONCallback() |
BSONCallback |
BasicBSONCallback.createBSONCallback() |
BSONCallback |
BSONCallback.createBSONCallback()
Factory method for BSONCallbacks.
|
Modifier and Type | Method and Description |
---|---|
int |
LazyBSONDecoder.decode(byte[] bytes,
BSONCallback callback) |
int |
BasicBSONDecoder.decode(byte[] bytes,
BSONCallback callback) |
int |
BSONDecoder.decode(byte[] bytes,
BSONCallback callback)
Decode a single BSON object into the given callback from the given byte array.
|
int |
LazyBSONDecoder.decode(InputStream in,
BSONCallback callback) |
int |
BasicBSONDecoder.decode(InputStream in,
BSONCallback callback) |
int |
BSONDecoder.decode(InputStream in,
BSONCallback callback)
Decode a single BSON object into the given callback from the given input stream.
|
Copyright © 2017. All rights reserved.