GENERATION OF ARCHIVER QUERIES FOR CONTINUOUS QUERIES OVER ARCHIVED RELATIONS
First Claim
1. A computer-implemented method, comprising:
- receiving, by a computer system configured to execute computer-executable instructions, a continuous query, the continuous query being identified based at least in part on an archived relation associated with an application;
generating a physical query plan for the continuous query;
determining that an operator identified in the physical query plan is capable of constructing an archiver query;
constructing a structured query language (SQL) equivalent expression corresponding to an attribute utilized by the operator;
constructing an output SQL expression for the identified operator based at least in part on the SQL equivalent expression;
constructing the archiver query for the identified operator based at least in part on the output SQL expression;
identifying that the operator is a query operator;
executing the archiver query to obtain a result set of data records related to the application; and
generating a snapshot output of one or more data values related to the application based at least in part on the result set of data records.
1 Assignment
0 Petitions
Accused Products
Abstract
A method may include receiving a continuous query identified by an archived relation associated with an application. The method may also include generating a physical query plan. Additionally, the method may include constructing a structured query language (SQL) equivalent expression corresponding to an attribute utilized by the operator and/or constructing an output SQL expression for the identified operator based at least in part on the SQL equivalent expression. Additionally, the method may include constructing the archiver query for the identified operator based at least in part on the output SQL expression. Further, the method may include executing the archiver query to obtain a result set of data records related to the application and/or generating a snapshot output of one or more data values related to the application based at least in part on the result set of data records.
82 Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
receiving, by a computer system configured to execute computer-executable instructions, a continuous query, the continuous query being identified based at least in part on an archived relation associated with an application; generating a physical query plan for the continuous query; determining that an operator identified in the physical query plan is capable of constructing an archiver query; constructing a structured query language (SQL) equivalent expression corresponding to an attribute utilized by the operator; constructing an output SQL expression for the identified operator based at least in part on the SQL equivalent expression; constructing the archiver query for the identified operator based at least in part on the output SQL expression; identifying that the operator is a query operator; executing the archiver query to obtain a result set of data records related to the application; and generating a snapshot output of one or more data values related to the application based at least in part on the result set of data records. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-readable storage medium storing computer-executable instructions that, when executed by one or more computer systems, configure the one or more computer systems to perform at least:
-
instructions that cause the one or more computer systems to receive a continuous query, the continuous query being identified based at least in part on an archived relation associated with an application; instructions that cause the one or more computer systems to generate a physical query plan for the continuous query; instructions that cause the one or more computer systems to determine that an operator identified in the physical query plan is capable of constructing an archiver query; instructions that cause the one or more computer systems to construct the archiver query for the identified operator based at least in part on the determination; instructions that cause the one or more computer systems to identify that the operator is a query operator; instructions that cause the one or more computer systems to execute the archiver query to obtain a result set of data records related to the application; and instructions that cause the one or more computer systems to generate a snapshot output of one or more data values related to the application based at least in part on the result set of data records. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A system, comprising:
-
a memory storing a plurality of instructions; and a processor configured to access the memory, wherein the processor is further configured to execute the plurality of instructions to at least; receive a continuous query, the continuous query being identified based at least in part on an archived relation associated with an application; generate a physical query plan for the continuous query; determine that an operator identified in the physical query plan is capable of constructing an archiver query; construct a structured query language (SQL equivalent expression corresponding to an attribute utilized by the operator; construct an output SQL expression for the identified operator based at least in part on the SQL equivalent expression; construct the archiver query for the identified operator based at least in part on the output SQL expression; identify that the operator is a query operator; execute the archiver query to obtain a result set of data records related to the application; and generate a snapshot output of one or more data values related to the application based at least in part on the data records. - View Dependent Claims (17, 18, 19, 20)
-
Specification