public final class BulkWriteOptions
extends java.lang.Object
Constructor and Description |
---|
BulkWriteOptions() |
Modifier and Type | Method and Description |
---|---|
BulkWriteOptions |
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()
If true, then when a write fails, return without performing the remaining
writes.
|
BulkWriteOptions |
ordered(boolean ordered)
If true, then when a write fails, return without performing the remaining
writes.
|
java.lang.String |
toString() |
public boolean isOrdered()
public BulkWriteOptions ordered(boolean ordered)
ordered
- true if the writes should be ordered@Nullable public java.lang.Boolean getBypassDocumentValidation()
public BulkWriteOptions 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.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved