Package | Description |
---|---|
com.mongodb |
Main package with core files.
|
Modifier and Type | Method and Description |
---|---|
BasicDBObjectBuilder |
BasicDBObjectBuilder.add(String key,
Object val)
same as appends
|
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 an empty object
|
static BasicDBObjectBuilder |
BasicDBObjectBuilder.start(Map m)
Creates an object builder from an existing map.
|
static BasicDBObjectBuilder |
BasicDBObjectBuilder.start(String k,
Object val)
creates an object with the given key/value
|