Query
- type of underlaying query.public class PagingQuery<Query>
extends java.lang.Object
Constructor and Description |
---|
PagingQuery(Query query)
Create paging query.
|
Modifier and Type | Method and Description |
---|---|
int |
getLimit() |
java.lang.String |
getNext() |
Query |
getQuery() |
PagingQuery<Query> |
next(java.lang.String nextCursor)
Set next cursor.
|
PagingQuery<Query> |
withLimit(int limit)
Set the limit of query.
|
public PagingQuery(Query query)
query
- underlaying query.public PagingQuery<Query> withLimit(int limit)
limit
- new limit.public PagingQuery<Query> next(java.lang.String nextCursor)
nextCursor
- Value from previous PagingResult
.public Query getQuery()
public int getLimit()
public java.lang.String getNext()
(c) Copyright GetSocial BV, 2020. All Rights Reserved.