public class OrderByParser extends Object
Constructor and Description |
---|
OrderByParser() |
Modifier and Type | Method and Description |
---|---|
static String |
converToOrderBySql(String sql,
String orderBy)
convert to order by sql
|
static List<net.sf.jsqlparser.statement.select.OrderByElement> |
extraOrderBy(net.sf.jsqlparser.statement.select.SelectBody selectBody)
extra order by and set default orderby to null
|
public static String converToOrderBySql(String sql, String orderBy)
sql
- orderBy
- public static List<net.sf.jsqlparser.statement.select.OrderByElement> extraOrderBy(net.sf.jsqlparser.statement.select.SelectBody selectBody)
selectBody
- Copyright © 2018. All rights reserved.