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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMappublic 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()
DBObjectmarkAsPartialObject in interface DBObjectpublic boolean isPartialObject()
DBObjectisPartialObject in interface DBObject