Crucible query system
First Claim
1. A method for accessing a server database in a database computing system in response to a request by an application program executing in an application computing system, wherein a communications facility is connected to couple the application computing system to the database computing system, and wherein the application computing system includes a first interface for providing application programs executing at the application computing system with an interface to the database computing system, the method comprising the steps of:
- generating a first query in the application computing system;
parsing the first query to provide query components;
providing a query class comprising a plurality of subclasses wherein each query subclass corresponds to each query component, and wherein each subclass contains variable declarations and methods;
for each query component, constructing query component objects from the corresponding query subclasses and containing data from each query component that satisfy the variable declarations in the subclass;
chaining the query component objects together; and
making the chained query component objects persistent by saving data describing the chained query component to persistent storage.
2 Assignments
0 Petitions
Accused Products
Abstract
A database system including a query mechanism for accessing data stored in the database. The database system includes classes comprising stored code enabling User generated database queries comprise data indicating one or more addresses at which the desired data resides. The query mechanism parses a query in to a plurality of query components. A query class in the query system instantiates a query component object for each of the query components. The query component objects are chained together to form query chains that enable message passing between the query component objects.
89 Citations
11 Claims
-
1. A method for accessing a server database in a database computing system in response to a request by an application program executing in an application computing system, wherein a communications facility is connected to couple the application computing system to the database computing system, and wherein the application computing system includes a first interface for providing application programs executing at the application computing system with an interface to the database computing system, the method comprising the steps of:
-
generating a first query in the application computing system; parsing the first query to provide query components; providing a query class comprising a plurality of subclasses wherein each query subclass corresponds to each query component, and wherein each subclass contains variable declarations and methods; for each query component, constructing query component objects from the corresponding query subclasses and containing data from each query component that satisfy the variable declarations in the subclass; chaining the query component objects together; and making the chained query component objects persistent by saving data describing the chained query component to persistent storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A query system for a server database in a database computing system, the query system responsive to a request by an application program executing in an application computing system, the query system comprising
a first interface within the application computing system providing application programs executing at the application computing system with an interface to the database computing system; -
a second interface within the application computing system providing application programs executing at the application computing system with a user interface; a query module coupled to receive user supplied query data from the second interface; a parsing module coupled to receive the query data and to generate a plurality of query components; an object-oriented query class comprising a plurality of subclasses, wherein each query component has a corresponding subclass, and wherein each subclass contains preselected attributes, variable declarations and methods to enable the subclass to construct a query component object, wherein each query component object contains data from one of the query components; a chaining module coupled to receive the query component objects and link the query component objects to generate a query chain; and a storage module coupled to receive the chained query component objects and make the chained query component objects persistent by saving data describing the chained query component to persistent storage.
-
-
11. A database system comprising:
-
a database server in a database computing system, the database computing system having a processor, an input/output device, and a data storage device; a database access system in an application computing system, the application conputing system having a processor, an input/output device, and a data storage device; a communications facility to couple the application computing system to the database computing system; a first interface within the application computing system providing application programs executing at the application computing system with an interface to the database computing system; a second interface within the application computing system providing application programs executing at the application computing system with a user interface; a query system coupled to receive a query statement from data entry means and generate a plurality of query data components; a proxy system coupled to receive the query data components and generate a query component object from each query data component, wherein the query component objects comprise data and methods for implementing the query language statement; a database access layer coupled to the proxy system to receive messages from and send messages to the query component objects, and coupled directly to the query system to receive query language messages from and send query language messages to the query system; the query system further comprising; a parsing module coupled to receive the query language statement and to generate a plurality of query data components; an object-oriented query class comprising a plurality of subclasses, wherein each query data component has a corresponding subclass, and wherein each subclass contains preselected attributes, variable declarations and methods selected to enable the subclass to construct the corresponding query component object; a chaining module coupled to communicate with the query component objects in the query system and link the query component objects to generate a query chain; and a storage module coupled to receive the chained query component objects and make the chained query component objects persistent by saving data describing the chained query component to persistent storage.
-
Specification