Data continuous SQL process
First Claim
Patent Images
1. A method, comprising:
- repeatedly triggering a User Defined Function (UDF) that generates a data stream;
applying, with a computer, a data continuous Structured Query Language (SQL) query to the data stream to construct a data continuous SQL process (DCSP);
modeling the DCSP as a graph of stations specified with triggering conditions and outgoing pipes, the outgoing pipes defined with a relation schema for type-preservation and with a stream key for identifying stream elements, wherein relations returned from the UDF are replicated to multiple pipes for multiple destination stations; and
executing, in a database engine located in a database, the DCSP, wherein the UDF includes relational operators in the SQL query and expresses a relational transformation since the UDF includes an input value as a relation and an output value as a relation.
2 Assignments
0 Petitions
Accused Products
Abstract
One embodiment is a method that repeatedly triggers a User Defined Function (UDF) that generates a data stream. A data continuous Structured Query Language (SQL) query is applied to the data stream to construct a data continuous SQL process (DCSP) which executes in a database.
126 Citations
20 Claims
-
1. A method, comprising:
-
repeatedly triggering a User Defined Function (UDF) that generates a data stream; applying, with a computer, a data continuous Structured Query Language (SQL) query to the data stream to construct a data continuous SQL process (DCSP); modeling the DCSP as a graph of stations specified with triggering conditions and outgoing pipes, the outgoing pipes defined with a relation schema for type-preservation and with a stream key for identifying stream elements, wherein relations returned from the UDF are replicated to multiple pipes for multiple destination stations; and executing, in a database engine located in a database, the DCSP, wherein the UDF includes relational operators in the SQL query and expresses a relational transformation since the UDF includes an input value as a relation and an output value as a relation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer readable storage medium having instructions for causing a computer to execute a method, comprising:
-
executing a continuous data stream process with three functions that include an extract, transform, load (ETL) process, an aggregation process, and reporting process; specifying the continuous data stream process with Structured Query Language (SQL) queries; executing the SQL queries at a database management system (DBMS) level, wherein the SQL queries include User Defined Functions (UDFs) that perform relational transformations like a relational operator since the UDFs include input values as relations and output values as relations; and identifying stations with triggering conditions and outgoing pipes, the outgoing pipes defined with a relation schema for type-preservation and with a stream key for identifying stream elements, wherein relations returned from the UDF are replicated to multiple pipes for multiple destination stations. - View Dependent Claims (11, 12, 13)
-
-
14. A computer system, comprising:
-
a computer that generates a data continuous Structured Query Language (SQL) query to a continuous data stream to construct a data continuous SQL process (DCSP); a database in communication with the computer, the database including a database engine that executes the DCSP in the database, wherein the DCSP is constructed from User Defined Functions (UDFs) that include relational operators in the SQL query and that express a relational transformation since the UDFs include an input value as a relation and an output value as a relation; and wherein the DCSP includes stations specified with triggering conditions and outgoing pipes, the outgoing pipes defined with a relation schema for type-preservation and with a stream key for identifying stream elements, wherein relations returned from the UDF are replicated to multiple pipes for multiple destination stations. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification