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:
-
Method Summary
Modifier and TypeMethodDescriptionGets the reference to the next page.Gets anIterableStreamof elements in the page.
-
Method Details
-
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.
-