METHOD AND APPARATUS FOR PROCESSING A QUERY ON A PLURALITY OF OBJECT INSTANCES

A computer-implemented method of processing a query on a plurality of instances of an object of an object-oriented environment, wherein said object has a root object and a plurality of member fields, among which a plurality themselves are objects thereby being sub-objects of said root object, wherei...

Full description

Saved in:
Bibliographic Details
Main Authors HAFT, Michael, TÄUBIG, Hanjo, WANG, Peide, KONCILIA, Christian
Format Patent
LanguageEnglish
French
Published 28.03.2019
Online AccessGet full text

Cover

Loading…
More Information
Summary:A computer-implemented method of processing a query on a plurality of instances of an object of an object-oriented environment, wherein said object has a root object and a plurality of member fields, among which a plurality themselves are objects thereby being sub-objects of said root object, wherein said root object and each sub- object correspond to an entity represented by and stored in form of a table, wherein said tables are tables in accordance with a relational model of data, and wherein each of said tables corresponding to said root object or to one of said sub-objects has been sorted in accordance with the primary key of the table corresponding to said root object, said method comprising: Analyzing said query to identify those objects among said root object and said sub-objects, which are necessary to execute the query, for each of the primary key values of the table corresponding to said root object: i) generating an instance of said object by populating the member fields of those objects among said root object and said sub-objects, which have been identified in said analyzing step, with the data identified by the respective primary key in their corresponding tables; ii) executing the query on the generated object instance; ii) add the query result to a result accumulator storage. L'invention concerne un procédé mis en œuvre par ordinateur de traitement d'une requête sur une pluralité d'instances d'un objet d'un environnement orienté objet, ledit objet ayant un objet racine et une pluralité de champs d'élément, une pluralité d'entre eux étant ainsi des sous-objets dudit objet racine, ledit objet racine et chaque sous-objet correspondant à une entité représentée par une table et stockée sous la forme de celle-ci, lesdites tables étant des tables conformes à un modèle relationnel de données, et chacune desdites tables correspondant audit objet racine ou à un desdits sous-objets ayant été triée en fonction de la clé primaire de la table correspondant audit objet racine, ledit procédé consistant à : analyser ladite requête pour identifier les objets parmi ledit objet racine et lesdits sous-objets, qui sont nécessaires pour exécuter la requête, pour chacune des valeurs de clé primaire de la table correspondant audit objet racine ; i) produire une instance dudit objet en remplissant les champs d'élément de ces objets parmi ledit objet racine et lesdits sous-objets, qui ont été identifiés dans ladite étape d'analyse, avec les données identifiées par la clé primaire respective dans leurs tables correspondantes ; ii) exécuter la requête sur l'instance d'objet produite ; iii) ajouter le résultat de requête à un stockage d'accumulateur de résultat.
Bibliography:Application Number: WO2018EP75469