摘要
讨论了针对OLAP分析服务器中多维查询语言MDX解析模块的设计与实现。研究了基于Lex和Yacc,将MDX查询语句解析成查询树对象的设计思路与实现方法。结合元数据访问和权限管理,编译器从词法分析、语法分析和语义处理等方面进行深入分析,不仅完成了语法和语义的检查,还可基于角色对用户分析查询进行权限验证,实现信息的安全管理。
The design and realization of Multi-Dimensional eXpression (MDX) compiler for Online Analytical Processing (OLAP) database was discussed, The Lex and Yacc based road map for designing the MDX complier which parsed the MDX query into a query tree object was studied. Lexical analysis, syntactic analysis and semantic processing were carried out along with the access to metadata and role based access control. The MDX compiler not only checked the syntax and semantics, but also authenticated and authorized users to achieve information security.
出处
《计算机应用》
CSCD
北大核心
2007年第12期3035-3038,共4页
journal of Computer Applications
基金
广东省科技计划资助项目(2006B11301001)
广州市科技计划资助项目(2006Z3-D3081)