Package com.mongodb

Class LazyDBList

All Implemented Interfaces:
com.mongodb.DBObject, Iterable, Collection, List, BSONObject

public class LazyDBList extends LazyBSONList implements com.mongodb.DBObject
A LazyDBObject representing a BSON array.
  • Constructor Details

    • LazyDBList

      public LazyDBList(byte[] bytes, 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, 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