Systems and methods for transforming query results into hierarchical information
First Claim
1. A method for generating a hierarchical data stream, comprising:
- receiving a query including at least one valid database statement used to retrieve at least one rowset from a database;
processing the query to retrieve said at least one rowset from the database; and
transforming a rowset of said at least one rowset into a datatype instance of the hierarchical language of said hierarchical data stream by mapping each row element of the rowset into an element of the hierarchical data stream.
2 Assignments
0 Petitions
Accused Products
Abstract
A computerized system and method for transforming (formatting or aggregating) the results of a query into a hierarchical information stream, such as an extensible Markup Language (XML) data stream is disclosed. A database server receives a query and generates a rowset. A rowset processor, using the mode specified in the query, processes the rowset and query to generate the XML data stream. For the “auto1” mode, the rowset processor transforms a rowset into an XML data stream using primary-foreign key information specified in the query to determine nesting. For the “auto2” mode, the rowset processor transforms a rowset into an XML data stream using table ordering information included in the query to determine nesting. For the “explicit” mode, the rowset processor transforms a rowset into an XML data stream using the explicit organizational information specified in the query. In one embodiment, it is easier for a developer to compose expressions to generate nested hierarchical structures than previous formulations and simpler semantics are provided without implicit hierarchy inference. The syntax of an embodiment of the hierarchical formatting function includes optional arguments including a name option, a root option, map option, namespace options and a null option.
109 Citations
45 Claims
-
1. A method for generating a hierarchical data stream, comprising:
-
receiving a query including at least one valid database statement used to retrieve at least one rowset from a database;
processing the query to retrieve said at least one rowset from the database; and
transforming a rowset of said at least one rowset into a datatype instance of the hierarchical language of said hierarchical data stream by mapping each row element of the rowset into an element of the hierarchical data stream. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. At least one application programming interface comprising computer executable modules having computing executable instructions, the modules including:
-
a transmission module for transmitting a query request, the query request including at least one valid database statement used to retrieve at least one rowset from a database; and
a hierarchical data stream reception module for receiving a hierarchical data stream generated in response to the query request via transformation of at least one rowset retrieved pursuant to said query request into a datatype instance of the hierarchical language of the hierarchical data stream by mapping each row element of the rowset into an element of the hierarchical data stream. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
-
-
30. A server for managing and accessing database information, including:
-
a first object that receives a query request;
a second object that retrieves at least one rowset from a database based on at least one valid database statement in the query request; and
a third object that generates a hierarchical data stream by transforming a rowset of said at least one rowset into a datatype instance of the hierarchical language of the hierarchical data stream by mapping each row element of the rowset into an element of the hierarchical data stream. - View Dependent Claims (31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41)
-
-
42. A computing device in a computing system for generating a hierarchical data stream, comprising:
-
means for receiving a query including at least one valid database statement used to retrieve at least one rowset from a database;
means for processing the query to retrieve said at least one rowset from the database; and
means for transforming a rowset of said at least one rowset into a datatype instance of the hierarchical language of said hierarchical data stream by mapping each row element of the rowset into an element of the hierarchical data stream. - View Dependent Claims (43)
-
-
44. A computing device in a computing system for generating a hierarchical data stream, comprising:
-
means for transmitting a query request, the query request including at least one valid database statement used to retrieve at least one rowset from a database; and
means for receiving a hierarchical data stream generated in response to the query request via transformation of at least one rowset retrieved pursuant to said query request into a datatype instance of the hierarchical language of the hierarchical data stream by mapping each row element of the rowset into an element of the hierarchical data stream. - View Dependent Claims (45)
-
Specification