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