Class SearchIndexerStatus
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerStatus
Represents the current status and execution history of an indexer.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchIndexerStatus
(IndexerStatus status, List<IndexerExecutionResult> executionHistory, SearchIndexerLimits limits) Creates an instance of SearchIndexerStatus class. -
Method Summary
Modifier and TypeMethodDescriptionGet the executionHistory property: History of the recent indexer executions, sorted in reverse chronological order.Get the lastResult property: The result of the most recent or an in-progress indexer execution.Get the limits property: The execution limits for the indexer.Get the status property: Overall indexer status.
-
Constructor Details
-
SearchIndexerStatus
public SearchIndexerStatus(IndexerStatus status, List<IndexerExecutionResult> executionHistory, SearchIndexerLimits limits) Creates an instance of SearchIndexerStatus class.- Parameters:
status
- the status value to set.executionHistory
- the executionHistory value to set.limits
- the limits value to set.
-
-
Method Details
-
getStatus
Get the status property: Overall indexer status.- Returns:
- the status value.
-
getLastResult
Get the lastResult property: The result of the most recent or an in-progress indexer execution.- Returns:
- the lastResult value.
-
getExecutionHistory
Get the executionHistory property: History of the recent indexer executions, sorted in reverse chronological order.- Returns:
- the executionHistory value.
-
getLimits
Get the limits property: The execution limits for the indexer.- Returns:
- the limits value.
-