Package com.ptsmods.mysqlw.query
Class QueryLimit
java.lang.Object
com.ptsmods.mysqlw.query.QueryLimit
Indicates a limit of the amount of rows you wish to have returned.
 Can optionally also indicate an offset.
- 
Method SummaryModifier and TypeMethodDescriptionintgetLimit()intstatic QueryLimitlimit(int limit) static QueryLimitlimit(int limit, int offset) toString()
- 
Method Details- 
limit- Parameters:
- limit- The maximum amount of rows a query may return
- Returns:
- A QueryLimit that limits the amount of rows returned by a query
 
- 
limit- Parameters:
- limit- The maximum amount of rows a query may return
- offset- The offset at which the RDBMS should get these rows
- Returns:
- A QueryLimit that limits the amount of rows returned by a query and gets them at a specific offset.
 
- 
getLimitpublic int getLimit()- Returns:
- The maximum amount of rows this QueryLimit allows a query to return.
 
- 
getOffsetpublic int getOffset()- Returns:
- The offset at which the RDBMS should get the rows.
 
- 
toString
 
-