Application portability and extensibility through database schema and query abstraction
First Claim
1. A computer-implemented method of providing access to data having a particular schema, comprising:
- in response to receiving an abstract query, accessing a data abstraction model which models the data having the particular schema and exposes the data to users in a manner that allows the users to compose queries on the basis of the data abstraction model without knowledge or regard for the particular schema;
wherein the model comprises a plurality of logical field definitions, each of the definitions comprising a logical field name, at least one location attribute identifying a location of physical data corresponding to the logical field name, and a reference to an access method invoked to access the physical data in response to receiving the abstract query containing the logical field name;
wherein at least one of the logical field names is different from a physical field name of the corresponding physical data as defined by the schema.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention generally is directed to a system, method and article of manufacture for accessing data independent of the particular manner in which the data is physically represented. In one embodiment, a data repository abstraction layer provides a logical view of the underlying data repository that is independent of the particular manner of data representation. A query abstraction layer is also provided and is based on the data repository abstraction layer. A runtime component performs translation of an abstract query into a form that can be used against a particular physical data representation.
-
Citations
20 Claims
-
1. A computer-implemented method of providing access to data having a particular schema, comprising:
in response to receiving an abstract query, accessing a data abstraction model which models the data having the particular schema and exposes the data to users in a manner that allows the users to compose queries on the basis of the data abstraction model without knowledge or regard for the particular schema;
wherein the model comprises a plurality of logical field definitions, each of the definitions comprising a logical field name, at least one location attribute identifying a location of physical data corresponding to the logical field name, and a reference to an access method invoked to access the physical data in response to receiving the abstract query containing the logical field name;
wherein at least one of the logical field names is different from a physical field name of the corresponding physical data as defined by the schema.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A computer-implemented method of providing access to data having a particular schema, comprising:
-
receiving abstract queries composed on the basis of a data abstraction model which models the data having the particular schema and exposes the data to users in a manner that allows the users to compose queries on the basis of the data abstraction model without knowledge or regard for the particular schema;
wherein the model comprises a plurality of logical field definitions, each of the definitions comprising a logical field name, at least one location attribute identifying a location of physical data corresponding to the logical field name, and a reference to an access method invoked to access the physical data in response to receiving the abstract query containing the logical field name;
wherein at least one of the logical field names is different from a physical field name of the corresponding physical data as defined by the schema;
;
in response to receiving each abstract query;
accessing those logical field definitions of the data abstraction model that correspond to logical field names included in the abstract query;
on the basis accessed logical field definitions, transforming the abstract query into an executable query consistent with the particular schema; and
providing the executable query to a query execution environment for execution. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A computer-readable medium containing a program which, when executed by a processor, performs an operation of generating executable queries configured to access to data having a particular schema, the operation comprising:
transforming abstract queries into executable queries, the abstract queries having been composed on the basis of a data abstraction model which models the data having the particular schema and exposes the data to users in a manner that allows the users to compose queries on the basis of the data abstraction model without knowledge or regard for the particular schema;
wherein the model comprises a plurality of logical field definitions, each of the definitions comprising a logical field name, at least one location attribute identifying a location of physical data corresponding to the logical field name, and a reference to an access method invoked to access the physical data in response to receiving the abstract query containing the logical field name;
wherein at least one of the logical field names is different from a physical field name of the corresponding physical data as defined by the schema;
wherein transforming comprises;
accessing those logical field definitions of the data abstraction model that correspond to logical field names included in the abstract query;
generating query conditions on the basis of the accessed logical field definitions. - View Dependent Claims (18, 19, 20)
Specification