Class SqlOrderBy


  • public class SqlOrderBy
    extends SqlNode
    ORDER BY clause.
    • Constructor Detail

      • SqlOrderBy

        public SqlOrderBy​(List<SqlNode> expressions,
                          List<Boolean> isAsc,
                          List<Boolean> nullsFirst)
        Instantiates a new Sql order by.
        Parameters:
        expressions - the expressions
        isAsc - the is asc
        nullsFirst - the nulls first
    • Method Detail

      • getExpressions

        public List<SqlNode> getExpressions()
        Gets expressions.
        Returns:
        the expressions
      • isAscending

        public List<Boolean> isAscending()
        Is ascending list.
        Returns:
        the list
      • nullsLast

        public List<Boolean> nullsLast()
        Nulls last list.
        Returns:
        the list