|
string | SequenceName [get, private set] |
|
IExpressionNode | IncrementBy [get, private set] |
|
IExpressionNode | MinValue [get, private set] |
|
IExpressionNode | MaxValue [get, private set] |
|
IExpressionNode | StartWith [get, private set] |
|
bool | Cycle [get, private set] |
|
IExpressionNode | Cache [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 8 of file CreateSequenceNode.cs.
override void Deveel.Data.Sql.Parser.CreateSequenceNode.BuildStatement |
( |
StatementBuilder |
builder | ) |
|
|
inlineprotectedvirtual |
override ISqlNode Deveel.Data.Sql.Parser.CreateSequenceNode.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 23 of file CreateSequenceNode.cs.
24 if (node is ObjectNameNode) {
26 }
else if (node.NodeName.Equals(
"start_opt")) {
27 StartWith = node.FindNode<IExpressionNode>();
28 }
else if (node.NodeName.Equals(
"increment_opt")) {
30 }
else if (node.NodeName.Equals(
"minvalue_opt")) {
31 MinValue = node.FindNode<IExpressionNode>();
32 }
else if (node.NodeName.Equals(
"maxvalue_opt")) {
33 MaxValue = node.FindNode<IExpressionNode>();
34 }
else if (node.NodeName.Equals(
"cycle_opt")) {
35 Cycle = node.ChildNodes.Any();
36 }
else if (node.NodeName.Equals(
"cache_opt")) {
37 Cache = node.FindNode<IExpressionNode>();
40 return base.OnChildNode(node);
IExpressionNode IncrementBy
IExpressionNode StartWith
bool Deveel.Data.Sql.Parser.CreateSequenceNode.Cycle |
|
getprivate set |
string Deveel.Data.Sql.Parser.CreateSequenceNode.SequenceName |
|
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/CreateSequenceNode.cs