Adapting a relational query to accommodate hierarchical data
AssigneeInternational Business Machines Corporation
InventorSuavi A. Demir
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorSuavi A. Demir
Estimating the term…
A method, system and computer program product for processing hierarchical data is provided. A method for processing hierarchical data in a relational database includes receiving an input parameter in an initial query for querying an array in a hierarchical data object stored in a table of a relational database, and transforming the initial query into a transformed query configured to place all elements of the array into a different table and to apply a sub-query against the table for the input parameter. Once transformed, predicate evaluation logic of a relational engine of the relational database is applied to the transformed query that is then mapped to the initial query. Finally, responsive to receiving a subsequent instance of the initial query, the mapping is referred to in order to replace the initial query with the transformed query and to subsequently apply the predicate evaluation logic to the transformed query.
A method for processing hierarchical data in a relational database comprising:
A relational database data processing system comprising:
A computer program product for processing hierarchical data in a relational database, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a device to cause the device to perform a method comprising:
Dependencies are inferred from the claim text.