X
- The concrete builder typepublic interface LimitBuilder<X extends LimitBuilder<X>>
Modifier and Type | Method and Description |
---|---|
int |
getFirstResult()
The position of the first result.
|
int |
getMaxResults()
The maximum number of results to retrieve.
|
X |
setFirstResult(int firstResult)
Set the position of the first result to retrieve.
|
X |
setMaxResults(int maxResults)
Set the maximum number of results to retrieve.
|
X setFirstResult(int firstResult)
firstResult
- The position of the first result, numbered from 0X setMaxResults(int maxResults)
maxResults
- The maximum number of results to retrieveint getFirstResult()
setFirstResult
was not used.int getMaxResults()
Integer.MAX_VALUE
if setMaxResults
was not used.Copyright © 2014–2018 Blazebit. All rights reserved.