Embedded storage mechanism for structured data types
First Claim
Patent Images
1. A method of processing a statement in a database stored on a data storage device connected to a computer, the method comprising:
- at compile-time, mapping specific methods for a structured data type to generic methods using parse trees; and
at run-time, generating an in-memory representation of the structured data type using information conveyed in the parse trees; and
converting said in-memory representation to a linear structure.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus, and article of manufacture for a computer-implemented embedded storage mechanism for structured data types. A statement is stored in a database stored on a data storage device connected to a computer. At compile-time, specific methods for a structured data type are mapped to generic methods using parse trees. At run-time, an in-memory representation of the structured data type is generated using information conveyed in the parse trees. Then, linearization of the generated in-memory representation is performed.
41 Citations
18 Claims
-
1. A method of processing a statement in a database stored on a data storage device connected to a computer, the method comprising:
-
at compile-time, mapping specific methods for a structured data type to generic methods using parse trees; and
at run-time, generating an in-memory representation of the structured data type using information conveyed in the parse trees; and
converting said in-memory representation to a linear structure. - View Dependent Claims (2, 3, 4, 5, 6)
receiving data for one of the attributes of the structured data type; and
creating a mutation buffer for storing the received data.
-
-
5. The method of claim 4, further comprising the step of creating a reference from the structured data type structure to the data stored in the mutation buffer.
-
6. The method claim of claim 1, wherein converting the generated in-memory representation to a linear structure further comprises transforming the generated in-memory representation into a linear structure that can be stored in a record buffer.
-
7. An apparatus for executing a statement, comprising:
-
a computer having a data storage device connected thereto, wherein the data storage device stores a database;
one or more computer programs, preformed by the computer, for, at compile-time, mapping specific methods for a structured data type to generic methods using parse trees and at run-time, generating an in-memory representation of the structured data type using information conveyed in the parse trees and converting the generated in-memory representation to a linear structure. - View Dependent Claims (8, 9, 10, 11, 12)
means for receiving data for one of the attributes of the structured data type; and
means for creating a mutation buffer for storing the received data.
-
-
11. The apparatus of claim 10, further comprising the means for creating a reference from the structured data type structure to the data stored in the mutation buffer.
-
12. The apparatus of claim 7, wherein the means for converting the generated in-memory representation to a linear structure further comprises the means for transforming the generated in-memory representation into a linear structure that can be stored in a record buffer.
-
13. An article of manufacture comprising a computer program carrier readable by a computer and embodying one or more instructions executable by the computer for processing a statement in a database stored in a data storage device connected to the computer, the method comprising:
-
at compile-time, mapping specific methods for a structured data type to generic methods using parse trees; and
at run-time, generating an in-memory representation of the structured data type using information conveyed in the parse trees; and
converting the generated in-memory representation to a linear structure. - View Dependent Claims (14, 15, 16, 17, 18)
receiving data for one of the attributes of the structured data type; and
creating a mutation buffer for storing the received data.
-
-
17. The article of manufacture of claim 16, further comprising the step of creating a reference from the structured data type structure to the data stored in the mutation buffer.
-
18. The article of manufacture of claim 16, wherein converting the generated in-memory representation to a linear structure further comprises transforming the generated in-memory representation into a linear structure that can be stored in a record buffer.
Specification