ClassifyDocumentResultCollection Class
- java.
lang. Object - com.
azure. core. util. IterableStream<T> - com.
azure. ai. textanalytics. util. ClassifyDocumentResultCollection
- com.
- com.
public final class ClassifyDocumentResultCollection
extends IterableStream<ClassifyDocumentResult>
A collection model that contains a list of ClassifyDocumentResult along with project name, deployment name and batch's statistics.
Constructor Summary
| Constructor | Description |
|---|---|
| ClassifyDocumentResultCollection(Iterable<ClassifyDocumentResult> documentResults) |
Create a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getDeploymentName()
Gets the name of the deployment being consumed. |
| String |
getProjectName()
Gets the name of the project which owns the model being consumed. |
|
Text |
getStatistics()
Get the batch statistics of response. |
Methods inherited from IterableStream
Methods inherited from java.lang.Object
Constructor Details
ClassifyDocumentResultCollection
public ClassifyDocumentResultCollection(Iterable<ClassifyDocumentResult> documentResults)
Create a ClassifyDocumentResultCollection model that maintains a list of ClassifyDocumentResult along with model version and batch's statistics.
Parameters:
Method Details
getDeploymentName
public String getDeploymentName()
Gets the name of the deployment being consumed.
Returns:
getProjectName
public String getProjectName()
Gets the name of the project which owns the model being consumed.
Returns:
getStatistics
public TextDocumentBatchStatistics getStatistics()
Get the batch statistics of response.
Returns: