The query engine is a repository for views, and also performs semantic checking for queries before optimization
![]() | CheckOpDag (RelQueryNode *Root, const XxxArgEnv* Env, RelQueryClass*& Query) Creates an operator DAG for a query view |
![]() | CheckQuery (RelViewClass* View, RelQueryClass*& Query, const XxxArgEnv* Env = NULL) Takes a view and produces a query from it |
![]() | DropView (const char* ViewName) Deletes a view in this query engine |
![]() | PrintViews (ostream& OStr) Prints all views stored in this query engine |
![]() | RelQueryEngine (XxxRelationEngine* SrcEng) Constructor |
![]() | RetrieveView (const char* ViewName, RelViewClass*& View, XxxBool& Found) Retrieves a view from this query engine |
![]() | StoreView (const char* ViewName, RelViewClass* View) Stores a view in this query engine |
![]() | ViewToOpDag (RelViewClass *View, RelQueryNode *&Root) Creates an operator DAG for a query view |
![]() | ~RelQueryEngine () Destructor |
![]() | RelEng a handle on the relation engine |
The query engine is a repository for views, and also performs semantic checking for queries before optimization. It talks directly to the parser, which gives it views as its input, and produces adorned query structures as outputs which can be fed into the optimizer.
RelQueryEngine(XxxRelationEngine* SrcEng)
~RelQueryEngine()
XxxErrCode StoreView(const char* ViewName, RelViewClass* View)
View - The View data structure to store
XxxErrCode DropView(const char* ViewName)
XxxErrCode RetrieveView(const char* ViewName, RelViewClass*& View, XxxBool& Found)
View - The View data structure retrieved
XxxErrCode CheckQuery(RelViewClass* View, RelQueryClass*& Query, const XxxArgEnv* Env = NULL)
Query - (output) the query generated
Env - The query environment (optional)
XxxErrCode ViewToOpDag(RelViewClass *View, RelQueryNode *&Root)
Root - The root of the newly contructed tree XxxErrCode CheckOpDag(RelQueryNode *Root, const XxxArgEnv* Env, RelQueryClass*& Query)
Root - The root of the newly contructed tree XxxErrCode PrintViews(ostream& OStr)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de