public class QueryParam extends Object
Constructor and Description |
---|
QueryParam(long first,
long count)
Set to return count elements, starting at the first element.
|
QueryParam(long first,
long count,
SortParam sort)
Set to return count sorted elements, starting at the first element.
|
Modifier and Type | Method and Description |
---|---|
long |
getCount() |
long |
getFirst() |
SortParam |
getSort() |
boolean |
hasSort() |
public QueryParam(long first, long count)
first
- First element to return.count
- Number of elements to return.public QueryParam(long first, long count, SortParam sort)
first
- First element to return.count
- Number of elements to return.sort
- public long getCount()
public long getFirst()
public SortParam getSort()
public boolean hasSort()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.