Multi-input, multi-output-per-input user-defined-function-based database operations
First Claim
1. A database management system comprising:
- at least one processor and electronic memory;
a database-query processor to make multiple calls to a multiple-input, multiple-output-per-input user-defined-function;
the multiple-input, multiple-output-per-input user-defined-function to, in response to an invocation;
set up a first memory buffer to maintain first input information for a first period equal to a lifetime of the invocation, wherein the first input information is provided to the multiple-input, multiple-output-per-input user-defined-function;
set up a second memory buffer to maintain second input information for a second period, wherein the second input information is provided to the multiple-input, multiple-output-per-input user-defined-function; and
set up a third memory buffer to maintain output information for a third period, wherein the output information is provided by the multiple-input, multiple-output-per-input user-defined-function.
2 Assignments
0 Petitions
Accused Products
Abstract
The current application discloses a database management system that provides multiple-input, multiple-output-per-input user-defined-function-based operations. The database management system comprises at least one processor and electronic memory, a database-query processor, executed on a computer processor controlled by computer instructions stored in a computer-readable memory, that makes multiple calls to a multiple-input, multiple-output-per-input user-defined-function, in each call transmitting a next input to the multiple-input, multiple-output-per-input user-defined-function, and the multiple-input, multiple-output-per-input user-defined-function, executed on a computer processor controlled by computer instructions stored in a computer-readable memory, that uses three different memory buffers, the contents of which are maintained for three different time periods, to compute and return to the database-query processor multiple outputs in response to at least one of the multiple inputs.
18 Citations
20 Claims
-
1. A database management system comprising:
-
at least one processor and electronic memory; a database-query processor to make multiple calls to a multiple-input, multiple-output-per-input user-defined-function; the multiple-input, multiple-output-per-input user-defined-function to, in response to an invocation; set up a first memory buffer to maintain first input information for a first period equal to a lifetime of the invocation, wherein the first input information is provided to the multiple-input, multiple-output-per-input user-defined-function; set up a second memory buffer to maintain second input information for a second period, wherein the second input information is provided to the multiple-input, multiple-output-per-input user-defined-function; and set up a third memory buffer to maintain output information for a third period, wherein the output information is provided by the multiple-input, multiple-output-per-input user-defined-function. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method carried out by a database management system that includes at least one processor and an electronic memory and a database-query processor, executed on a computer processor controlled by computer instructions stored in a computer-readable memory, to provide a multiple-input, multiple-output-per-input user-defined function by:
-
initializing the multiple-input, multiple-output-per-input user-defined function following an invocation of the multiple-input, multiple-output-per-input user-defined function by the database-query processor; in response to the invocation of the multiple-input, multiple-output-per-input user-defined function; setting up a first memory buffer to maintain first input information for a lifetime of the invocation, wherein the first input information is provided to the multiple-input, multiple-output-per-input user-defined-function; setting up a second memory buffer to maintain second input information for a lifetime of each one of multiple calls to the multiple-input, multiple-output-per-input user-defined-function, wherein the second input information is provided to the multiple-input, multiple-output-per-input user-defined-function; and setting up a third memory buffer to maintain output information for a lifetime of generating output tuples for a particular input, wherein the output information is provided by the multiple-input, multiple-output-per-input user-defined-function. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A method, carried out by a database management system that includes at least one processor and an electronic memory and a database-query processor, to process a call-detail-record table to replace multiple call detail records corresponding to a single call within the call-detail-record table by a single call detail record, the method comprising:
-
initializing a multiple-input, multiple-output-per-input user-defined function following an invocation of the multiple-input, multiple-output-per-input user-defined function by the database-query processor; in response to the invocation of the multiple-input, multiple-output-per-input user-defined function; setting up a first memory buffer to maintain first input information for a first period equal to a lifetime of the invocation, wherein the first input information is provided to the multiple-input, multiple-output-per-input user-defined-function; setting up a second memory buffer to maintain second input information for a second period, wherein the second input information is provided to the multiple-input, multiple-output-per-input user-defined-function; and setting up a third memory buffer to maintain output information for a third period, wherein the output information is provided by the multiple-input, multiple-output-per-input user-defined-function. - View Dependent Claims (19, 20)
-
Specification