Technique for encapsulating a query definition
First Claim
1. A computer-readable medium containing a data structure defining a query definition, the data structure including:
- a query specification including query text and parameters, the parameters having values that may be set by a user before or when the query definition is executed;
a results transform that transforms results of executing the query specification into a canonical format; and
a data source identifier that identifies a data source to be used when the query specification is executed;
wherein the data structure encapsulates the query definition.
6 Assignments
0 Petitions
Accused Products
Abstract
A method and system for querying data sources. The query system provides a query definition for defining queries in a uniform manner. The query definition includes a query specification, a data source identifier, and optionally, one or more results transforms. The query definition may be stored as a data structure on computer-readable media, such as a CD-ROM. The query specification includes query text and parameters. The query text specifies the query expression that is to be applied to the identified data source to generate the results. The parameters specify portions of the query text that can be changed by a user before a query is executed.
-
Citations
68 Claims
-
1. A computer-readable medium containing a data structure defining a query definition, the data structure including:
-
a query specification including query text and parameters, the parameters having values that may be set by a user before or when the query definition is executed; a results transform that transforms results of executing the query specification into a canonical format; and a data source identifier that identifies a data source to be used when the query specification is executed; wherein the data structure encapsulates the query definition. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A method in a computer-system for performing a query, the method comprising:
-
receiving an indication of a query definition encapsulated by a data structure, the query definition including a query specification and a results transform; identifying a data source from the query specification; requesting execution of the query specification with the identified data source to generate results in a raw format; and transforming the generated results in the raw format to a canonical format using the results transform. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43)
-
-
44. A computer-readable medium containing a data structure defining a query definition, the data structure comprising:
-
a query specification including query text that is an expression of a query; and a data source identifier that identifies a data source to be used when the query specification is executed; whereby the data structure encapsulates the query definition that can be used by a plurality of different application programs to define a query that is to be executed using the query specification and the data source identified by the data source identifier. - View Dependent Claims (45, 46, 47, 48, 49, 50, 51)
-
-
52. A computer-readable medium containing instructions for controlling computer systems to execute queries by a method comprising:
-
receiving a query definition that includes a query specification and a data source identifier, the query definition being encapsulated by a data structure that can be accessed by a plurality of different application programs; and requesting execution of the query definition to generate results. - View Dependent Claims (53, 54, 55, 56, 57, 58, 59, 60, 61)
-
-
62. A computer system for executing queries, the computer system comprising:
-
means for receiving a data structure encapsulating a query definition that includes a query specification and a data source identifier; and means for requesting execution of the query definition to generate results using the query specification and a data source identified by the data source identifier. - View Dependent Claims (63, 64, 65, 66, 67, 68)
-
Specification