|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bson.LazyBSONObject
com.mongodb.LazyDBObject
public class LazyDBObject
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.bson.LazyBSONObject |
|---|
LazyBSONObject.LazyBSONIterator, LazyBSONObject.LazyBSONKeySet |
| Constructor Summary | |
|---|---|
LazyDBObject(byte[] data,
int offset,
LazyBSONCallback cbk)
|
|
LazyDBObject(byte[] data,
LazyBSONCallback cbk)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.bson.LazyBSONObject |
|---|
containsField, containsKey, get, getBSONSize, isEmpty, keySet, put, putAll, putAll, readBinary, removeField, toMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.bson.BSONObject |
|---|
containsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMap |
| Constructor Detail |
|---|
public LazyDBObject(byte[] data,
LazyBSONCallback cbk)
public LazyDBObject(byte[] data,
int offset,
LazyBSONCallback cbk)
| Method Detail |
|---|
public void markAsPartialObject()
DBObject
markAsPartialObject in interface DBObjectpublic boolean isPartialObject()
DBObject
isPartialObject in interface DBObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||