1. A method for managing a query, the method comprising: receiving via a computer readable storage medium an iterator model plan based on the query; transforming through the computer readable storage medium a first operator of the iterator model plan and a first operator variable of the first operator based on an analysis of the iterator model plan and a shared continuous query plan; generating a continuous query operator based on the transformed first operator variable and the transformed first operator; and providing the generated continuous query operator to the shared continuous query plan.