Package | Description |
---|---|
com.mongodb |
Main package with core files.
|
Modifier and Type | Method and Description |
---|---|
BasicDBObjectBuilder |
BasicDBObjectBuilder.add(String key,
Object val)
Same as append
|
BasicDBObjectBuilder |
BasicDBObjectBuilder.append(String key,
Object val)
Appends the key/value to the active object
|
BasicDBObjectBuilder |
BasicDBObjectBuilder.pop()
Pops the active object, which means that the parent object becomes active
|
BasicDBObjectBuilder |
BasicDBObjectBuilder.push(String key)
Creates an new empty object and inserts it into the current object with the given key.
|
static BasicDBObjectBuilder |
BasicDBObjectBuilder.start()
Creates a builder intialized with an empty document.
|
static BasicDBObjectBuilder |
BasicDBObjectBuilder.start(Map map)
Creates an object builder from an existing map of key value pairs.
|
static BasicDBObjectBuilder |
BasicDBObjectBuilder.start(String key,
Object val)
Creates a builder initialized with the given key/value.
|