类 OrderByParser

java.lang.Object
gu.sql2java.parser.OrderByParser

public class OrderByParser extends Object
处理 Order by
从以下版本开始:
2015-06-27
作者:
liuzh
  • 构造器详细资料

    • OrderByParser

      public OrderByParser()
  • 方法详细资料

    • converToOrderBySql

      public static String converToOrderBySql(String sql, String orderBy)
      convert to order by sql
      参数:
      sql -
      orderBy -
    • extraOrderBy

      public 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
      参数:
      selectBody -