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, toMap
add, 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, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMap
containsAll, equals, hashCode
parallelStream, stream
public String toString()
toString
in class AbstractCollection<Object>
public boolean isPartialObject()
DBObject
DBObject.markAsPartialObject()
was ever called only matters if you are going to upsert and do not want to risk losing fields.isPartialObject
in interface DBObject
public void markAsPartialObject()
DBObject
markAsPartialObject
in interface DBObject
public Object copy()