BSONObject
BasicDBList
, BasicDBObject
, CommandResult
, GridFSDBFile
, GridFSFile
, GridFSInputFile
, LazyDBList
, LazyDBObject
, ReflectionDBObject
public 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, toMap
void markAsPartialObject()
boolean isPartialObject()
markAsPartialObject()
was ever called only matters if you are going to upsert and do not want to risk losing fields.