Example usage for Java com.mongodb DBObject fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | containsField(String s) Checks if this object contains a field with the given name. |
boolean | containsKey(String key) Deprecated |
Object | get(String key) Gets a field from this object by a given name. |
boolean | isPartialObject() Whether #markAsPartialObject was ever called only matters if you are going to upsert and do not want to risk losing fields. |
Set | keySet() Returns this object's fields' names |
Object | put(String key, Object v) Sets a name/value pair in this object. |
void | putAll(BSONObject o) Sets all key/value pairs from an object into this object |
Object | removeField(String key) Removes a field with a given name from this object. |
Map | toMap() Returns a map representing this BSONObject. |