public class LazyDBObject extends LazyBSONObject implements DBObject
LazyBSONObject.LazyBSONIterator, LazyBSONObject.LazyBSONKeySet| Constructor and Description |
|---|
LazyDBObject(byte[] data,
int offset,
LazyBSONCallback cbk) |
LazyDBObject(byte[] data,
LazyBSONCallback cbk) |
| Modifier and Type | Method and 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, getBSONSize, isEmpty, keySet, put, putAll, putAll, readBinary, removeField, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMappublic LazyDBObject(byte[] data,
LazyBSONCallback cbk)
public LazyDBObject(byte[] data,
int offset,
LazyBSONCallback cbk)
public void markAsPartialObject()
DBObjectmarkAsPartialObject in interface DBObjectpublic boolean isPartialObject()
DBObjectisPartialObject in interface DBObject