Package org.h2.command.query
Class QueryOrderBy
- java.lang.Object
-
- org.h2.command.query.QueryOrderBy
-
public class QueryOrderBy extends java.lang.Object
Describes one element of the ORDER BY clause of a query.
-
-
Field Summary
Fields Modifier and Type Field Description Expression
columnIndexExpr
The column index expression.Expression
expression
The order by expression.int
sortType
Sort type for this column.
-
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.
-
-
-
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.
-
-