11. A computer-program product for hybrid push/pull of continuous structured query language queries, the computer program product comprising: a computer usable storage device, comprising a memory, having computer executable instructions stored thereon, the computer executable instructions comprising: computer executable instructions for receiving stream input, wherein the stream input comprises events of interest; computer executable instructions for building stream plans based on an original query from the stream input and a state machine, wherein building stream plans comprises splitting the original query into a push sub-query and a pull sub-query, and wherein the pull sub- query represents a portion of the original query from the stream input and the push sub-query represents a remaining portion of the original query from the stream input; computer executable instructions for replicating the stream input, wherein replicating the stream input comprises copying the stream input to produce a set of input streams, wherein one of the set of input streams is directed to a database and one of the set of input streams is directed to the state machine; computer executable instructions, responsive to a push sub-query trigger, for determining whether a pattern of the push sub-query matches an event in the one of the set of input streams directed to the state machine to form a pattern match and creating the push sub-query trigger in response to the pattern match, wherein the pattern match causes submitting of the pull sub-query to execute against accumulated data in the database to produce a result; and computer executable instructions for sending the result to a requestor.
11. A computer-program product for hybrid push/pull of continuous structured query language queries, the computer program product comprising: a computer usable storage device, comprising a memory, having computer executable instructions stored thereon, the computer executable instructions comprising: computer executable instructions for receiving stream input, wherein the stream input comprises events of interest; computer executable instructions for building stream plans based on an original query from the stream input and a state machine, wherein building stream plans comprises splitting the original query into a push sub-query and a pull sub-query, and wherein the pull sub- query represents a portion of the original query from the stream input and the push sub-query represents a remaining portion of the original query from the stream input; computer executable instructions for replicating the stream input, wherein replicating the stream input comprises copying the stream input to produce a set of input streams, wherein one of the set of input streams is directed to a database and one of the set of input streams is directed to the state machine; computer executable instructions, responsive to a push sub-query trigger, for determining whether a pattern of the push sub-query matches an event in the one of the set of input streams directed to the state machine to form a pattern match and creating the push sub-query trigger in response to the pattern match, wherein the pattern match causes submitting of the pull sub-query to execute against accumulated data in the database to produce a result; and computer executable instructions for sending the result to a requestor. 13. The computer program product of claim 11 , wherein computer executable instructions for submitting a pull sub-query to the database to produce a result further comprises: computer executable instructions for submitting a set of pull sub-queries.