1. A non-transitory computer-readable medium having stored thereon processor-executable instructions that when executed by a processor result in the following: receiving, at a query technique engine, continuous query definition parameters from a user via a graphical user interface; retrieving, at the query technique engine, semantic layer information associated with an event processing engine, the event processing engine being adapted to receive an event stream; based on the continuous query definition parameters from the user, automatically creating at the query technique engine a pre-fetch query to pre-fetch historical data from a database using a pull-model; automatically creating an event processing language statement, by a processor at the query technique engine, the event processing language statement being created based on (i) the continuous query definition parameters from the user and (ii) the semantic layer information; and providing the event processing language statement to the complex event processing engine so as to establish a continuous query, the continuous query providing at least one output data value based on both the pre-fetched historical data and new push-model events in the event stream.
1. A non-transitory computer-readable medium having stored thereon processor-executable instructions that when executed by a processor result in the following: receiving, at a query technique engine, continuous query definition parameters from a user via a graphical user interface; retrieving, at the query technique engine, semantic layer information associated with an event processing engine, the event processing engine being adapted to receive an event stream; based on the continuous query definition parameters from the user, automatically creating at the query technique engine a pre-fetch query to pre-fetch historical data from a database using a pull-model; automatically creating an event processing language statement, by a processor at the query technique engine, the event processing language statement being created based on (i) the continuous query definition parameters from the user and (ii) the semantic layer information; and providing the event processing language statement to the complex event processing engine so as to establish a continuous query, the continuous query providing at least one output data value based on both the pre-fetched historical data and new push-model events in the event stream. 10. The computer-readable medium of claim 1 , wherein at least some of the semantic layer information is associated with a first stream adapter metadata component associated with the event stream and a second stream adapter metadata component associated with the database.