public class BsonBinaryWriterSettings extends Object
Constructor and Description |
---|
BsonBinaryWriterSettings()
Creates a new instance of the settings with
Integer.MAX_VALUE as the maximum document size. |
BsonBinaryWriterSettings(int maxDocumentSize)
Creates a new instance of the settings with the given maximum document size.
|
public BsonBinaryWriterSettings(int maxDocumentSize)
maxDocumentSize
- the maximum document size.public BsonBinaryWriterSettings()
Integer.MAX_VALUE
as the maximum document size.