public class BsonBinaryWriterSettings
extends java.lang.Object
| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.