Sequence support operators for an abstract database
First Claim
Patent Images
1. A computer-implemented method of providing access to data in a physical database, comprising:
- providing a database abstraction model that defines a plurality of logical fields that each define;
(i) a logical field name, (ii) an access method selected from at least two different access method types and (iii) a location in the physical database for accessing respective data elements in the physical database;
wherein at least a first logical field further defines how to order data elements accessed for the at least one logical field, wherein the location defined by the first logical field comprises a first physical field of the physical database, wherein the first logical field defines that the data elements accessed for the first logical field are ordered based on at least one of;
(i) a second logical field of the plurality of logical fields of the database abstraction model and (ii) a second physical field of the physical database;
providing a query building interface for composing an abstract query from the plurality of logical fields in the database abstraction model, wherein the abstract query specifies which of the data elements should be retrieved based on their respective order positions without specifying how to order the data elements, the data elements being ordered as defined by the first logical field; and
providing a runtime component configured to generate, from the abstract query and by operation of one or more computer processors, a resolved query executable against the physical database, wherein the resolved query is configured to retrieve the data elements specified by the abstract query and ordered as defined by the first logical field of the database abstraction model.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention generally provides methods, systems and articles of manufacture that provide a database query application that allows user to compose an abstract query that includes a sequence operator. In one embodiment, sequence operators are used to specify which data elements, from a sequence of data elements, should be retrieved for an abstract query. In another embodiment, a sequence operator may be used to specify that a condition included in an abstract query should be evaluated against particular data elements of the sequence.
117 Citations
23 Claims
-
1. A computer-implemented method of providing access to data in a physical database, comprising:
-
providing a database abstraction model that defines a plurality of logical fields that each define;
(i) a logical field name, (ii) an access method selected from at least two different access method types and (iii) a location in the physical database for accessing respective data elements in the physical database;
wherein at least a first logical field further defines how to order data elements accessed for the at least one logical field, wherein the location defined by the first logical field comprises a first physical field of the physical database, wherein the first logical field defines that the data elements accessed for the first logical field are ordered based on at least one of;
(i) a second logical field of the plurality of logical fields of the database abstraction model and (ii) a second physical field of the physical database;providing a query building interface for composing an abstract query from the plurality of logical fields in the database abstraction model, wherein the abstract query specifies which of the data elements should be retrieved based on their respective order positions without specifying how to order the data elements, the data elements being ordered as defined by the first logical field; and providing a runtime component configured to generate, from the abstract query and by operation of one or more computer processors, a resolved query executable against the physical database, wherein the resolved query is configured to retrieve the data elements specified by the abstract query and ordered as defined by the first logical field of the database abstraction model. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-implemented method of accessing physical data having a particular physical data representation, comprising configuring one or more computer processors to perform an operation comprising:
-
receiving an abstract query issued by a requesting entity according to a query specification of the requesting entity;
wherein the query specification defines an interface to the database abstraction model, wherein the database abstraction model defines a plurality of logical field definitions mapping logical fields to the physical data, wherein each of the logical field definitions comprises 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 selected from at least two different access method types;
wherein each of the different access methods types defines a different manner of exposing the physical data corresponding to the logical field name of the respective logical field definition, wherein the logical field definition for at least a first logical field defines how to order physical data elements corresponding to the first logical field, wherein the location defined by the first logical field comprises a first physical field of a physical database storing the physical data, wherein the first logical field defines that the data elements accessed for the first logical field are ordered based on at least one of;
(i) a second logical field of the plurality of logical fields of the database abstraction model and (ii) a second physical field of the physical database, and wherein the abstract query is composed on the basis of the plurality of logical field definitions; andtransforming, by operation of the one or more computer processors, the abstract query into a query consistent with the particular physical data representation according to the database abstraction model depending on which of the plurality of logical fields definitions are referenced by the abstract query, wherein the abstract query specifies which of the physical data elements should be retrieved based on their respective order positions without specifying how to order the physical data elements, the physical elements being ordered as defined by the first logical field. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
Specification