Language-Integrated Queries: a BOLDR Approach
Résumé
We present BOLDR, a modular framework that enables the evaluation in databases of queries containing application logic and, in particular, user-defined functions. BOLDR also allows the nesting of queries for different databases of possibly different data models. The framework detects the boundaries of queries present in an application, translates them into an intermediate representation together with the relevant language environment, rewrites them in order to avoid query avalanches and to make the most out of database optimizations, and converts the results back to the application. Our experiments show that the techniques we implemented are applicable to real-world database applications, successfully handling a variety of language-integrated queries with good performances.
Mots clés
CCS CONCEPTS • Theory of computation → Database query languages (prin- ciples)
Database query processing and optimization (theory)
Func- tional constructs
• Software and its engineering → Imperative languages
Compilers
• Information systems → Query opera- tors
KEYWORDS Language-integrated queries
databases
data-centric languages
R
Domaines
Langage de programmation [cs.PL]Origine | Fichiers produits par l'(les) auteur(s) |
---|
Loading...