A node describing the JOIN
between two sources within a query.
More...
|
override ISqlNode | OnChildNode (ISqlNode node) |
| During the initialization of the node from the parser, this method is called for every child node added to ChildNodes More...
|
|
virtual void | OnNodeInit () |
| After the initialization of the node from the parser, this method is invoked to let the specific initialization to occur. More...
|
|
|
IFromSourceNode | Source [get, private set] |
|
IExpressionNode | OnExpression [get, private set] |
| Gets the expression used as condition for creating the joined group in a query. More...
|
|
string | JoinType [get, private set] |
| Gets the type of join, as a string that will be operated between the two sources More...
|
|
JoinNode | NextJoin [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...
|
|
A node describing the JOIN
between two sources within a query.
- See also
- IFromSourceNode
Definition at line 29 of file JoinNode.cs.
Deveel.Data.Sql.Parser.JoinNode.JoinNode |
( |
| ) |
|
|
inlinepackage |
void Deveel.Data.Sql.Parser.JoinNode.GetJoinType |
( |
ISqlNode |
node | ) |
|
|
inlineprivate |
Definition at line 80 of file JoinNode.cs.
81 var sb =
new StringBuilder();
83 foreach (var childNode
in node.ChildNodes) {
87 sb.Append(childNode.NodeName);
JoinType
Enumerates the kind of group join in a selection query.
During the initialization of the node from the parser, this method is called for every child node added to ChildNodes
Reimplemented from Deveel.Data.Sql.Parser.SqlNode.
Definition at line 62 of file JoinNode.cs.
63 if (node.NodeName ==
"join_type") {
65 }
else if (node is IFromSourceNode) {
66 Source = (IFromSourceNode) node;
67 }
else if (node.NodeName ==
"from_source") {
69 }
else if (node.NodeName ==
"on_opt") {
71 }
else if (node.NodeName ==
"join_opt") {
void GetJoinType(ISqlNode node)
IEnumerable< ISqlNode > ChildNodes
Gets a read-only enumeration of the children nodes, if any.
IExpressionNode OnExpression
Gets the expression used as condition for creating the joined group in a query.
override ISqlNode OnChildNode(ISqlNode node)
During the initialization of the node from the parser, this method is called for every child node add...
string Deveel.Data.Sql.Parser.JoinNode.JoinType |
|
getprivate set |
Gets the type of join, as a string that will be operated between the two sources
This value is null
if the join is done naturally, otherwise it can be only one of INNER
, OUTER
, LEFT OUTER
, RIGHT OUTER
.
- See also
- Expressions.JoinType
Definition at line 57 of file JoinNode.cs.
JoinNode Deveel.Data.Sql.Parser.JoinNode.NextJoin |
|
getprivate set |
Gets the expression used as condition for creating the joined group in a query.
This value can be null
only if two sources are joined naturally, that means the condition is defined in the WHERE
expression.
Definition at line 43 of file JoinNode.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.Parser/JoinNode.cs