USER DEFINED FUNCTION DATABASE PROCESSING
First Claim
1. An apparatus, comprising:
- a reception module to retrieve multiple rows of a database in response to receiving a request to execute an aggregate user defined function (UDF) over the multiple rows; and
a processor to sort each of the multiple rows into common groups, to group together individual ones of the multiple rows that share one of the common groups, and to send UDF execution requests to apply the aggregate UDF to aggregate buffers of the common groups to produce an aggregate result, so that one of the UDF execution requests and one context switch are used to process each of the aggregate buffers used within one of the groups to provide at least one intermediate result that can be processed to form the aggregate result.
1 Assignment
0 Petitions
Accused Products
Abstract
Apparatus, systems, and methods may operate to retrieve multiple rows of a database in response to receiving a request to execute an aggregate user defined function (UDF) over the multiple rows, to sort each of the multiple rows into common groups, grouping together individual ones of the multiple rows that share one of the common groups, and to send UDF execution requests to apply the aggregate UDF to aggregate buffers of the common groups to produce an aggregate result, so that one of the UDF execution requests and one context switch are used to process each of the aggregate buffers used within one of the groups to provide at least one intermediate result that can be processed to form the aggregate result. Other apparatus, systems, and methods are disclosed.
-
Citations
20 Claims
-
1. An apparatus, comprising:
-
a reception module to retrieve multiple rows of a database in response to receiving a request to execute an aggregate user defined function (UDF) over the multiple rows; and a processor to sort each of the multiple rows into common groups, to group together individual ones of the multiple rows that share one of the common groups, and to send UDF execution requests to apply the aggregate UDF to aggregate buffers of the common groups to produce an aggregate result, so that one of the UDF execution requests and one context switch are used to process each of the aggregate buffers used within one of the groups to provide at least one intermediate result that can be processed to form the aggregate result. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A processor-implemented method to execute on one or more processors that perform the method, comprising:
-
retrieving multiple rows of a database in response to receiving a request to execute an aggregate user defined function (UDF) over the multiple rows; sorting each of the multiple rows into common groups, to group together individual ones of the multiple rows that share one of the common groups; and sending UDF execution requests to apply the aggregate UDF to aggregate buffers of the common groups to produce an aggregate result, so that one of the UDF execution requests and one context switch are used to process each of the aggregate buffers used within one of the groups to provide at least one intermediate result that can be processed to form the aggregate result. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A processor-implemented method to execute on one or more processors that perform the method, comprising:
-
retrieving multiple rows of a database in response to receiving a request to execute a Java aggregate user defined function (UDF) over the multiple rows; sorting each of the multiple rows into common groups, to group together individual ones of the multiple rows that share one of the common groups; sending Java UDF execution requests to apply the Java aggregate UDF to aggregate buffers of the common groups to produce an aggregate result, so that one of the Java UDF execution requests and one context switch are used to process each of the aggregate buffers used within one of the groups to provide at least one intermediate result that can be processed to form the aggregate result. - View Dependent Claims (19, 20)
-
Specification