|
SqlQueryExpressionNode | QueryExpression [get, private set] |
|
IEnumerable< OrderByNode > | OrderBy [get, private set] |
| Gets a read-oly list of order criteria for sorting the results of the query. More...
|
|
LimitNode | Limit [get, private set] |
|
ISqlNode | Parent [get, private set] |
| Gets the parent of the current node. More...
|
|
string | NodeName [get, private set] |
| Gets the name of the node, as expressed in the SQL grammar. More...
|
|
IEnumerable< ISqlNode > | ChildNodes [get, private set] |
| Gets an immutable list of nodes, children of the current node. More...
|
|
IEnumerable< Token > | Tokens [get, private set] |
| Gets an immutable list of Token that represent the source of this node. More...
|
|
string ISqlNode. | NodeName [get] |
|
ISqlNode ISqlNode. | Parent [get] |
|
IEnumerable< ISqlNode > ISqlNode. | ChildNodes [get] |
|
IEnumerable< Token > ISqlNode. | Tokens [get] |
|
string | NodeName [get] |
| Gets the name of the node analyzed from the parser. More...
|
|
ISqlNode | Parent [get] |
| Gets a reference to the parent ISqlNode, if any. More...
|
|
IEnumerable< ISqlNode > | ChildNodes [get] |
| Gets a read-only enumeration of the children nodes, if any. More...
|
|
IEnumerable< Token > | Tokens [get] |
| Gets an enumeration of the tokens composing the this node. More...
|
|
Definition at line 26 of file SelectStatementNode.cs.
IEnumerable<SortColumn> Deveel.Data.Sql.Parser.SelectStatementNode.BuildOrderBy |
( |
IEnumerable< OrderByNode > |
nodes | ) |
|
|
inlineprivate |
Definition at line 76 of file SelectStatementNode.cs.
80 return nodes.Select(node =>
new SortColumn(ExpressionBuilder.Build(node.Expression), node.Ascending));
override void Deveel.Data.Sql.Parser.SelectStatementNode.BuildStatement |
( |
StatementBuilder |
builder | ) |
|
|
inlineprotectedvirtual |
Implements Deveel.Data.Sql.Parser.SqlStatementNode.
Definition at line 63 of file SelectStatementNode.cs.
72 builder.Statements.Add(statement);
SqlQueryExpressionNode QueryExpression
QueryLimit BuildLimit(LimitNode node)
SqlReferenceExpressionNode IntoClause
IEnumerable< OrderByNode > OrderBy
Gets a read-oly list of order criteria for sorting the results of the query.
IEnumerable< SortColumn > BuildOrderBy(IEnumerable< OrderByNode > nodes)
void Deveel.Data.Sql.Parser.SelectStatementNode.GetLimit |
( |
ISqlNode |
node | ) |
|
|
inlineprivate |
void Deveel.Data.Sql.Parser.SelectStatementNode.GetOrderBy |
( |
ISqlNode |
node | ) |
|
|
inlineprivate |
Definition at line 50 of file SelectStatementNode.cs.
51 var listNode = node.FindByName(
"sorted_def_list");
52 if (listNode != null) {
53 OrderBy = listNode.ChildNodes.Cast<OrderByNode>();
IEnumerable< OrderByNode > OrderBy
Gets a read-oly list of order criteria for sorting the results of the query.
override ISqlNode Deveel.Data.Sql.Parser.SelectStatementNode.OnChildNode |
( |
ISqlNode |
node | ) |
|
|
inlineprotectedvirtual |
During the initialization of the node from the parser, this method is called for every child node added to ChildNodes
- Parameters
-
node | The node being added to the list of children. |
- Returns
- Returns a normalized version of the child node, or the node itself.
Reimplemented from Deveel.Data.Sql.Parser.SqlNode.
Definition at line 38 of file SelectStatementNode.cs.
39 if (node.NodeName ==
"sql_query_expression") {
41 }
else if (node.NodeName ==
"order_opt") {
43 }
else if (node.NodeName ==
"limit_opt") {
47 return base.OnChildNode(node);
SqlQueryExpressionNode QueryExpression
void GetLimit(ISqlNode node)
void GetOrderBy(ISqlNode node)
LimitNode Deveel.Data.Sql.Parser.SelectStatementNode.Limit |
|
getprivate set |
IEnumerable<OrderByNode> Deveel.Data.Sql.Parser.SelectStatementNode.OrderBy |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Parser/SelectStatementNode.cs