public class PagerUtils
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static int
static boolean
static boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PagerUtils
public PagerUtils()
-
Method Details
-
-
-
limit
public static String limit(String sql,
DbType dbType,
int offset,
int count,
boolean check)
-
-
limit
public static boolean limit(SQLSelect select,
DbType dbType,
int offset,
int count,
boolean check)
-
getLimit
- Parameters:
sql
-
dbType
-
- Returns:
- if not exists limit, return -1;
-
hasUnorderedLimit
public static boolean hasUnorderedLimit(String sql,
DbType dbType)