BSONObjectBasicDBList, BasicDBObject, CommandResult, GridFSDBFile, GridFSFile, GridFSInputFile, LazyDBList, LazyDBObject, ReflectionDBObjectpublic interface DBObject extends BSONObject
BSONObject for MongoDB documents.| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isPartialObject() |
Whether
markAsPartialObject() was ever called only matters if you are going to upsert and do not want to risk losing fields. |
void |
markAsPartialObject() |
If this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.
|
containsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMapvoid markAsPartialObject()
boolean isPartialObject()
markAsPartialObject() was ever called only matters if you are going to upsert and do not want to risk losing fields.