Package com.github.pagehelper.parser
Class OrderByJSqlParser47
- java.lang.Object
-
- com.github.pagehelper.parser.OrderByJSqlParser47
-
- All Implemented Interfaces:
com.github.pagehelper.parser.OrderBySqlParser
public class OrderByJSqlParser47 extends Object implements com.github.pagehelper.parser.OrderBySqlParser
处理 Order by- Since:
- 2015-06-27
- Author:
- liuzh
-
-
Constructor Summary
Constructors Constructor Description OrderByJSqlParser47()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconverToOrderBySql(String sql, String orderBy)convert to order by sqlstatic List<net.sf.jsqlparser.statement.select.OrderByElement>extraOrderBy(net.sf.jsqlparser.statement.select.Select select)extra order by and set default orderby to null
-
-
-
Method Detail
-
converToOrderBySql
public String converToOrderBySql(String sql, String orderBy)
convert to order by sql- Specified by:
converToOrderBySqlin interfacecom.github.pagehelper.parser.OrderBySqlParser- Parameters:
sql-orderBy-- Returns:
-
extraOrderBy
public static List<net.sf.jsqlparser.statement.select.OrderByElement> extraOrderBy(net.sf.jsqlparser.statement.select.Select select)
extra order by and set default orderby to null- Parameters:
select-
-
-