Package com.mongodb

Class LazyDBEncoder

java.lang.Object
com.mongodb.LazyDBEncoder
All Implemented Interfaces:
DBEncoder

@Deprecated(since="2021-05-27") public class LazyDBEncoder extends Object implements DBEncoder
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
  • Constructor Details

    • LazyDBEncoder

      public LazyDBEncoder()
      Deprecated.
  • Method Details

    • writeObject

      public int writeObject(OutputBuffer outputBuffer, BSONObject document)
      Deprecated.
      Description copied from interface: DBEncoder
      Encode the BSONObject.
      Specified by:
      writeObject in interface DBEncoder
      Parameters:
      outputBuffer - the OutputBuffer to write to
      document - the BSONObject to write
      Returns:
      the number of characters in the encoding