Class CategorizedEntityCollection
java.lang.Object
com.azure.core.util.IterableStream<CategorizedEntity>
com.azure.ai.textanalytics.models.CategorizedEntityCollection
- All Implemented Interfaces:
Iterable<CategorizedEntity>
The
CategorizedEntityCollection
model.-
Constructor Summary
ConstructorDescriptionCategorizedEntityCollection
(IterableStream<CategorizedEntity> entities, IterableStream<TextAnalyticsWarning> warnings) Creates aCategorizedEntityCollection
model that describes a entities collection including warnings. -
Method Summary
Methods inherited from class com.azure.core.util.IterableStream
iterator, of, stream
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 Details
-
CategorizedEntityCollection
public CategorizedEntityCollection(IterableStream<CategorizedEntity> entities, IterableStream<TextAnalyticsWarning> warnings) Creates aCategorizedEntityCollection
model that describes a entities collection including warnings.- Parameters:
entities
- AnIterableStream
ofcategorized entities
.warnings
- AnIterableStream
ofwarnings
.
-
-
Method Details
-
getWarnings
Gets theIterableStream
ofText Analytics warnings
.- Returns:
IterableStream
ofTextAnalyticsWarning
.
-