Ahead-of-time query compilation for json-relational duality views
AssigneeOracle International Corporation
InventorsAaron Tacke, Alexander Ulrich, Aleksei Kashuba
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsAaron Tacke, Alexander Ulrich, Aleksei Kashuba
Estimating the term…
Source code is compiled into executable code for execution within a database session. The source code defines a class having class attributes and defines a class attribute mapping between the class attributes and JSON fields of a JSON duality view. A JSON duality view definition stored in a database dictionary of a DBMS maps the JSON fields to columns of tables. Object construction information indicates how to construct a JSON object belonging to the JSON duality view. Implementation code for instantiating the class is generated based on the object construction information. The implementation code invokes an API of the DBMS for each base table of the base tables to retrieve a respective subset of field values of the JSON fields from one or more base columns of each base table. The implementation code also populates the class attributes with the retrieved respective subsets of field values.
A method, comprising:
One or more non-transitory storage media storing one or more sequences of instructions which, when executed by one or more computing devices, cause:
Dependencies are inferred from the claim text.