public class BsonBinaryWriterSettings extends Object
Constructor | 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.
|
Modifier and Type | Method | 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.