EVENT PROCESSING QUERY LANGUAGE INCLUDING AN OUTPUT CLAUSE
An event processor can use queries to operate on event streams. Event processing queries can include an output clause to restrict the output of the query.
1 . A computer-implemented system comprising:
an event processor using queries to operate on event streams, at least some event processing queries including an output clause to restrict the output of the query.
2 . The computer-implemented system of claim 1 , wherein the output clause holds the output of the query until a certain amount of time has occurred.
3 . The computer-implemented system of claim 1 , wherein the output clause holds the output until a certain number of events have been received.
4 . The computer-implemented system of claim 1 , where the output of the query is another stream.
5 . The computer-implemented system of claim 4 , wherein an “insert into” clause creates another stream.
6 . The computer-implemented system of claim 1 , wherein a “First” keyword indicates that the first event or events in an output batch is to be output.
7 . The computer-implemented system of claim 1 , wherein a “Last” keyword indicates that the last event or events in an output batch is to be output.
8 . The computer-implemented system of claim 1 , wherein the language further includes pattern matching functionality.
9 . The computer implemented system of claim 1 , wherein at least one query further includes a “Retain Clause”.
10 . A computer-implemented method comprising:
processing events in an event stream; and
outputting the events in the event stream according to an output clause of an event processing query.
11 . The computer-implemented method of claim 10 , wherein the output clause holds the output of the query until a certain amount of time has occurred.
12 . The computer-implemented method of claim 10 , wherein the output clause holds the output until a certain number of events have been received.
13 . The computer-implemented method of claim 10 , where the output of the query is another stream.
14 . The computer-implemented method of claim 13 , wherein an “insert into” clause creates another stream.
15 . The computer-implemented method of claim 10 , wherein a “First” keyword indicates that the first event or events in an output batch is to be output.
16 . The computer-implemented method of claim 10 , wherein a “Last” keyword indicates that the last event or events in an output batch is to be output.
17 . The computer-implemented method of claim 10 , wherein the query includes pattern matching functionality.
18 . The computer implemented method of claim 10 , wherein the query includes a “Retain Clause”.
19 . A computer readable storage medium comprising code to:
process events in an event stream; and
output the events in the event stream according to an output clause of an event processing query.
20 . The computer readable storage medium of claim 19 , wherein the output clause holds the output of the query until a certain amount of time has occurred.
21 . The computer readable storage medium of claim 19 , wherein the output clause holds the output until a certain number of events have been received.
22 . The computer readable storage medium of claim 19 , where the output of the query is another stream.
23 . The computer readable storage medium of claim 22 , wherein an “insert into” clause creates another stream.
24 . The computer readable storage medium of claim 19 , wherein a “First” keyword indicates that the first event or events in an output batch is to be output.
25 . The computer readable storage medium of claim 19 , wherein a “Last” keyword indicates that the last event or events in an output batch is to be output.
26 . The computer readable storage medium of claim 19 , wherein the query includes pattern matching functionality.
27 . The computer readable storage medium of claim 19 , wherein the query includes a “Retain Clause”.