public class UpdateOptions extends Object
Learn more
Constructor and Description |
---|
UpdateOptions()
Initializes a new instance of the
UpdateOptions class. |
Modifier and Type | Method and Description |
---|---|
Cancellation |
getCancellation()
Gets the operation cancellation object.
|
ImageIndexingOptions |
getImageIndexingOptions()
Gets the image indexing options for reverse image search.
|
MetadataIndexingOptions |
getMetadataIndexingOptions()
Gets the options for indexing metadata fields.
|
OcrIndexingOptions |
getOcrIndexingOptions()
Gets the options for OCR processing and indexing recognized text.
|
int |
getThreads()
Gets the number of threads used for indexing.
|
boolean |
isAsync()
Gets the flag of asynchronous performing the operation.
|
void |
setAsync(boolean value)
Sets the flag of asynchronous performing the operation.
|
void |
setCancellation(Cancellation value)
Sets the operation cancellation object.
|
void |
setThreads(int value)
Sets the number of threads used for indexing.
|
public UpdateOptions()
UpdateOptions
class.public final int getThreads()
1
.public final void setThreads(int value)
1
.value
- The number of threads used for indexing.public final boolean isAsync()
false
.public final void setAsync(boolean value)
false
.value
- The flag of asynchronous performing the operation.public final Cancellation getCancellation()
null
.public final void setCancellation(Cancellation value)
null
.value
- The operation cancellation object.public final MetadataIndexingOptions getMetadataIndexingOptions()
public final OcrIndexingOptions getOcrIndexingOptions()
public final ImageIndexingOptions getImageIndexingOptions()