Package org.bson

Class BsonBinaryWriterSettings


  • @Deprecated(since="2022-10-31")
    public class BsonBinaryWriterSettings
    extends java.lang.Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    The customisable settings for writing BSON.
    Since:
    3.0
    • Constructor Summary

      Constructors 
      Constructor Description
      BsonBinaryWriterSettings()
      Deprecated.
      Creates a new instance of the settings with Integer.MAX_VALUE as the maximum document size.
      BsonBinaryWriterSettings​(int maxDocumentSize)
      Deprecated.
      Creates a new instance of the settings with the given maximum document size.
    • Constructor Detail

      • BsonBinaryWriterSettings

        public BsonBinaryWriterSettings​(int maxDocumentSize)
        Deprecated.
        Creates a new instance of the settings with the given maximum document size.
        Parameters:
        maxDocumentSize - the maximum document size.
      • BsonBinaryWriterSettings

        public BsonBinaryWriterSettings()
        Deprecated.
        Creates a new instance of the settings with Integer.MAX_VALUE as the maximum document size.
    • Method Detail

      • getMaxDocumentSize

        public int getMaxDocumentSize()
        Deprecated.
        Gets the maximum size for BSON documents.
        Returns:
        the maximum size of BSON documents. ???