ClassifyDocumentPagedIterable Class
- java.
lang. Object - com.
azure. core. util. IterableStream<T> - com.
azure. core. util. paging. ContinuablePagedIterable<C,T,P> - com.
azure. ai. textanalytics. util. ClassifyDocumentPagedIterable
- com.
- com.
- com.
public final class ClassifyDocumentPagedIterable
extends ContinuablePagedIterable<String,ClassifyDocumentResultCollection,PagedResponse<ClassifyDocumentResultCollection>>
This class provides utility to iterate over PagedResponse<T> using Stream and Iterable interfaces.
Constructor Summary
| Constructor | Description |
|---|---|
| ClassifyDocumentPagedIterable(ClassifyDocumentPagedFlux pagedFlux) |
Creates instance given |
| ClassifyDocumentPagedIterable(Supplier<PageRetrieverSync<String,PagedResponse<ClassifyDocumentResultCollection>>> provider) |
Creates an instance of |
Methods inherited from IterableStream
Methods inherited from ContinuablePagedIterable
Methods inherited from java.lang.Object
Constructor Details
ClassifyDocumentPagedIterable
public ClassifyDocumentPagedIterable(ClassifyDocumentPagedFlux pagedFlux)
Creates instance given ClassifyDocumentPagedIterable.
Parameters:
ClassifyDocumentPagedIterable
public ClassifyDocumentPagedIterable(Supplier<PageRetrieverSync<String,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: