public class IndexDocumentsOptions extends Object
Constructor and Description |
---|
IndexDocumentsOptions() |
Modifier and Type | Method and Description |
---|---|
IndexDocumentsOptions |
setThrowOnAnyError(boolean throwOnAnyError)
Sets whether an exception is thrown if any operation in a batch fails.
|
boolean |
throwOnAnyError()
Returns whether an exception will be thrown if any operation in the batch fails.
|
public boolean throwOnAnyError()
Default value is true
.
public IndexDocumentsOptions setThrowOnAnyError(boolean throwOnAnyError)
Default value is true
.
throwOnAnyError
- Flag indicating whether to throw on batch operation failure.Copyright © 2021 Microsoft Corporation. All rights reserved.