Package com.mongodb
Class LazyDBList
java.lang.Object
org.bson.LazyBSONObject
org.bson.LazyBSONList
com.mongodb.LazyDBList
- All Implemented Interfaces:
DBObject,Iterable,Collection,List,BSONObject
A
LazyDBObject representing a BSON array.-
Nested Class Summary
Nested classes/interfaces inherited from class org.bson.LazyBSONList
LazyBSONList.LazyBSONListIterator -
Constructor Summary
ConstructorsConstructorDescriptionLazyDBList(byte[] bytes, int offset, LazyBSONCallback callback) Construct an instance with the given raw bytes and offset.LazyDBList(byte[] bytes, LazyBSONCallback callback) Construct an instance with the given raw bytes and offset. -
Method Summary
Methods inherited from class org.bson.LazyBSONList
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArrayMethods inherited from class org.bson.LazyBSONObject
containsField, entrySet, equals, get, getBSONSize, getBytes, getOffset, hashCode, isEmpty, keySet, pipe, put, putAll, putAll, removeField, toMapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bson.BSONObject
containsField, get, keySet, put, putAll, putAll, removeField, toMapMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, isEmpty, replaceAll, sort, spliterator
-
Constructor Details
-
LazyDBList
Construct an instance with the given raw bytes and offset.- Parameters:
bytes- the raw BSON bytescallback- the callback to use to create nested values
-
LazyDBList
Construct an instance with the given raw bytes and offset.- Parameters:
bytes- the raw BSON bytesoffset- the offset into the raw bytescallback- the callback to use to create nested values
-
-
Method Details
-
markAsPartialObject
public void markAsPartialObject()- Specified by:
markAsPartialObjectin interfaceDBObject
-
isPartialObject
public boolean isPartialObject()- Specified by:
isPartialObjectin interfaceDBObject
-