net.sf.jsqlparser.statement.select
Class Limit
java.lang.Object
net.sf.jsqlparser.statement.select.Limit
public class Limit
- extends java.lang.Object
A limit clause in the form [LIMIT {[offset,] row_count) | (row_count | ALL) OFFSET offset}]
Constructor Summary |
Limit()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
offset
private long offset
rowCount
private long rowCount
rowCountJdbcParameter
private boolean rowCountJdbcParameter
offsetJdbcParameter
private boolean offsetJdbcParameter
limitAll
private boolean limitAll
Limit
public Limit()
getOffset
public long getOffset()
getRowCount
public long getRowCount()
setOffset
public void setOffset(long l)
setRowCount
public void setRowCount(long l)
isOffsetJdbcParameter
public boolean isOffsetJdbcParameter()
isRowCountJdbcParameter
public boolean isRowCountJdbcParameter()
setOffsetJdbcParameter
public void setOffsetJdbcParameter(boolean b)
setRowCountJdbcParameter
public void setRowCountJdbcParameter(boolean b)
isLimitAll
public boolean isLimitAll()
- Returns:
- true if the limit is "LIMIT ALL [OFFSET ...])
setLimitAll
public void setLimitAll(boolean b)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object