Patent · US Active

Code generation for queries in a database system

US10620925B2 · kind B2 · utility

1Cited by
9References
12Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 30, 2017
Grant dateApr 14, 2020
Priority date
Expiry dateOct 17, 2037

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/2453
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method for generating code for queries in a database system includes obtaining a user query in a first programming language, the user query comprising at least one query parameter for selecting data from a content database. The method includes obtaining machine code corresponding to a compiled version of the user query. Obtaining the machine code includes generating code in a second programming language corresponding to a compiled version of the user query, generating byte code defining a plurality of functions corresponding to a compiled version of the code in the second programming language, and obtaining the machine code corresponding to the compiled version of the user query based on the byte code. The method further comprises executing the machine code using the at least one query parameter, thereby returning a result satisfying the at least one query parameter. A related non-transitory computer-readable medium and system are also provided.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.