public class Limit extends Object
| Constructor and Description |
|---|
Limit(long number)
Creates a new limit clause that retrieves the given number of results.
|
Limit(long start,
long number)
Creates a new limit clause that retrieves the given number of results,
starting at the given index.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getNumber()
Returns the number of results to retreive.
|
long |
getStart()
Returns the index of the first result to retrieve.
|
public Limit(long number)
number - The number of results to retrievepublic Limit(long start,
long number)
start - The index of the first result to retrievenumber - The number of results to retrieveCopyright © 2026. All rights reserved.