Partager via


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 IterableStream<T> 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 getElements()

Gets an IterableStream<T> of elements in the page.

Returns:

An IterableStream<T> containing the elements in the page.

Applies to