Package com.azure.ai.textanalytics.util
Class AbstractSummaryPagedIterable
java.lang.Object
com.azure.core.util.IterableStream<T>
com.azure.core.util.paging.ContinuablePagedIterable<String,AbstractSummaryResultCollection,com.azure.core.http.rest.PagedResponse<AbstractSummaryResultCollection>>
com.azure.ai.textanalytics.util.AbstractSummaryPagedIterable
- All Implemented Interfaces:
Iterable<AbstractSummaryResultCollection>
public final class AbstractSummaryPagedIterable
extends com.azure.core.util.paging.ContinuablePagedIterable<String,AbstractSummaryResultCollection,com.azure.core.http.rest.PagedResponse<AbstractSummaryResultCollection>>
-
Constructor Summary
ConstructorDescriptionAbstractSummaryPagedIterable
(Supplier<com.azure.core.util.paging.PageRetrieverSync<String, com.azure.core.http.rest.PagedResponse<AbstractSummaryResultCollection>>> provider) Creates an instance ofAbstractSummaryPagedIterable
. -
Method Summary
Methods inherited from class com.azure.core.util.paging.ContinuablePagedIterable
iterableByPage, iterableByPage, iterableByPage, iterableByPage, iterator, stream, streamByPage, streamByPage, streamByPage, streamByPage
Methods inherited from class com.azure.core.util.IterableStream
of
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
-
AbstractSummaryPagedIterable
public AbstractSummaryPagedIterable(Supplier<com.azure.core.util.paging.PageRetrieverSync<String, com.azure.core.http.rest.PagedResponse<AbstractSummaryResultCollection>>> provider) Creates an instance ofAbstractSummaryPagedIterable
. The constructor takes aSupplier
andFunction
. TheSupplier
returns the first page ofAbstractSummaryResultCollection
, theFunction
retrieves subsequent pages ofAbstractSummaryResultCollection
.- Parameters:
provider
- Supplier that retrieves the first page
-