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>>
This class provides utility to iterate over PagedResponse using Stream and Iterable interfaces.
  • Constructor Details

    • ClassifyDocumentPagedIterable

      public ClassifyDocumentPagedIterable(ClassifyDocumentPagedFlux pagedFlux)
      Creates instance given ClassifyDocumentPagedIterable.
      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 of ClassifyDocumentPagedIterable. The constructor takes a Supplier and Function. The Supplier returns the first page of ClassifyDocumentResultCollection, the Function retrieves subsequent pages of ClassifyDocumentResultCollection.
      Parameters:
      provider - Supplier that retrieves the first page