Object used to represent a column in the ORDER BY
clauses of a select statement.
More...
|
| SortColumn (SqlExpression expression, bool ascending) |
| Constructs the BY column reference with the expression and the sort order given. More...
|
|
| SortColumn (SqlExpression expression) |
| Constructs the BY column reference with the expression given and the ascending sort order. More...
|
|
| SortColumn (string expression, bool ascending) |
| Constructs the BY column reference with the expression and the sort order given. More...
|
|
| SortColumn (string expression) |
| Constructs the BY column reference with the expression given and the ascending sort order. More...
|
|
|
SqlExpression | Expression [get, set] |
| Gets the expression used to order the result of a query. More...
|
|
bool | Ascending [get, private set] |
| Gets a boolean value indicating whether we're sorting in ascending or descending order. More...
|
|
|
object IPreparable. | Prepare (IExpressionPreparer preparer) |
| Converts the underlying value of this instance into an object that can be evaluated by an expression. More...
|
|
Object used to represent a column in the ORDER BY
clauses of a select statement.
Definition at line 26 of file SortColumn.cs.
Deveel.Data.Sql.SortColumn.SortColumn |
( |
SqlExpression |
expression, |
|
|
bool |
ascending |
|
) |
| |
|
inline |
Constructs the BY
column reference with the expression and the sort order given.
- Parameters
-
expression | The expression of the column reference. |
ascending | The sort order for the column. If this is set to true, the column will be used to sort the results of a query in ascending order. |
Definition at line 35 of file SortColumn.cs.
bool Ascending
Gets a boolean value indicating whether we're sorting in ascending or descending order.
SqlExpression Expression
Gets the expression used to order the result of a query.
Deveel.Data.Sql.SortColumn.SortColumn |
( |
SqlExpression |
expression | ) |
|
|
inline |
Constructs the BY
column reference with the expression given and the ascending sort order.
- Parameters
-
expression | The expression of the column reference. |
Definition at line 45 of file SortColumn.cs.
46 :
this(expression,
true) {
Deveel.Data.Sql.SortColumn.SortColumn |
( |
string |
expression, |
|
|
bool |
ascending |
|
) |
| |
|
inline |
Constructs the BY
column reference with the expression and the sort order given.
- Parameters
-
expression | The expression of the column reference. |
ascending | The sort order for the column. If this is set to true, the column will be used to sort the results of a query in ascending order. |
Definition at line 57 of file SortColumn.cs.
static SqlExpression Parse(string s)
Parses the given SQL string to an expression that can be evaluated.
Defines the base class for instances that represent SQL expression tree nodes.
Deveel.Data.Sql.SortColumn.SortColumn |
( |
string |
expression | ) |
|
|
inline |
Constructs the BY
column reference with the expression given and the ascending sort order.
- Parameters
-
expression | The expression of the column reference. |
Definition at line 66 of file SortColumn.cs.
67 :
this(expression,
true) {
Converts the underlying value of this instance into an object that can be evaluated by an expression.
- Parameters
-
preparer | The context used to prepare this object. |
- Returns
- Returns an object that can be evaluated by an expression.
Implements Deveel.Data.Sql.Expressions.IPreparable.
Definition at line 81 of file SortColumn.cs.
bool Ascending
Gets a boolean value indicating whether we're sorting in ascending or descending order.
SortColumn(SqlExpression expression, bool ascending)
Constructs the BY column reference with the expression and the sort order given.
virtual SqlExpression Prepare(IExpressionPreparer preparer)
SqlExpression Expression
Gets the expression used to order the result of a query.
bool Deveel.Data.Sql.SortColumn.Ascending |
|
getprivate set |
Gets a boolean value indicating whether we're sorting in ascending or descending order.
Definition at line 79 of file SortColumn.cs.
Gets the expression used to order the result of a query.
Definition at line 73 of file SortColumn.cs.
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql/SortColumn.cs