Generic query templates for complex event processing and data stream systems
AssigneeSap SE
InventorsBernhard Wolf, Rahim Makhani
Life of this patent
Estimating the term…
Loading patent…
AssigneeSap SE
InventorsBernhard Wolf, Rahim Makhani
Estimating the term…
Systems and methods provide for queries with an arbitrary number of input streams to be created from a generic query template, during runtime, based on, for example, configuration parameters provided by the system or a user. The generic query templates include a generic query template string, query template segments, and an orchestration mechanism for automatic query template generation. The systems and methods of the present invention provide for the substitution of concrete input streams, counters (e.g., stream indices) and query template segments (which can include further placeholders) into the generic query templates. Further, the input placeholders of the generic query template provide for any part of the query template to be substituted with arbitrary logic. Also, the orchestration process is query language independent and can be applied (and extended) for any query language.
A computer-implemented method for generating queries with a number of input streams from a generic query template, the method comprising:
The method of claim 3, wherein the placeholders include at least one of an input stream placeholder, an output stream placeholder, a parameter placeholder and an input placeholder, wherein the input stream placeholder is substituted with the at least one registered query input stream, the output stream placeholder is substituted with the at least one query output stream, and the input placeholder is replaced by a query template segment or the input stream placeholder.
A non-transitory computer readable medium having program instructions for generating queries with a number of input streams from a generic query template, wherein execution of the program instructions by one or more processors of a computer system causes one or more processors to carry out the steps of:
A system directed to generating queries with an arbitrary number of input streams from a generic query template, comprising:
Dependencies are inferred from the claim text.