Publication:
A Model-Driven Approach to Generate Schemas for Object-Document Mappers

dc.contributor.authorHernández Chillón, Alberto
dc.contributor.authorSevilla Ruiz, Diego
dc.contributor.authorGarcía Molina, Jesús J.
dc.contributor.authorFeliciano Morales, Severino
dc.contributor.departmentIngeniería y Tecnología de Computadores
dc.date.accessioned2024-02-01T12:41:06Z
dc.date.available2024-02-01T12:41:06Z
dc.date.issued2019
dc.description©<2019>. This manuscript version is made available under the CC-BY-NC 4.0 license http://creativecommons.org/licenses/by-nc-nd/4.0/ This document is the, Published, version of a Published Work that appeared in final form in IEEE Access. To access the final edited and published work see: https://doi.org/10.1109/ACCESS.2019.2915201
dc.description.abstractMany actual NoSQL systems are schemaless, that is, the structure of the data is not defined beforehand in any schema, but it is implicit in the data itself. This characteristic is very convenient when the data structure suffers frequent changes. However, the agility and flexibility achieved is at the cost of losing some important benefits, such as 1) assuring that the data stored and retrieved fits the database schema; 2) some database utilities require to know the schema, and; 3) schema visualization helps developers to write better code. In previous work, we proposed a model-based reverse engineering approach to infer schema models from NoSQL data. Model-driven engineering (MDE) techniques can be used to take advantage of extracted models with different purposes, such as schema visualization or automatic code generation. Here, in this paper, we present an MDE solution to automate the usage of Object-NoSQL mappers when the database already exists. We will focus on mappers that are available for document systems (Object-Document mappers, ODMs), but the proposed approach is mapper-independent. These mappers are emerging to provide similar functionality to Object-Relational mappers: they are in charge of the mapping of objects into NoSQL data (documents in the case of ODMs) for object-oriented applications. We show how schemas and other artifacts (e.g. validators and indexes) for ODMs can be automatically generated from inferred schemas. The solution consists of a two-step model transformation chain, where an intermediate model is generated to ease the code generation. We have applied our approach for two popular ODMs: Mongoose and Morphia and validated it with the StackOverflow dataset.es
dc.formatapplication/pdfes
dc.format.extent17es
dc.identifier.citationIEEE Access ( Volume: 7), 2019, 59126-59142
dc.identifier.doihttps://doi.org/10.1109/ACCESS.2019.2915201
dc.identifier.issnElectronic 2169-3536
dc.identifier.urihttp://hdl.handle.net/10201/138415
dc.languageenges
dc.publisherIEEE Accesses
dc.relationSpanish Ministry of Science, Innovation and Universities (Grant Number: TIN2017-86853-P)es
dc.rightsinfo:eu-repo/semantics/openAccesses
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 Internacional*
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/*
dc.subjectObject-document mapperses
dc.subjectNoSQL databaseses
dc.subjectMongoosees
dc.subjectMorphiaes
dc.subjectCode Generationes
dc.subjectModel-Driven Engineeringes
dc.subjectModel-based Solutionses
dc.subjectNoSQL data engineeringes
dc.subject.otherCDU::0 - Generalidades.::00 - Ciencia y conocimiento. Investigación. Cultura. Humanidades.::004 - Ciencia y tecnología de los ordenadores. Informática.::004.6 - Datos::004.62 - Tratamiento de datoses
dc.titleA Model-Driven Approach to Generate Schemas for Object-Document Mapperses
dc.typeinfo:eu-repo/semantics/articlees
dspace.entity.typePublicationes
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
A_Model-Driven_Approach_to_Generate_Schemas_for_Object-Document_Mappers.pdf
Size:
22.76 MB
Format:
Adobe Portable Document Format
Description:
License bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
2.26 KB
Format:
Item-specific license agreed upon to submission
Description:
Collections