public class IndexingOptions extends Object
Constructor and Description |
---|
IndexingOptions()
Initializes a new instance of the
IndexingOptions class. |
Modifier and Type | Method and Description |
---|---|
Cancellation |
getCancellation()
Gets the operation cancellation object.
|
MetadataIndexingOptions |
getMetadataIndexingOptions()
Gets the options for indexing metadata fields.
|
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 IndexingOptions()
Initializes a new instance of the IndexingOptions
class.
public final int getThreads()
Gets the number of threads used for indexing.
The default value is 1
.
public final void setThreads(int value)
Sets the number of threads used for indexing.
The default value is 1
.
value
- The number of threads used for indexing.public final boolean isAsync()
Gets the flag of asynchronous performing the operation.
The default value is false
.
public final void setAsync(boolean value)
Sets the flag of asynchronous performing the operation.
The default value is false
.
value
- The flag of asynchronous performing the operation.public final Cancellation getCancellation()
Gets the operation cancellation object.
The default value is null
.
public final void setCancellation(Cancellation value)
Sets the operation cancellation object.
The default value is null
.
value
- The operation cancellation object.public final MetadataIndexingOptions getMetadataIndexingOptions()
Gets the options for indexing metadata fields.