SuggestPagedIterable Class
- java.
lang. Object - com.
azure. core. util. IterableStream<T> - com.
azure. core. util. paging. ContinuablePagedIterable<C,T,P> - com.
azure. core. http. rest. PagedIterableBase<T,P> - com.
azure. search. documents. util. SuggestPagedIterable
- com.
- com.
- com.
- com.
public final class SuggestPagedIterable
extends PagedIterableBase<SuggestResult,SuggestPagedResponse>
Implementation of PagedIterableBase<T,P> where the element type is SuggestResult and the page type is SuggestPagedResponse.
Constructor Summary
Constructor | Description |
---|---|
SuggestPagedIterable(SuggestPagedFlux pagedFluxBase) |
Creates instance given SuggestPagedIterable. |
SuggestPagedIterable(Supplier<SuggestPagedResponse> firstPageRetriever) |
Creates an instance of SuggestPagedIterable. |
SuggestPagedIterable(Supplier<SuggestPagedResponse> firstPageRetriever, Function<String,SuggestPagedResponse> nextPageRetriever) |
Creates an instance of SuggestPagedIterable. |
Methods inherited from IterableStream
Methods inherited from ContinuablePagedIterable
Methods inherited from java.lang.Object
Constructor Details
SuggestPagedIterable
public SuggestPagedIterable(SuggestPagedFlux pagedFluxBase)
Creates instance given SuggestPagedIterable.
Parameters:
SuggestPagedIterable
public SuggestPagedIterable(Supplier
Creates an instance of SuggestPagedIterable. The constructor takes a Supplier
. The Supplier
returns the first page of SuggestPagedResponse
.
Parameters:
SuggestPagedIterable
public SuggestPagedIterable(Supplier
Creates an instance of SuggestPagedIterable. The constructor takes a Supplier
and Function
. The Supplier
returns the first page of SuggestPagedResponse
, the Function
retrieves subsequent pages of SuggestPagedResponse
.
Parameters: