public class Limit extends Object
Constructor and Description |
---|
Limit(Integer offset,
Integer max)
Constructs a Limit object that encapsulates the specified offset and
maximum number of rows for a LIMIT clause of the form
|
Modifier and Type | Method and Description |
---|---|
int |
getMax()
Returns the max value of this Limit object, indicating the
maximum number of rows to be displayed.
|
int |
getOffset()
Returns the offset value of this Limit object, indicating the
index of the first row to be displayed.
|
public Limit(Integer offset, Integer max)
LIMIT offset, max
LIMIT max
offset
- the offset of the first row to be displayedmax
- the maximum number of rows to be displayedpublic int getOffset()
public int getMax()