Package com.mongodb
Interface DBObject
-
- All Superinterfaces:
BSONObject
- All Known Implementing Classes:
BasicDBList
,BasicDBObject
,CommandResult
,GridFSDBFile
,GridFSFile
,GridFSInputFile
,LazyDBList
,LazyDBObject
,ReflectionDBObject
@Deprecated(since="2021-05-27") public interface DBObject extends BSONObject
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.This interface adds some specific behaviour toBSONObject
for MongoDB documents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
isPartialObject()
Deprecated.WhethermarkAsPartialObject()
was ever called only matters if you are going to upsert and do not want to risk losing fields.void
markAsPartialObject()
Deprecated.If this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.-
Methods inherited from interface org.bson.BSONObject
containsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMap
-
-
-
-
Method Detail
-
markAsPartialObject
void markAsPartialObject()
Deprecated.If this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.
-
isPartialObject
boolean isPartialObject()
Deprecated.WhethermarkAsPartialObject()
was ever called only matters if you are going to upsert and do not want to risk losing fields.- Returns:
- true if this has been marked as a partial object
-
-