public class

BasicDBList

extends BasicBSONList
implements DBObject
java.lang.Object
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractList<E>
       ↳ java.util.ArrayList<E>
         ↳ org.bson.types.BasicBSONList
           ↳ com.mongodb.BasicDBList

Class Overview

a basic implementation of bson list that is mongo specific

Summary

[Expand]
Inherited Fields
From class java.util.AbstractList
Public Constructors
BasicDBList()
Public Methods
Object copy()
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.types.BasicBSONList
From class java.util.ArrayList
From class java.util.AbstractList
From class java.util.AbstractCollection
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 BasicDBList ()

Public Methods

public Object copy ()

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