Package com.mongodb
Class BasicDBList
- All Implemented Interfaces:
DBObject
,Serializable
,Cloneable
,Iterable<Object>
,Collection<Object>
,List<Object>
,RandomAccess
,SequencedCollection<Object>
,BSONObject
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
An implementation of List that reflects the way BSON lists work.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Deprecated.Copies this instance into a new Object.boolean
Deprecated.WhetherDBObject.markAsPartialObject()
was ever called only matters if you are going to upsert and do not want to risk losing fields.void
Deprecated.If this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.Methods inherited from class org.bson.types.BasicBSONList
containsField, containsKey, get, keySet, put, put, putAll, putAll, removeField, toMap
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from interface org.bson.BSONObject
containsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMap
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
BasicDBList
public BasicDBList()Deprecated.
-
-
Method Details
-
isPartialObject
public boolean isPartialObject()Deprecated.Description copied from interface:DBObject
WhetherDBObject.markAsPartialObject()
was ever called only matters if you are going to upsert and do not want to risk losing fields.- Specified by:
isPartialObject
in interfaceDBObject
- Returns:
- true if this has been marked as a partial object
-
markAsPartialObject
public void markAsPartialObject()Deprecated.Description copied from interface:DBObject
If this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.- Specified by:
markAsPartialObject
in interfaceDBObject
-
copy
Deprecated.Copies this instance into a new Object.- Returns:
- a new BasicDBList with the same values as this instance
-