public final class BulkWriteOptions extends Object
| Constructor | Description |
|---|---|
BulkWriteOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
BulkWriteOptions |
bypassDocumentValidation(Boolean bypassDocumentValidation) |
Sets the bypass document level validation flag.
|
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.
|
String |
toString() |
public boolean isOrdered()
public BulkWriteOptions ordered(boolean ordered)
ordered - true if the writes should be ordered@Nullable public Boolean getBypassDocumentValidation()
public BulkWriteOptions bypassDocumentValidation(@Nullable Boolean bypassDocumentValidation)
bypassDocumentValidation - If true, allows the write to opt-out of document level validation.