Dynamic query building based on the desired number of results
First Claim
Patent Images
1. A computer-implemented method of using a logical model to query physical fields of physical data entities, comprising:
- providing a logical model to logically describe the physical fields, the logical model comprising logical fields corresponding to respective physical fields; and
providing a runtime component configured to change at least one element of an abstract query in an attempt to produce a modified abstract query which, when executed, returns results satisfying a result set criterion;
wherein the abstract query is defined with respect to at least one logical field of the logical model and wherein at least one value is specified for the at least one logical field.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, apparatus and article of manufacture for modifying query elements to produce a desired result size. A requesting entity specifies a desired result set size to be returned for a given query. One or more elements specified in the query are modified until a resulting modified query is produced which, when executed produces the desired result set size.
-
Citations
45 Claims
-
1. A computer-implemented method of using a logical model to query physical fields of physical data entities, comprising:
-
providing a logical model to logically describe the physical fields, the logical model comprising logical fields corresponding to respective physical fields; and
providing a runtime component configured to change at least one element of an abstract query in an attempt to produce a modified abstract query which, when executed, returns results satisfying a result set criterion;
wherein the abstract query is defined with respect to at least one logical field of the logical model and wherein at least one value is specified for the at least one logical field. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-implemented method of returning a desired result set for a query, comprising:
-
providing a logical model to logically describe physical fields of physical data entities, the logical model comprising logical fields corresponding to respective physical fields and each having an associated modification parameter;
receiving an abstract query comprising a result set criterion and selection criterion comprising at least one of the logical fields of the logical model; and
manipulating the abstract query in an attempt to produce a modified abstract query which, when executed, returns results satisfying the result set criterion;
wherein the manipulating is, at least in part, defined by the modification parameter associated with the at least one of the logical fields of the selection criterion. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
-
19. A computer-implemented method of building queries, comprising:
-
providing a logical model to logically describe physical fields of a plurality of physical data entities, the logical model comprising logical fields corresponding to respective physical fields;
receiving an abstract query defined with respect to at least one logical field of the logical model and comprising a user-specified value for the at least one logical field and a result set criterion specifying at least a size of a desired result set; and
programmatically manipulating an element of the abstract query in an attempt to produce a modified abstract query which, when executed, returns results satisfying the result set criterion. - View Dependent Claims (20, 21, 22, 23, 24, 25)
-
-
26. A computer-implemented method for returning a specified result size set for a query, comprising:
-
(a) receiving a query comprising at least one condition, an associated value for the condition and a user-specified results criterion;
(b) changing a first element of the query to produce a modified query;
(c) running the modified query to produce a result set;
(d) if the result set does not satisfy the user-specified results criterion, changing one of the first element and a second element to produce a different modified query; and
(e) running the different modified query to produce a different result set. - View Dependent Claims (27, 28, 29, 30, 31, 32)
-
-
33. A computer readable medium containing a program which, when executed, performs an operation with respect to abstract queries and a logical model comprising a plurality of logical field definitions mapping to physical fields of physical entities of the data, the operation comprising:
-
receiving an abstract query defined with respect to at least one logical field of the logical model and comprising (i) a user-specified value for the at least one logical field and (ii) a result set criterion specifying at least a size of a desired result set; and
manipulating the abstract query in an attempt to produce a modified abstract query which, when executed, returns results satisfying the result set criterion. - View Dependent Claims (34, 35, 36, 37, 38, 39, 40, 41)
-
-
42. A computer system, comprising memory and at least one processor, and further comprising:
-
a logical model comprising a plurality of logical field definitions mapping to physical fields of physical entities of data, whereby the logical model provides a logical view of the data; and
a runtime component configured to at least (i) receive an abstract query comprising at least one condition with a reference to at least one of the logical field definitions, a value for the at least one logical field and at least one user-selected result size criterion specifying a desired result set size to be returned; and
(ii) change an element of the abstract query in an effort to satisfy the result size criterion. - View Dependent Claims (43, 44, 45)
-
Specification