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