public final class InsertManyOptions
extends java.lang.Object
| Constructor and Description |
|---|
InsertManyOptions() |
| Modifier and Type | Method and Description |
|---|---|
InsertManyOptions |
bypassDocumentValidation(java.lang.Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
java.lang.Boolean |
getBypassDocumentValidation()
Gets the the bypass document level validation flag
|
boolean |
isOrdered()
Gets whether the documents should be inserted in the order provided, stopping on the first failed insertion.
|
InsertManyOptions |
ordered(boolean ordered)
Sets whether the server should insert the documents in the order provided.
|
java.lang.String |
toString() |
public boolean isOrdered()
public InsertManyOptions ordered(boolean ordered)
ordered - true if documents should be inserted in order@Nullable public java.lang.Boolean getBypassDocumentValidation()
public InsertManyOptions bypassDocumentValidation(@Nullable java.lang.Boolean bypassDocumentValidation)
bypassDocumentValidation - If true, allows the write to opt-out of document level validation.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved