1. A computer system, comprising: an execution module configured to: partition a plurality of events into one or more groups based on a partitioning operator; instantiate a query application module for each of the one or more groups, wherein each particular query application module for a particular group includes data associated with the query and group-specific data associated with the particular group, and is configured to apply the query to events of the particular group to generate results; and merge results of each of the query application modules.