Package com.azure.ai.textanalytics.util
Class ClassifyDocumentPagedIterable
java.lang.Object
com.azure.core.util.IterableStream<T>
com.azure.core.util.paging.ContinuablePagedIterable<String,ClassifyDocumentResultCollection,com.azure.core.http.rest.PagedResponse<ClassifyDocumentResultCollection>>
com.azure.ai.textanalytics.util.ClassifyDocumentPagedIterable
- All Implemented Interfaces:
Iterable<ClassifyDocumentResultCollection>
public final class ClassifyDocumentPagedIterable
extends com.azure.core.util.paging.ContinuablePagedIterable<String,ClassifyDocumentResultCollection,com.azure.core.http.rest.PagedResponse<ClassifyDocumentResultCollection>>
-
Constructor Summary
ConstructorDescriptionCreates instance givenClassifyDocumentPagedIterable
.ClassifyDocumentPagedIterable
(Supplier<com.azure.core.util.paging.PageRetrieverSync<String, com.azure.core.http.rest.PagedResponse<ClassifyDocumentResultCollection>>> provider) Creates an instance ofClassifyDocumentPagedIterable
. -
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
-
ClassifyDocumentPagedIterable
Creates instance givenClassifyDocumentPagedIterable
.- Parameters:
pagedFlux
- It used as iterable.
-
ClassifyDocumentPagedIterable
public ClassifyDocumentPagedIterable(Supplier<com.azure.core.util.paging.PageRetrieverSync<String, com.azure.core.http.rest.PagedResponse<ClassifyDocumentResultCollection>>> provider) Creates an instance ofClassifyDocumentPagedIterable
. The constructor takes aSupplier
andFunction
. TheSupplier
returns the first page ofClassifyDocumentResultCollection
, theFunction
retrieves subsequent pages ofClassifyDocumentResultCollection
.- Parameters:
provider
- Supplier that retrieves the first page
-