public class BsonBinaryWriterSettings
extends java.lang.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.
|
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.Copyright © 2010 - 2020 Adobe. All Rights Reserved