Package com.azure.ai.textanalytics.util
Class RecognizeLinkedEntitiesResultCollection
java.lang.Object
com.azure.core.util.IterableStream<RecognizeLinkedEntitiesResult>
com.azure.ai.textanalytics.util.RecognizeLinkedEntitiesResultCollection
- All Implemented Interfaces:
Iterable<RecognizeLinkedEntitiesResult>
public class RecognizeLinkedEntitiesResultCollection
extends com.azure.core.util.IterableStream<RecognizeLinkedEntitiesResult>
A collection model that contains a list of
RecognizeLinkedEntitiesResult along with model version and
batch's statistics.-
Constructor Summary
ConstructorsConstructorDescriptionRecognizeLinkedEntitiesResultCollection(Iterable<RecognizeLinkedEntitiesResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics) Creates aRecognizeLinkedEntitiesResultCollectionmodel that maintains a list ofRecognizeLinkedEntitiesResultalong with model version and batch's statistics. -
Method Summary
Modifier and TypeMethodDescriptionGets the model version trained in service for the request.Gets the batch statistics of response.Methods inherited from class com.azure.core.util.IterableStream
iterator, of, streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
RecognizeLinkedEntitiesResultCollection
public RecognizeLinkedEntitiesResultCollection(Iterable<RecognizeLinkedEntitiesResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics) Creates aRecognizeLinkedEntitiesResultCollectionmodel that maintains a list ofRecognizeLinkedEntitiesResultalong with model version and batch's statistics.- Parameters:
documentResults- A list ofRecognizeLinkedEntitiesResult.modelVersion- The model version trained in service for the request.statistics- The batch statistics of response.
-
-
Method Details
-
getModelVersion
Gets the model version trained in service for the request.- Returns:
- The model version trained in service for the request.
-
getStatistics
Gets the batch statistics of response.- Returns:
- The batch statistics of response.
-