×

Support For User Defined Functions In A Data Stream Management System

  • US 20090106190A1
  • Filed: 10/18/2007
  • Published: 04/23/2009
  • Est. Priority Date: 10/18/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method implemented in a computer of processing a plurality of streams of data, the method comprising:

  • processing the plurality of streams, to execute thereon a plurality of continuous queries based on a global plan;

    during said processing, receiving a command to create a function and identification of a set of instructions to be executed to perform said function;

    during said processing, creating in a memory of said computer, an instance of said set of instructions and a first structure comprising a reference to said instance;

    during said processing, receiving a new continuous query to be executed using said function;

    during said processing, based on said first structure, creating in said memory an operator to invoke the instance, the operator comprising a second structure, the second structure comprising a first field to hold said reference to said instance, and at least one additional field corresponding to at least one argument of said function;

    during said processing, modifying the global plan by adding thereto said operator, thereby to obtain a modified plan;

    altering said processing, to cause execution of the new continuous query in addition to said plurality of continuous queries, based on the modified plan, thereby to perform said function; and

    outputting from said computer, a stream generated based at least partially on processing of said data by executing the new continuous query.

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