arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1308.0158cs.DBcs.PL
收藏

一阶数据库引擎的一级函数

First-Class Functions for First-Order Database Engines

Torsten Grust, Alexander Ulrich

摘要:

我们描述查询去功能化,使现成的一阶数据库引擎处理查询的第一类功能。对一级函数的支持的特点是能够将函数视为常规数据项,这些数据项可以在查询运行时构造,传递给其他(高阶)函数或从其他(高阶)函数返回,分配给变量,并存储在持久数据结构中。查询去功能化是一种非侵入性的方法,它将以功能为中心的查询转换为以数据为中心的操作,由常见的查询处理器实现。在XQuery和PL/SQL数据库系统上的实验表明,一阶数据库引擎能够忠实有效地支持表达性的“函数即数据”范式。

英文摘要:

We describe Query Defunctionalization which enables off-the-shelf first-order database engines to process queries over first-class functions. Support for first-class functions is characterized by the ability to treat functions like regular data items that can be constructed at query runtime, passed to or returned from other (higher-order) functions, assigned to variables, and stored in persistent data structures. Query defunctionalization is a non-invasive approach that transforms such function-centric queries into the data-centric operations implemented by common query processors. Experiments with XQuery and PL/SQL database systems demonstrate that first-order database engines can faithfully and efficiently support the expressive "functions as data" paradigm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑