Class CategorizedEntityCollection
java.lang.Object
com.azure.core.util.IterableStream<CategorizedEntity>
com.azure.ai.textanalytics.models.CategorizedEntityCollection
- All Implemented Interfaces:
Iterable<CategorizedEntity>
public final class CategorizedEntityCollection
extends com.azure.core.util.IterableStream<CategorizedEntity>
The
CategorizedEntityCollection model.-
Constructor Summary
ConstructorsConstructorDescriptionCategorizedEntityCollection(com.azure.core.util.IterableStream<CategorizedEntity> entities, com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings) Creates aCategorizedEntityCollectionmodel that describes a entities collection including warnings. -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.IterableStream<TextAnalyticsWarning>Gets theIterableStreamofText Analytics warnings.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
-
CategorizedEntityCollection
public CategorizedEntityCollection(com.azure.core.util.IterableStream<CategorizedEntity> entities, com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings) Creates aCategorizedEntityCollectionmodel that describes a entities collection including warnings.- Parameters:
entities- AnIterableStreamofcategorized entities.warnings- AnIterableStreamofwarnings.
-
-
Method Details
-
getWarnings
Gets theIterableStreamofText Analytics warnings.- Returns:
IterableStreamofTextAnalyticsWarning.
-