| 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.
|
| 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(String key,
Object val)
Add a key/value pair to this object
|
static BasicDBObject |
BasicDBObject.parse(String json)
Parses a string in MongoDB Extended JSON format to a
BasicDBObject. |
static BasicDBObject |
BasicDBObject.parse(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(String json,
Decoder<BasicDBObject> decoder)
Parses a string in MongoDB Extended JSON format to a
BasicDBObject. |
String |
BasicDBObject.toJson(Encoder<BasicDBObject> encoder)
Gets a JSON representation of this document
|
String |
BasicDBObject.toJson(JsonWriterSettings writerSettings,
Encoder<BasicDBObject> encoder)
Gets a JSON representation of this document
|
Copyright © 2016. All Rights Reserved.