DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Protected Member Functions | Package Functions | Properties | List of all members
Deveel.Data.Sql.Parser.QueryCompositeNode Class Reference

Composes two queries to obtain a set that is the result of a given composition function. More...

Inheritance diagram for Deveel.Data.Sql.Parser.QueryCompositeNode:
Deveel.Data.Sql.Parser.SqlNode Deveel.Data.Sql.Parser.ISqlNode

Protected Member Functions

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...
 
- Protected Member Functions inherited from Deveel.Data.Sql.Parser.SqlNode
virtual void OnNodeInit ()
 After the initialization of the node from the parser, this method is invoked to let the specific initialization to occur. More...
 

Package Functions

 QueryCompositeNode ()
 

Properties

string CompositeFunction [get, private set]
 Gets the function used to compose the two queries. More...
 
bool IsAll [get, private set]
 Gets a boolean value indicating whether the composition will be done on all records. More...
 
SqlQueryExpressionNode QueryExpression [get, private set]
 Gets the other query to compose the results. More...
 
- Properties inherited from Deveel.Data.Sql.Parser.SqlNode
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< ISqlNodeChildNodes [get, private set]
 Gets an immutable list of nodes, children of the current node. More...
 
IEnumerable< TokenTokens [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]
 
- Properties inherited from Deveel.Data.Sql.Parser.ISqlNode
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< ISqlNodeChildNodes [get]
 Gets a read-only enumeration of the children nodes, if any. More...
 
IEnumerable< TokenTokens [get]
 Gets an enumeration of the tokens composing the this node. More...
 

Additional Inherited Members

- Public Member Functions inherited from Deveel.Data.Sql.Parser.SqlNode
 SqlNode ()
 

Detailed Description

Composes two queries to obtain a set that is the result of a given composition function.

Definition at line 24 of file QueryCompositeNode.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Parser.QueryCompositeNode.QueryCompositeNode ( )
inlinepackage

Definition at line 25 of file QueryCompositeNode.cs.

25  {
26  }

Member Function Documentation

override ISqlNode Deveel.Data.Sql.Parser.QueryCompositeNode.OnChildNode ( ISqlNode  node)
inlineprotectedvirtual

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 49 of file QueryCompositeNode.cs.

49  {
50  if (node is SqlKeyNode) {
51 
52  } else if (node is SqlQueryExpressionNode) {
53 
54  }
55 
56  return base.OnChildNode(node);
57  }

Property Documentation

string Deveel.Data.Sql.Parser.QueryCompositeNode.CompositeFunction
getprivate set

Gets the function used to compose the two queries.

This value can be only one of UNION, EXCEPT or INTERSECT

Definition at line 35 of file QueryCompositeNode.cs.

bool Deveel.Data.Sql.Parser.QueryCompositeNode.IsAll
getprivate set

Gets a boolean value indicating whether the composition will be done on all records.

Definition at line 41 of file QueryCompositeNode.cs.

SqlQueryExpressionNode Deveel.Data.Sql.Parser.QueryCompositeNode.QueryExpression
getprivate set

Gets the other query to compose the results.

Definition at line 46 of file QueryCompositeNode.cs.


The documentation for this class was generated from the following file: