Transforming function calls for interaction with hierarchical data structures
AssigneeAdobe Systems Incorporated
InventorsAlexandru Bogdan Serban, Andrei Fierbinteanu
Life of this patent
Estimating the term…
Abstract
Exemplary embodiments involve a processor receiving a function call formatted to interact with a relational database. The function call references an object in the relational database by referencing at least one table of the relational database and at least one column of the at least one table. The processor transforms the function call into a transformed function call formatted for interacting with a hierarchical data structure. The hierarchical data structure comprises a plurality of nodes, wherein each node has a single parent node. The processor applies the transformed function call to one or more nodes of the hierarchical data structure.
Claims20
A method comprising:
- receiving, by a processor, a function call formatted to operate on a relational database;
- transforming, by the processor, the function call into a transformed function call formatted for interacting with a hierarchical data structure, wherein the hierarchical data structure comprises a plurality of nodes, wherein transforming the function call comprises:
- determining that the function call lacks at least one feature required for interacting with the hierarchical data structure, and
- modifying the function call to include the at least one feature;
- and
- applying, by the processor, the transformed function call to at least one node of the hierarchical data structure.
A system comprising:
- a processor configured to execute instructions stored in a non-transitory computer-readable medium;
- wherein the instructions are configured to perform operations comprising:
- receiving a function call formatted to operate on a relational database;
- transforming the function call into a transformed function call formatted for interacting with a hierarchical data structure, wherein the hierarchical data structure comprises a plurality of nodes, wherein transforming the function call comprises:
- determining that the function call lacks at least one feature required for interacting with the hierarchical data structure, and
- modifying the function call to include the at least one feature;
- and
- applying the transformed function call to at least one node of the hierarchical data structure.
A non-transitory computer-readable medium embodying program code executable by a computer system, the non-transitory computer-readable medium:
- program code for receiving a function call formatted to operate on a relational database;
- program code for transforming the function call into a transformed function call formatted for interacting with a hierarchical data structure, wherein the hierarchical data structure comprises a plurality of nodes, wherein transforming the function call comprises:
- determining that the function call lacks at least one feature required for interacting with the hierarchical data structure, and
- modifying the function call to include the at least one feature;
- and
- program code for applying the transformed function call to at least one node of the hierarchical data structure.
Dependencies are inferred from the claim text.