IndexerExecutionResult Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. IndexerExecutionResult
- com.
Implements
public final class IndexerExecutionResult
implements JsonSerializable<IndexerExecutionResult>
Represents the result of an individual indexer execution.
Constructor Summary
Constructor | Description |
---|---|
IndexerExecutionResult(IndexerExecutionStatus status, List<SearchIndexerError> errors, List<SearchIndexerWarning> warnings, int itemCount, int failedItemCount) |
Creates an instance of Indexer |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Indexer |
fromJson(JsonReader jsonReader)
Reads an instance of Indexer |
Offset |
getEndTime()
Get the end |
String |
getErrorMessage()
Get the error |
List<Search |
getErrors()
Get the errors property: The item-level indexing errors. |
int |
getFailedItemCount()
Get the failed |
String |
getFinalTrackingState()
Get the final |
String |
getInitialTrackingState()
Get the initial |
int |
getItemCount()
Get the item |
Offset |
getStartTime()
Get the start |
Indexer |
getStatus()
Get the status property: The outcome of this indexer execution. |
List<Search |
getWarnings()
Get the warnings property: The item-level indexing warnings. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
IndexerExecutionResult
public IndexerExecutionResult(IndexerExecutionStatus status, List
Creates an instance of IndexerExecutionResult class.
Parameters:
Method Details
fromJson
public static IndexerExecutionResult fromJson(JsonReader jsonReader)
Reads an instance of IndexerExecutionResult from the JsonReader.
Parameters:
Returns:
Throws:
getEndTime
public OffsetDateTime getEndTime()
Get the endTime property: The end time of this indexer execution, if the execution has already completed.
Returns:
getErrorMessage
public String getErrorMessage()
Get the errorMessage property: The error message indicating the top-level error, if any.
Returns:
getErrors
public List
Get the errors property: The item-level indexing errors.
Returns:
getFailedItemCount
public int getFailedItemCount()
Get the failedItemCount property: The number of items that failed to be indexed during this indexer execution.
Returns:
getFinalTrackingState
public String getFinalTrackingState()
Get the finalTrackingState property: Change tracking state with which an indexer execution finished.
Returns:
getInitialTrackingState
public String getInitialTrackingState()
Get the initialTrackingState property: Change tracking state with which an indexer execution started.
Returns:
getItemCount
public int getItemCount()
Get the itemCount property: The number of items that were processed during this indexer execution. This includes both successfully processed items and items where indexing was attempted but failed.
Returns:
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: The start time of this indexer execution.
Returns:
getStatus
public IndexerExecutionStatus getStatus()
Get the status property: The outcome of this indexer execution.
Returns:
getWarnings
public List
Get the warnings property: The item-level indexing warnings.
Returns: