Package com.mongodb

Class LazyDBList

java.lang.Object
org.bson.LazyBSONObject
org.bson.LazyBSONList
com.mongodb.LazyDBList
All Implemented Interfaces:
com.mongodb.DBObject, Iterable, Collection, List, org.bson.BSONObject

public class LazyDBList extends org.bson.LazyBSONList implements com.mongodb.DBObject
A LazyDBObject representing a BSON array.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bson.LazyBSONList

    org.bson.LazyBSONList.LazyBSONListIterator
  • Constructor Summary

    Constructors
    Constructor
    Description
    LazyDBList(byte[] bytes, int offset, org.bson.LazyBSONCallback callback)
    Construct an instance with the given raw bytes and offset.
    LazyDBList(byte[] bytes, org.bson.LazyBSONCallback callback)
    Construct an instance with the given raw bytes and offset.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     

    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, toArray

    Methods inherited from class org.bson.LazyBSONObject

    containsField, entrySet, equals, get, getBSONSize, getBytes, getOffset, hashCode, isEmpty, keySet, pipe, put, putAll, putAll, removeField, toMap

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bson.BSONObject

    containsField, get, keySet, put, putAll, putAll, removeField, toMap

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface java.util.List

    equals, hashCode, isEmpty, replaceAll, sort, spliterator
  • Constructor Details

    • LazyDBList

      public LazyDBList(byte[] bytes, org.bson.LazyBSONCallback callback)
      Construct an instance with the given raw bytes and offset.
      Parameters:
      bytes - the raw BSON bytes
      callback - the callback to use to create nested values
    • LazyDBList

      public LazyDBList(byte[] bytes, int offset, org.bson.LazyBSONCallback callback)
      Construct an instance with the given raw bytes and offset.
      Parameters:
      bytes - the raw BSON bytes
      offset - the offset into the raw bytes
      callback - the callback to use to create nested values
  • Method Details

    • markAsPartialObject

      public void markAsPartialObject()
      Specified by:
      markAsPartialObject in interface com.mongodb.DBObject
    • isPartialObject

      public boolean isPartialObject()
      Specified by:
      isPartialObject in interface com.mongodb.DBObject