Hostname: page-component-74656f9884-g96k6 Total loading time: 0 Render date: 2026-11-10T04:23:52.750Z Has data issue: false hasContentIssue false

Capability-based localization of distributed and heterogeneous queries

Published online by Cambridge University Press:  12 December 2017

JOÃO COSTA SECO
Affiliation:
NOVA LINCS – Universidade Nova de Lisboa, Lisboa, Portugal e-mail: joao.seco@fct.unl.pt
PAULO FERREIRA
Affiliation:
OutSystems, Lisboa, Portugal (e-mails: paulo.ferreira@outsystems.com, hugo.lourenco@outsystems.com)
HUGO LOURENÇO
Affiliation:
OutSystems, Lisboa, Portugal (e-mails: paulo.ferreira@outsystems.com, hugo.lourenco@outsystems.com)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

One key aspect of data-centric applications is the manipulation of data stored in persistent repositories, which is moving fast from querying a centralized relational database to the ad-hoc combination of constellations of data sources. The extension of general purpose languages with query operations is increasingly popular, as a tool to improve reasoning and optimizing capabilities of interpreters and compilers. However, not much is being done to integrate and orchestrate different and separate sources of data. We present a data manipulation language that abstracts the nature and location of data-sources. We define its semantics and a type directed query localization mechanism to be used in development tools for heterogeneous environments to efficiently compile them into native queries. We introduce a localization procedure based on rewriting of query expressions that is confluent, terminating and provides the maximum mapping between site capabilities and the structure of the query. We provide formal type safety results that support the sound distribution of query fragments over remote sites. Our approach is also suitable for an interactive query construction environment by rich user interfaces that provide immediate feedback on data manipulation operations. This approach is currently the base for the data layer of a development platform for mobile and web applications.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 2017 
Submit a response

Discussions

No Discussions have been published for this article.