public class

LazyDBObject

extends LazyBSONObject
implements DBObject
java.lang.Object
   ↳ org.bson.LazyBSONObject
     ↳ com.mongodb.LazyDBObject
Known Direct Subclasses

Summary

[Expand]
Inherited Fields
From class org.bson.LazyBSONObject
Public Constructors
LazyDBObject(BSONByteBuffer buff, LazyBSONCallback cbk)
LazyDBObject(BSONByteBuffer buff, int offset, LazyBSONCallback cbk)
LazyDBObject(byte[] data, LazyBSONCallback cbk)
LazyDBObject(byte[] data, int offset, LazyBSONCallback cbk)
Public Methods
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.
[Expand]
Inherited Methods
From class org.bson.LazyBSONObject
From class java.lang.Object
From interface com.mongodb.DBObject
From interface org.bson.BSONObject

Public Constructors

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 Methods

public boolean isPartialObject ()

whether markAsPartialObject was ever called only matters if you are going to upsert and do not want to risk losing fields

public 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.