ContinuablePage<C,T> Interface
Type Parameters
- C
Type of the continuation token.
- T
Type of the elements in the page.
public interface ContinuablePage<C,T>
Represents a page returned, this page may contain a reference to additional pages known as a continuation token.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract C |
getContinuationToken()
Gets the reference to the next page. |
abstract
Iterable |
getElements()
Gets an IterableStream<T> of elements in the page. |
Method Details
getContinuationToken
public abstract C getContinuationToken()
Gets the reference to the next page.
Returns:
The next page reference or
null
if there isn't a next page.getElements
public abstract IterableStream
Gets an IterableStream<T> of elements in the page.
Returns:
An IterableStream<T> containing the elements in the page.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.