Class OrderByExpressionContext


  • public class OrderByExpressionContext
    extends Object
    The OrderByExpressionContext class represents an expression in the ORDER-BY clause. It encapsulates an expression and the expected ordering of the expression.
    • Constructor Detail

      • OrderByExpressionContext

        public OrderByExpressionContext​(ExpressionContext expression,
                                        boolean isAsc)
    • Method Detail

      • isAsc

        public boolean isAsc()
      • getColumns

        public void getColumns​(Set<String> columns)
        Adds the columns (IDENTIFIER expressions) in the order-by expression to the given set.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object