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
ConstructorsConstructorDescriptionCreates 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, streamByPageMethods inherited from class com.azure.core.util.IterableStream
ofMethods 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
-
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 aSupplierandFunction. TheSupplierreturns the first page ofClassifyDocumentResultCollection, theFunctionretrieves subsequent pages ofClassifyDocumentResultCollection.- Parameters:
provider- Supplier that retrieves the first page
-