public class BsonBinaryWriterSettings extends Object
| Constructor and Description | 
|---|
| BsonBinaryWriterSettings()Creates a new instance of the settings with  Integer.MAX_VALUEas the maximum document size. | 
| BsonBinaryWriterSettings(int maxDocumentSize)Creates a new instance of the settings with the given maximum document size. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getMaxDocumentSize()Gets the maximum size for BSON documents. | 
public BsonBinaryWriterSettings(int maxDocumentSize)
maxDocumentSize - the maximum document size.public BsonBinaryWriterSettings()
Integer.MAX_VALUE as the maximum document size.