SearchIndexerStatus Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchIndexerStatus
- com.
Implements
public final class SearchIndexerStatus
implements JsonSerializable<SearchIndexerStatus>
Represents the current status and execution history of an indexer.
Constructor Summary
Constructor | Description |
---|---|
SearchIndexerStatus(IndexerStatus status, List<IndexerExecutionResult> executionHistory, SearchIndexerLimits limits) |
Creates an instance of Search |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Search |
fromJson(JsonReader jsonReader)
Reads an instance of Search |
List<Indexer |
getExecutionHistory()
Get the execution |
Indexer |
getLastResult()
Get the last |
Search |
getLimits()
Get the limits property: The execution limits for the indexer. |
Indexer |
getStatus()
Get the status property: Overall indexer status. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SearchIndexerStatus
public SearchIndexerStatus(IndexerStatus status, List
Creates an instance of SearchIndexerStatus class.
Parameters:
Method Details
fromJson
public static SearchIndexerStatus fromJson(JsonReader jsonReader)
Reads an instance of SearchIndexerStatus from the JsonReader.
Parameters:
Returns:
Throws:
getExecutionHistory
public List
Get the executionHistory property: History of the recent indexer executions, sorted in reverse chronological order.
Returns:
getLastResult
public IndexerExecutionResult getLastResult()
Get the lastResult property: The result of the most recent or an in-progress indexer execution.
Returns:
getLimits
public SearchIndexerLimits getLimits()
Get the limits property: The execution limits for the indexer.
Returns:
getStatus
public IndexerStatus getStatus()
Get the status property: Overall indexer status.
Returns:
toJson
Applies to
Azure SDK for Java