Class QueryOrderBy


  • public class QueryOrderBy
    extends java.lang.Object
    Describes one element of the ORDER BY clause of a query.
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryOrderBy()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getSQL​(java.lang.StringBuilder builder, int sqlFlags)
      Appends the order by expression to the specified builder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • expression

        public Expression expression
        The order by expression.
      • columnIndexExpr

        public Expression columnIndexExpr
        The column index expression. This can be a column index number (1 meaning the first column of the select list) or a parameter (the parameter is a number representing the column index number).
      • sortType

        public int sortType
        Sort type for this column.
    • Constructor Detail

      • QueryOrderBy

        public QueryOrderBy()
    • Method Detail

      • getSQL

        public void getSQL​(java.lang.StringBuilder builder,
                           int sqlFlags)
        Appends the order by expression to the specified builder.
        Parameters:
        builder - the string builder
        sqlFlags - formatting flags