首页> 外文OA文献 >QL: Object-oriented Queries on Relational Data
【2h】

QL: Object-oriented Queries on Relational Data

机译:QL:关系数据的面向对象查询

摘要

This paper describes QL, a language for querying complex, potentially recursive data structures. QL compiles to Datalog and runs on a standard relational database, yet it provides familiar-looking object-oriented features such as classes and methods, reinterpreted in logical terms: classes are logical properties describing sets of values, subclassing is implication, and virtual calls are dispatched dynamically by considering the most specific classes containing the receiver. Furthermore, types in QL are prescriptive and actively influence program evaluation rather than just describing it. In combination, these features enable the development of concise queries based on reusable libraries, which are written in a purely declarative style, yet can be efficiently executed even on very large data sets. In particular, we have used QL to implement static analyses for various programming languages, which scale to millions of lines of code.
机译:本文介绍了QL,一种用于查询复杂的潜在递归数据结构的语言。 QL可以编译为Datalog并在标准的关系数据库上运行,但是它提供了外观熟悉的面向对象的功能,例如类和方法,并以逻辑术语重新解释:类是描述值集的逻辑属性,子类是隐含的,而虚拟调用是通过考虑包含接收方的最特定类来动态调度。此外,QL中的类型是规定性的,并且会主动影响程序评估,而不仅仅是描述它。结合使用这些功能,可以基于可重用的库开发简洁的查询,这些库以纯声明性的方式编写,即使在非常大的数据集上也可以有效地执行。特别是,我们已使用QL对各种编程语言实施静态分析,这些分析可扩展到数百万行代码。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号