Method and system for composing a query for a database and traversing the database
First Claim
1. A computer-implemented method of composing a query for application against a database, said method comprising:
- a) composing a selection clause for said query, said selection clause comprising a results set related to said query;
b) composing a criteria clause for said query, said criteria clause comprising input criteria related to said query and additional criteria specified against said query, wherein the input criteria are associated with tables, and wherein predetermined relationships among the tables are stored in a relationship dictionary; and
c) composing a source clause utilizing elements in said database identified by said query.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method of composing a query object for application against a database is provided. The method composes a selection clause for the query. Next, a criteria clause for the query is generated, with the criteria clause comprising input criteria related to the query, additional criteria specified against the query, and generated criteria based on a joint relationship. Next a source clause utilizing elements in the database accessed by the query is generated. A database traversal system and method is provided. The method identifies all tables directly accessible by each table and creates a data structure comprising an entry for each table. The entry comprises an identification field for each table and a link field identifying all tables directly accessible by each table. The data structure is traversed and an optimum path of the traversal paths utilizing data obtained from traversing the data structure is identified.
88 Citations
21 Claims
-
1. A computer-implemented method of composing a query for application against a database, said method comprising:
-
a) composing a selection clause for said query, said selection clause comprising a results set related to said query; b) composing a criteria clause for said query, said criteria clause comprising input criteria related to said query and additional criteria specified against said query, wherein the input criteria are associated with tables, and wherein predetermined relationships among the tables are stored in a relationship dictionary; and c) composing a source clause utilizing elements in said database identified by said query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented query transaction system comprising:
-
a computer; access to a database associated with said computer; and a query processing program operating on said computer and generating a query for said database, said query processing program comprising; a selection clause composing module for creating a selection clause for said query, said selection clause module producing a results set related to said query; a criteria clause composing module for creating a criteria clause for said query, said criteria clause module processing input criteria related to said query and additional criteria specified against said query, wherein the input criteria are associated with tables, and wherein predetermined relationships among the tables are stored in a relationship dictionary; and a source clause composing module utilizing elements in said database identified by said query. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer readable information storage medium including a computer readable program encoded on said medium, said program comprising a method of composing a query for application against a database, said method comprising:
-
composing a selection clause for said query, said selection clause comprising a results set related to said query; composing a criteria clause for said query, said criteria clause comprising input criteria related to said query and additional criteria specified against said query, wherein the input criteria are associated with tables, and wherein predetermined relationships among the tables are stored in a relationship dictionary; and composing a source clause utilizing elements in said database identified by said query. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification