public class PaginatedQuery.ResultPage extends java.lang.Object implements PaginatedResult<T>
| Modifier and Type | Method and Description |
|---|---|
PaginatedResult<T> |
current() |
PaginatedResult<T> |
first()
Obtain params required to perform the given relative query
|
boolean |
hasCurrent() |
boolean |
hasFirst() |
boolean |
hasNext() |
T[] |
items()
Get the contents as an array of component type
|
PaginatedResult<T> |
next() |
public T[] items()
PaginatedResultitems in interface PaginatedResult<T>public PaginatedResult<T> first() throws AblyException
PaginatedResultfirst in interface PaginatedResult<T>AblyExceptionpublic PaginatedResult<T> current() throws AblyException
current in interface PaginatedResult<T>AblyExceptionpublic PaginatedResult<T> next() throws AblyException
next in interface PaginatedResult<T>AblyExceptionpublic boolean hasFirst()
hasFirst in interface PaginatedResult<T>public boolean hasCurrent()
hasCurrent in interface PaginatedResult<T>public boolean hasNext()
hasNext in interface PaginatedResult<T>