Back to Search Start Over

An interactive SQL relational interface for querying main-memory data structures.

Authors :
Fragkoulis, Marios
Spinellis, Diomidis
Louridas, Panos
Source :
Computing. Dec2015, Vol. 97 Issue 12, p1141-1164. 24p.
Publication Year :
2015

Abstract

Query formalisms and facilities have received significant attention in the past decades resulting in the development of query languages with varying characteristics; many of them resemble sql. Query facilities typically ship as part of database management systems or, sometimes, bundled with programming languages. For applications written in imperative programming languages, database management systems impose an expensive model transformation. In-memory data structures can represent sophisticated relationships in a manner that is efficient in terms of storage and processing overhead, but most general purpose programming languages lack an interpreter and/or an expressive query language for manipulating interactive queries. Issuing interactive ad-hoc queries on program data structures is tough. This work presents a method and an implementation for representing an application's arbitrary imperative programming data model as a queryable relational one. The Pico COllections Query Library ( pi co ql) uses a domain specific language to define a relational representation of application data structures and an sql interface implementation. Queries are issued interactively and are type safe. We demonstrate our relational representation for objects and the library's usefulness on three large c++ projects. pi co ql enhances query expressiveness and boosts productivity compared to querying via traditional programming constructs. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
0010485X
Volume :
97
Issue :
12
Database :
Academic Search Index
Journal :
Computing
Publication Type :
Academic Journal
Accession number :
110526721
Full Text :
https://doi.org/10.1007/s00607-015-0452-y