Aggregate predicates and search in a database management system
First Claim
Patent Images
1. A method of executing a statement in a computer to manipulate data in a data store connected to the computer, the method comprising:
- receiving a statement having a rank operator for specifying an aggregate predicate; and
when evaluating the statement, processing the aggregate predicate to produce a rank-sorted set of tuples by performing an extended sort on an input stream of tuples using a rank, a group-by list and a scoring expression.
1 Assignment
0 Petitions
Accused Products
Abstract
A technique for executing a statement in a computer to manipulate data in a data store connected to the computer. Initially, a statement having an aggregate predicate is received. Then, when evaluating the statement, the aggregate predicate is processed to rank data. Furthermore, evaluating includes performing an extended sort operator with early termination.
-
Citations
39 Claims
-
1. A method of executing a statement in a computer to manipulate data in a data store connected to the computer, the method comprising:
-
receiving a statement having a rank operator for specifying an aggregate predicate; and when evaluating the statement, processing the aggregate predicate to produce a rank-sorted set of tuples by performing an extended sort on an input stream of tuples using a rank, a group-by list and a scoring expression. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. An apparatus for executing a statement to manipulate data, comprising:
-
a computer having a data store connected thereto, wherein the data store stores data; and one or more computer programs, performed by the computer, for receiving a statement having a rank operator for specifying an aggregate predicate and when evaluating the statement, processing the aggregate predicate to produce a rank-sorted set of tuples by performing an extended sort on an input stream of tuples using a rank, a group-by list and a scoring expression. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. An article of manufacture comprising a computer program carrier readable by a computer and embodying one or more instructions executable by the computer to perform method steps for executing a statement in a computer to manipulate data in a data store connected to the computer, comprising:
-
receiving a statement having a rank operator for specifying an aggregate; and when evaluating the statement, processing the aggregate predicate to produce a rank-sorted set of tuples by performing an extended sort on an input stream of tuples using a rank, a group-by list and a scoring expression. - View Dependent Claims (28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
Specification