Standardized database connectivity support for an event processing server in an embedded context
First Claim
Patent Images
1. A method for facilitating communication between a client application and an event processing server configured to run as part of a single computer process, the method comprising:
- running, as part of the single computer process, a database connectivity adapter implementing a database connectivity API, wherein the database connectivity adapter is configured to facilitate intra-process communication between the client application and the event processing server via the database connectivity API by;
receiving, in response to an invocation of the database connectivity API by the client application, a query language statement to be executed by the event processing server;
parsing the query language statement to determine a type of the statement;
processing the query language statement based on its type; and
invoking a procedure of the event processing server for executing the query language statement by (1) the database connectivity adapter obtaining a reference to a local object instantiated by the event processing server within the same single computer process as the database connectivity adapter and (2) the database connectivity adapter invoking a method of the local object, the invocation of the method of the local object causing execution of the query language statement.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for facilitating communication between one or more client applications and an event processing server. In one set of embodiments, a framework is provided that enables a client application to communicate with an event processing server via a standard database connectivity API, such as Java Database Connectivity (JDBC).
261 Citations
15 Claims
-
1. A method for facilitating communication between a client application and an event processing server configured to run as part of a single computer process, the method comprising:
running, as part of the single computer process, a database connectivity adapter implementing a database connectivity API, wherein the database connectivity adapter is configured to facilitate intra-process communication between the client application and the event processing server via the database connectivity API by; receiving, in response to an invocation of the database connectivity API by the client application, a query language statement to be executed by the event processing server; parsing the query language statement to determine a type of the statement; processing the query language statement based on its type; and invoking a procedure of the event processing server for executing the query language statement by (1) the database connectivity adapter obtaining a reference to a local object instantiated by the event processing server within the same single computer process as the database connectivity adapter and (2) the database connectivity adapter invoking a method of the local object, the invocation of the method of the local object causing execution of the query language statement. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
14. A system comprising:
-
a storage component configured to store data for one or more event streams; and a processing component communicatively coupled with the storage component, the processing component being configured to; run a client application, a database connectivity adapter, and an event processing server as part of a single computer process, wherein the database connectivity adapter implements a database connectivity API, and wherein the database connectivity adapter is configured to facilitate intra-process communication between the client application and the event processing server via the database connectivity API by; receiving, in response to an invocation of the database connectivity API by the client application, a query language statement to be executed by the event processing server; parsing the query language statement to determine a type of the statement; processing the query language statement based on its type; and invoking a procedure of the event processing server for executing the query language statement by (1) the database connectivity adapter obtaining a reference to a local object instantiated by the event processing server within the same single computer process as the database connectivity adapter and (2) the database connectivity adapter invoking a method of the local object, the invocation of the method of the local object causing execution of the query language statement.
-
-
15. A non-transitory machine-readable medium having stored thereon program code which, when executed by a processing component of a computer system, causes the processing component to facilitate communication between a client application and an event processing server configured to run as part of a single computer process, the program code comprising:
code for a database connectivity adapter configured to run as part of the single computer process, wherein the code for the database connectivity adapter comprises one or more code modules implementing a database connectivity API, and wherein the database connectivity adapter is configured to facilitate intra-process communication between the client application and the event processing server via the database connectivity API by; receiving, in response to an invocation of the standard database connectivity API by the client application, a query language statement to be executed by the event processing server; parsing the query language statement to determine a type of the statement; processing the query language statement based on its type; and invoking a procedure of the event processing server for executing the query language statement by (1) the database connectivity adapter obtaining a reference to a local object instantiated by the event processing server within the same single computer process as the database connectivity adapter and (2) the database connectivity adapter invoking a method of the local object, the invocation of the method of the local object causing execution of the query language statement.
Specification