public class

LazyDBList

extends LazyBSONList
implements DBObject
java.lang.Object
   ↳ org.bson.LazyBSONObject
     ↳ org.bson.LazyBSONList
       ↳ org.bson.LazyDBList

Summary

[Expand]
Inherited Fields
From class org.bson.LazyBSONObject
Public Constructors
LazyDBList(byte[] data, LazyBSONCallback callback)
LazyDBList(byte[] data, int offset, LazyBSONCallback callback)
LazyDBList(BSONByteBuffer buffer, LazyBSONCallback callback)
LazyDBList(BSONByteBuffer buffer, int offset, LazyBSONCallback callback)
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.
String toString()
Returns a JSON serialization of this object
[Expand]
Inherited Methods
From class org.bson.LazyBSONList
From class org.bson.LazyBSONObject
From class java.lang.Object
From interface com.mongodb.DBObject
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.List
From interface org.bson.BSONObject

Public Constructors

public LazyDBList (byte[] data, LazyBSONCallback callback)

public LazyDBList (byte[] data, int offset, LazyBSONCallback callback)

public LazyDBList (BSONByteBuffer buffer, LazyBSONCallback callback)

public LazyDBList (BSONByteBuffer buffer, int offset, LazyBSONCallback callback)

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.

public String toString ()

Returns a JSON serialization of this object

Returns
  • JSON serialization