Class SearchIndexerStatus
- java.lang.Object
-
- com.azure.search.documents.indexes.models.SearchIndexerStatus
-
public final class SearchIndexerStatus extends Object
Represents the current status and execution history of an indexer.
-
-
Constructor Summary
Constructors Constructor Description SearchIndexerStatus(IndexerStatus status, List<IndexerExecutionResult> executionHistory, SearchIndexerLimits limits)
Creates an instance of SearchIndexerStatus class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IndexerExecutionResult>
getExecutionHistory()
Get the executionHistory property: History of the recent indexer executions, sorted in reverse chronological order.IndexerExecutionResult
getLastResult()
Get the lastResult property: The result of the most recent or an in-progress indexer execution.SearchIndexerLimits
getLimits()
Get the limits property: The execution limits for the indexer.IndexerStatus
getStatus()
Get the status property: Overall indexer status.
-
-
-
Constructor Detail
-
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 Detail
-
getStatus
public IndexerStatus getStatus()
Get the status property: Overall indexer status.- Returns:
- the status value.
-
getLastResult
public IndexerExecutionResult getLastResult()
Get the lastResult property: The result of the most recent or an in-progress indexer execution.- Returns:
- the lastResult value.
-
getExecutionHistory
public List<IndexerExecutionResult> getExecutionHistory()
Get the executionHistory property: History of the recent indexer executions, sorted in reverse chronological order.- Returns:
- the executionHistory value.
-
getLimits
public SearchIndexerLimits getLimits()
Get the limits property: The execution limits for the indexer.- Returns:
- the limits value.
-
-