public class LazyDBObject extends LazyBSONObject implements DBObject
LazyBSONObject.LazyBSONKeySet
_callback, _doc_start_offset, _input
Constructor and Description |
---|
LazyDBObject(BSONByteBuffer buff,
int offset,
LazyBSONCallback cbk) |
LazyDBObject(BSONByteBuffer buff,
LazyBSONCallback cbk) |
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, entrySet, equals, get, getBSONSize, getBytes, getElementBSONSize, getElementType, getElementValue, getOffset, hashCode, isElementEmpty, isEmpty, keySet, pipe, put, putAll, putAll, removeField, sizeCString, toMap, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
containsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMap
public LazyDBObject(BSONByteBuffer buff, LazyBSONCallback cbk)
public LazyDBObject(BSONByteBuffer buff, int offset, LazyBSONCallback cbk)
public LazyDBObject(byte[] data, LazyBSONCallback cbk)
public LazyDBObject(byte[] data, int offset, LazyBSONCallback cbk)
public void markAsPartialObject()
DBObject
markAsPartialObject
in interface DBObject
public boolean isPartialObject()
DBObject
isPartialObject
in interface DBObject