12. A system for new continuous query that includes folding a new continuous query into a shared continuous query plan (SCP) associated with a global range table, the system comprising: a processor; and a computer readable storage medium having instructions for execution by the processor which causes the processor to: receive a new continuous query; compile the new continuous query to generate an iterator model plan (IMP) and an associated local range table that includes a list of range variables, each of which uniquely identifies an object in the new continuous query, and wherein the IMP corresponds to an execution plan generated for the new continuous query and comprises one or more IMP operators, each of which includes one or more expressions whose variables are associated with the local range table; analyze the one or more IMP operators of IMP and one or more SCP operators of the SCP to produce one or more variable transforms and one or more plan items; wherein the one or more variable transforms modify the one or more expressions of the one or more IMP operators by associating the one or more IMP operators with variables of a global range table; wherein the one or more plan items comprise one or more groups of the one or more IMP operators; apply the variable transforms to modify the variables of the one or more IMP operators; generate a continuous query operator based on each plan item included in the one or more plan items; and provide the generated continuous query operator to a shared continuous query plan.
12. A system for new continuous query that includes folding a new continuous query into a shared continuous query plan (SCP) associated with a global range table, the system comprising: a processor; and a computer readable storage medium having instructions for execution by the processor which causes the processor to: receive a new continuous query; compile the new continuous query to generate an iterator model plan (IMP) and an associated local range table that includes a list of range variables, each of which uniquely identifies an object in the new continuous query, and wherein the IMP corresponds to an execution plan generated for the new continuous query and comprises one or more IMP operators, each of which includes one or more expressions whose variables are associated with the local range table; analyze the one or more IMP operators of IMP and one or more SCP operators of the SCP to produce one or more variable transforms and one or more plan items; wherein the one or more variable transforms modify the one or more expressions of the one or more IMP operators by associating the one or more IMP operators with variables of a global range table; wherein the one or more plan items comprise one or more groups of the one or more IMP operators; apply the variable transforms to modify the variables of the one or more IMP operators; generate a continuous query operator based on each plan item included in the one or more plan items; and provide the generated continuous query operator to a shared continuous query plan. 13. The system of claim 12 , wherein the processor is further configured to transform the operator variable based on the local range table and a global range table.