Partilhar via


AnalyzeBatchResult Class

  • java.lang.Object
    • com.azure.ai.documentintelligence.models.AnalyzeBatchResult

Implements

public final class AnalyzeBatchResult
implements JsonSerializable<AnalyzeBatchResult>

Batch document analysis result.

Method Summary

Modifier and Type Method and Description
static AnalyzeBatchResult fromJson(JsonReader jsonReader)

Reads an instance of AnalyzeBatchResult from the JsonReader.

List<AnalyzeBatchResultDetails> getDetails()

Get the details property: Operation detail for each document in the batch.

int getFailedCount()

Get the failedCount property: Number of documents that completed with status failed.

int getSkippedCount()

Get the skippedCount property: Number of documents that completed with status skipped.

int getSucceededCount()

Get the succeededCount property: Number of documents that completed with status succeeded.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static AnalyzeBatchResult fromJson(JsonReader jsonReader)

Reads an instance of AnalyzeBatchResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AnalyzeBatchResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getDetails

public List getDetails()

Get the details property: Operation detail for each document in the batch.

Returns:

the details value.

getFailedCount

public int getFailedCount()

Get the failedCount property: Number of documents that completed with status failed.

Returns:

the failedCount value.

getSkippedCount

public int getSkippedCount()

Get the skippedCount property: Number of documents that completed with status skipped.

Returns:

the skippedCount value.

getSucceededCount

public int getSucceededCount()

Get the succeededCount property: Number of documents that completed with status succeeded.

Returns:

the succeededCount value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to