Package com.azure.ai.textanalytics.util
Class MultiCategoryClassifyResultCollection
- java.lang.Object
-
- com.azure.core.util.IterableStream<MultiCategoryClassifyResult>
-
- com.azure.ai.textanalytics.util.MultiCategoryClassifyResultCollection
-
- All Implemented Interfaces:
Iterable<MultiCategoryClassifyResult>
public final class MultiCategoryClassifyResultCollection extends com.azure.core.util.IterableStream<MultiCategoryClassifyResult>
A collection model that contains a list ofMultiCategoryClassifyResult
along with project name, deployment name and batch's statistics.
-
-
Constructor Summary
Constructors Constructor Description MultiCategoryClassifyResultCollection(Iterable<MultiCategoryClassifyResult> documentResults)
Create aMultiCategoryClassifyResultCollection
model that maintains a list ofMultiCategoryClassifyResult
along with model version and batch's statistics.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.TextDocumentBatchStatistics
getStatistics()
Get the batch statistics of response.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
MultiCategoryClassifyResultCollection
public MultiCategoryClassifyResultCollection(Iterable<MultiCategoryClassifyResult> documentResults)
Create aMultiCategoryClassifyResultCollection
model that maintains a list ofMultiCategoryClassifyResult
along with model version and batch's statistics.- Parameters:
documentResults
- A list ofMultiCategoryClassifyResult
.
-
-
Method Detail
-
getProjectName
public String getProjectName()
Gets the name of the project which owns the model being consumed.- Returns:
- The name of the project which owns the model being consumed.
-
getDeploymentName
public String getDeploymentName()
Gets the name of the deployment being consumed.- Returns:
- The name of the deployment being consumed.
-
getStatistics
public TextDocumentBatchStatistics getStatistics()
Get the batch statistics of response.- Returns:
- The batch statistics of response.
-
-