首页    期刊浏览 2024年10月06日 星期日
登录注册

文章基本信息

  • 标题:QL: Object-oriented Queries on Relational Data
  • 本地全文:下载
  • 作者:Pavel Avgustinov ; Oege de Moor ; Michael Peyton Jones
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2016
  • 卷号:56
  • 页码:2:1-2:25
  • DOI:10.4230/LIPIcs.ECOOP.2016.2
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要: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.
  • 关键词:Object orientation; Datalog; query languages; prescriptive typing
国家哲学社会科学文献中心版权所有