|
override void | OnNodeInit () |
| After the initialization of the node from the parser, this method is invoked to let the specific initialization to occur. More...
|
|
virtual 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...
|
|
|
long | Count [get, private set] |
|
long | Offset [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 20 of file LimitNode.cs.
override void Deveel.Data.Sql.Parser.LimitNode.OnNodeInit |
( |
| ) |
|
|
inlineprotectedvirtual |
After the initialization of the node from the parser, this method is invoked to let the specific initialization to occur.
Reimplemented from Deveel.Data.Sql.Parser.SqlNode.
Definition at line 25 of file LimitNode.cs.
26 long? arg1 = null, arg2 = null;
28 if (childNode is IntegerLiteralNode) {
30 arg1 = ((IntegerLiteralNode) childNode).Value;
31 }
else if (arg2 == null) {
32 arg2 = ((IntegerLiteralNode) childNode).Value;
37 if (arg1 == null && arg2 == null)
38 throw new SqlParseException(
"At least one parameter is required in a LIMIT.");
IEnumerable< ISqlNode > ChildNodes
Gets an immutable list of nodes, children of the current node.
long Deveel.Data.Sql.Parser.LimitNode.Count |
|
getprivate set |
long Deveel.Data.Sql.Parser.LimitNode.Offset |
|
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/LimitNode.cs