Framework for dynamically generating tuple and page classes
First Claim
Patent Images
1. A method performed by a processing system for processing a data stream comprising events, the method comprising:
- receiving a tuple;
determining a tuple specification defining a layout of the tuple, wherein the layout identifies one or more data types included in the tuple;
determining a tuple class corresponding to the tuple specification based on the layout;
instantiating, based on the particular tuple class, a tuple object that includes an array for at least one of the one or more data types identified in the tuple specification; and
storing the tuple object in a memory;
wherein the tuple object has a structure including a particular object which includes an array for each of the one or more data types identified in the tuple specification.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for reducing the memory used for processing events received in a data stream are provided. This may be achieved by reducing the memory required for storing tuples. A method for processing a data stream includes receiving a tuple and determining a tuple specification that defines a layout of the tuple. The layout identifies one or more data types that are included in the tuple. A tuple class corresponding to the tuple specification may be determined. A tuple object based on the tuple class is instantiated, and during runtime of the processing system. The tuple object is stored in a memory.
-
Citations
15 Claims
-
1. A method performed by a processing system for processing a data stream comprising events, the method comprising:
-
receiving a tuple; determining a tuple specification defining a layout of the tuple, wherein the layout identifies one or more data types included in the tuple; determining a tuple class corresponding to the tuple specification based on the layout; instantiating, based on the particular tuple class, a tuple object that includes an array for at least one of the one or more data types identified in the tuple specification; and storing the tuple object in a memory; wherein the tuple object has a structure including a particular object which includes an array for each of the one or more data types identified in the tuple specification. - View Dependent Claims (2, 3, 4)
-
-
5. A method performed by a processing system for processing a data stream comprising events, the method comprising:
-
receiving a tuple; determining a tuple specification defining a layout of the tuple, wherein the layout identifies one or more data types included in the tuple; dynamically, during runtime of the processing system, determining a page class corresponding to the tuple specification; instantiating a page object based on the page class; and storing a dynamic page based on the page object in a memory; wherein the page object has a structure including an array for each of the one or more data types identified in the tuple specification. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium storing a computer program product for processing a data stream comprising events, the computer program product comprising:
-
computer code for receiving a tuple; computer code for determining a tuple specification defining a layout of the tuple, wherein the layout identifies one or more data types included in the tuple; computer code for determining a tuple class corresponding to the tuple specification based on the layout; computer code for instantiating, based on the particular tuple class, a tuple object that includes an array for a particular data type identified in the tuple specification; and computer code for storing the tuple object in a memory; wherein the tuple object has a structure including a particular object which includes an array for each of one or more data types identified in the tuple specification. - View Dependent Claims (10, 11, 12)
-
-
13. A system for processing a data stream comprising events, the system including a processor and a memory device including instructions that, when executed by the processor, cause the processor to:
-
receive a tuple; determine a tuple specification defining a layout that identifies a data type included in the tuple; determine a tuple class corresponding to the tuple specification; instantiate an array-including tuple object based on the tuple class; and store the tuple object in a memory; wherein the tuple object has a structure including a particular object which includes an array for each of one or more data types identified in the tuple specification. - View Dependent Claims (14, 15)
-
Specification