×

SUPPORT FOR A PARAMETERIZED QUERY/VIEW IN COMPLEX EVENT PROCESSING

  • US 20140136514A1
  • Filed: 11/12/2013
  • Published: 05/15/2014
  • Est. Priority Date: 09/17/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method of providing parameterized queries in complex event processing (CEP) environment, the method comprising:

  • providing a query template which includes one or more bind variables, wherein the one or more bind variables are typeless within the CEP environment;

    providing sets of parameters corresponding to the one or more bind variables;

    parsing the query template to determine positions of the one or more bind variables;

    scanning the provided sets of parameters to determine which of the sets of parameters are to be bound to the one or more bind variables;

    binding the one or more bind variables which are determined to be bound to the corresponding sets of parameters;

    inserting arbitrary predicates into the query template, based on the one or more bind variables being typeless;

    substituting the bound one or more bind variables with the corresponding sets of parameters;

    based on the sets of parameters, generating a single parameterized query which is a template that provides possible values for the bound one of more bind variables;

    determining a placeholder occurring in the single parameterized query for processing an event stream;

    based on the single parameterized query, generating multiple customized queries and views which differ by at least only one variable, wherein the multiple customized queries and views are maintained by substituting the placeholder at runtime of with parameters from the sets of parameters.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×