| Package | Description |
|---|---|
| com.mongodb |
The core mongodb package
|
| Modifier and Type | Class and Description |
|---|---|
class |
CommandResult
A simple wrapper to hold the result of a command.
|
| Modifier and Type | Method and Description |
|---|---|
BasicDBObject |
BasicDBObject.append(java.lang.String key,
java.lang.Object val)
Add a key/value pair to this object
|
static BasicDBObject |
BasicDBObject.parse(java.lang.String json)
Parses a string in MongoDB Extended JSON format to a
BasicDBObject. |
static BasicDBObject |
BasicDBObject.parse(java.lang.String json,
Decoder<BasicDBObject> decoder)
Parses a string in MongoDB Extended JSON format to a
BasicDBObject. |
| Modifier and Type | Method and Description |
|---|---|
static BasicDBObject |
BasicDBObject.parse(java.lang.String json,
Decoder<BasicDBObject> decoder)
Parses a string in MongoDB Extended JSON format to a
BasicDBObject. |
java.lang.String |
BasicDBObject.toJson(Encoder<BasicDBObject> encoder)
Gets a JSON representation of this document
|
java.lang.String |
BasicDBObject.toJson(JsonWriterSettings writerSettings,
Encoder<BasicDBObject> encoder)
Gets a JSON representation of this document
|