Package com.azure.ai.textanalytics.util
Class AbstractiveSummaryResultCollection
java.lang.Object
com.azure.core.util.IterableStream<AbstractiveSummaryResult>
com.azure.ai.textanalytics.util.AbstractiveSummaryResultCollection
- All Implemented Interfaces:
Iterable<AbstractiveSummaryResult>
public final class AbstractiveSummaryResultCollection
extends com.azure.core.util.IterableStream<AbstractiveSummaryResult>
A collection model that contains a list of
AbstractiveSummaryResult along with model version and
batch's statistics.-
Constructor Summary
ConstructorsConstructorDescriptionAbstractiveSummaryResultCollection(Iterable<AbstractiveSummaryResult> documentResults) Create aAbstractiveSummaryResultCollectionmodel that maintains a list ofAbstractiveSummaryResultalong with model version and batch's statistics. -
Method Summary
Modifier and TypeMethodDescriptionGets the version of the text analytics model used by this operation.Get 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
-
AbstractiveSummaryResultCollection
Create aAbstractiveSummaryResultCollectionmodel that maintains a list ofAbstractiveSummaryResultalong with model version and batch's statistics.- Parameters:
documentResults- A list ofAbstractiveSummaryResult.
-
-
Method Details
-
getModelVersion
Gets the version of the text analytics model used by this operation.- Returns:
- The model version.
-
getStatistics
Get the batch statistics of response.- Returns:
- The batch statistics of response.
-