public class BasicDBList extends BasicBSONList implements DBObject
modCount| Constructor and Description |
|---|
BasicDBList() |
| Modifier and Type | Method and Description |
|---|---|
Object |
copy()
Copies this instance into a new Object.
|
boolean |
isPartialObject()
Whether
DBObject.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
|
containsField, containsKey, get, keySet, put, put, putAll, putAll, removeField, toMapadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMapcontainsAll, equals, hashCodeparallelStream, streampublic String toString()
toString in class AbstractCollection<Object>public boolean isPartialObject()
DBObjectDBObject.markAsPartialObject() was ever called only matters if you are going to upsert and do not want to risk losing fields.isPartialObject in interface DBObjectpublic void markAsPartialObject()
DBObjectmarkAsPartialObject in interface DBObjectpublic Object copy()