Class OrderByExpressionContext
- java.lang.Object
-
- org.apache.pinot.common.request.context.OrderByExpressionContext
-
public class OrderByExpressionContext extends Object
TheOrderByExpressionContextclass represents an expression in the ORDER-BY clause. It encapsulates an expression and the expected ordering of the expression.
-
-
Constructor Summary
Constructors Constructor Description OrderByExpressionContext(ExpressionContext expression, boolean isAsc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)voidgetColumns(Set<String> columns)Adds the columns (IDENTIFIER expressions) in the order-by expression to the given set.ExpressionContextgetExpression()inthashCode()booleanisAsc()StringtoString()
-
-
-
Constructor Detail
-
OrderByExpressionContext
public OrderByExpressionContext(ExpressionContext expression, boolean isAsc)
-
-
Method Detail
-
getExpression
public ExpressionContext getExpression()
-
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.
-
-