GENERATING SQL QUERIES FROM DECLARATIVE QUERIES FOR SEMI-STRUCTURED DATA
First Claim
1. A method for generating database queries from declarative queries having a known syntax comprising:
- receiving, by one or more processors, a declarative query in a known system form;
analyzing, by one or more processors, the declarative query to build a set of generic query tasks with identified data types;
optimizing, by one or more processors, the set of generic query tasks; and
building, by one or more processors, a target database query from the optimized generic query tasks reflecting features of a target database.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for generating database queries from declarative queries having a known syntax. The method includes a query preparation software receiving a declarative query for a relational database management system, in a known system form. The query preparation software then analyzes the declarative query to build a set of generic query tasks with identified data types. The query preparation software then optimizes the set of generic query tasks and builds a target database query from the optimized generic query tasks reflecting features of a target database. The method further includes submitting the target database query to the targeted database and receiving results from the target database query.
-
Citations
20 Claims
-
1. A method for generating database queries from declarative queries having a known syntax comprising:
-
receiving, by one or more processors, a declarative query in a known system form; analyzing, by one or more processors, the declarative query to build a set of generic query tasks with identified data types; optimizing, by one or more processors, the set of generic query tasks; and building, by one or more processors, a target database query from the optimized generic query tasks reflecting features of a target database. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for generating database queries from declarative queries having a known syntax, the computer program product comprising:
-
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising; program instructions to receive a declarative query in a known system form; program instructions to analyze the declarative query to build a set of generic query tasks with identified data types; program instructions to optimize the set of generic query tasks; and program instructions to build a target database query from the optimized generic query tasks reflecting features of a target database. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer system for generating database queries from declarative queries having a known syntax, the computer system comprising:
-
one or more computer processors; one or more computer readable storage media; program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising; program instructions to receive a declarative query in a known system form; program instructions to analyze the declarative query to build a set of generic query tasks with identified data types; program instructions to optimize the set of generic query tasks; and program instructions to build a target database query from the optimized generic query tasks reflecting features of a target database. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification