Package com.azure.core.util.paging
Interface ContinuablePage<C,T>
-
- Type Parameters:
C- Type of the continuation token.T- Type of the elements in the page.
- All Known Subinterfaces:
Page<T>,PagedResponse<T>
- All Known Implementing Classes:
PagedResponseBase
public interface ContinuablePage<C,T>Represents a page returned, this page may contain a reference to additional pages known as a continuation token.- See Also:
ContinuablePagedFlux
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CgetContinuationToken()Gets the reference to the next page.IterableStream<T>getElements()Gets anIterableStreamof elements in the page.
-
-
-
Method Detail
-
getElements
IterableStream<T> getElements()
Gets anIterableStreamof elements in the page.- Returns:
- An
IterableStreamcontaining the elements in the page.
-
getContinuationToken
C getContinuationToken()
Gets the reference to the next page.- Returns:
- The next page reference or
nullif there isn't a next page.
-
-