Providing XML node identity based operations in a value based SQL system
First Claim
1. A method for generating a representation of an XML value type, comprising the steps of:
- for each XML value of a plurality of XML values, generating a serialized image;
wherein each XML value includes at least one node, each node of said at least one node having a node value; and
within each serialized image generated for each XML value of said plurality of XML values, storing a node identifier that uniquely identifies said at least one node relative to any other node in the plurality of XML values.
1 Assignment
0 Petitions
Accused Products
Abstract
Object-relational database systems process XML values in a way that preserves node identities of nodes in the XML values and perform node-id based operations more efficiently or even in circumstances where such operations were not performed. An object-relational database system represents an XML value as a serialized stream of bytes, herein referred to as a serialized image. A serialized image may represent an XML value of the XMLType that is stored and/or generated by an object-relational database system. The serialized image contains one or more node identifiers that identify nodes within the XML value. The serialized image may also contain a pointer to an in-memory representation of the XML value, allowing the in-memory representation to be accessed via the pointer without having re-create the in-memory representation.
-
Citations
19 Claims
-
1. A method for generating a representation of an XML value type, comprising the steps of:
-
for each XML value of a plurality of XML values, generating a serialized image;
wherein each XML value includes at least one node, each node of said at least one node having a node value; and
within each serialized image generated for each XML value of said plurality of XML values, storing a node identifier that uniquely identifies said at least one node relative to any other node in the plurality of XML values. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-implemented method, the method comprising the steps of:
-
a database system receiving a database query that includes a first expression and a second expression that returns one or more XML values;
wherein an evaluation of the second expression requires access to an in-memory structure representing an XML value;
during an evaluation of the first expression, generating the in-memory representation representing the XML value and a pointer to the in-memory representation; and
during an evaluation of the second expression, accessing the in-memory representation using the pointer. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A computer-implemented method, the method comprising the steps of:
-
generating an in-memory representation of an XML value in the memory of a computer;
generating a first serialized image of the XML value that contains a first pointer to the in-memory representation; and
generating a second serialized image of the XML value that contains a second pointer to the in-memory representation of the XML value. - View Dependent Claims (17, 18, 19)
-
Specification