Package com.azure.ai.textanalytics.util
Class RecognizePiiEntitiesResultCollection
- java.lang.Object
-
- com.azure.core.util.IterableStream<RecognizePiiEntitiesResult>
-
- com.azure.ai.textanalytics.util.RecognizePiiEntitiesResultCollection
-
- All Implemented Interfaces:
Iterable<RecognizePiiEntitiesResult>
public final class RecognizePiiEntitiesResultCollection extends com.azure.core.util.IterableStream<RecognizePiiEntitiesResult>
A collection model that contains a list ofRecognizePiiEntitiesResult
along with model version and batch's statistics.
-
-
Constructor Summary
Constructors Constructor Description RecognizePiiEntitiesResultCollection(Iterable<RecognizePiiEntitiesResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics)
Creates aRecognizePiiEntitiesResultCollection
model that maintains a list ofRecognizePiiEntitiesResult
along with model version and batch's statistics.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getModelVersion()
Gets the model version trained in service for the request.TextDocumentBatchStatistics
getStatistics()
Gets 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
-
RecognizePiiEntitiesResultCollection
public RecognizePiiEntitiesResultCollection(Iterable<RecognizePiiEntitiesResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics)
Creates aRecognizePiiEntitiesResultCollection
model that maintains a list ofRecognizePiiEntitiesResult
along with model version and batch's statistics.- Parameters:
documentResults
- A list ofRecognizePiiEntitiesResult
.modelVersion
- The model version trained in service for the request.statistics
- The batch statistics of response.
-
-
Method Detail
-
getModelVersion
public String getModelVersion()
Gets the model version trained in service for the request.- Returns:
- The model version trained in service for the request.
-
getStatistics
public TextDocumentBatchStatistics getStatistics()
Gets the batch statistics of response.- Returns:
- The batch statistics of response.
-
-