Class LinkedEntityCollection
java.lang.Object
com.azure.core.util.IterableStream<LinkedEntity>
com.azure.ai.textanalytics.models.LinkedEntityCollection
- All Implemented Interfaces:
Iterable<LinkedEntity>
The
LinkedEntityCollection
model.-
Constructor Summary
ConstructorDescriptionLinkedEntityCollection
(IterableStream<LinkedEntity> entities, IterableStream<TextAnalyticsWarning> warnings) Creates aLinkedEntityCollection
model that describes a linked 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
-
LinkedEntityCollection
public LinkedEntityCollection(IterableStream<LinkedEntity> entities, IterableStream<TextAnalyticsWarning> warnings) Creates aLinkedEntityCollection
model that describes a linked entities collection including warnings.- Parameters:
entities
- AnIterableStream
oflinked entities
.warnings
- AnIterableStream
ofwarnings
.
-
-
Method Details
-
getWarnings
Gets theIterableStream
ofText Analytics warnings
.- Returns:
IterableStream
ofTextAnalyticsWarning
.
-