Query transformation
First Claim
Patent Images
1. A structured query language (SQL) tagging system, implemented in a data processing device associated with a database system, for tagging SQL components of a SQL query string, the system comprising:
- a parsing unit, of the data processing device, parsing the SQL query string into the SQL components of the SQL query string;
an analysis unit, of the data processing device, analyzing the parsed SQL components of the SQL query string and determining tags to be associated with the SQL components of the parsed SQL query string, the analysis unit further applying the determined tags to the associated SQL components of the parsed SQL query string; and
a string generation unit, of the data processing device, for concatenating the SQL components of the parsed SQL query string with the associated tags to generate the tagged SQL query string comprising the components of the SQL query string and the applied tags, wherein the tags are extensible markup language (XML) tags selected from a predefined group of XML tags describing components of SQL queries.
6 Assignments
0 Petitions
Accused Products
Abstract
A mechanism for structured query language tagging is provided. The mechanism comprises a parsing unit for parsing a structured query language string into components, an analysis unit for analyzing the components and applying associated tags to the components, and a string generation unit for concatenating the components with associated tags into a new string.
-
Citations
20 Claims
-
1. A structured query language (SQL) tagging system, implemented in a data processing device associated with a database system, for tagging SQL components of a SQL query string, the system comprising:
-
a parsing unit, of the data processing device, parsing the SQL query string into the SQL components of the SQL query string; an analysis unit, of the data processing device, analyzing the parsed SQL components of the SQL query string and determining tags to be associated with the SQL components of the parsed SQL query string, the analysis unit further applying the determined tags to the associated SQL components of the parsed SQL query string; and a string generation unit, of the data processing device, for concatenating the SQL components of the parsed SQL query string with the associated tags to generate the tagged SQL query string comprising the components of the SQL query string and the applied tags, wherein the tags are extensible markup language (XML) tags selected from a predefined group of XML tags describing components of SQL queries. - View Dependent Claims (2, 9, 13, 14, 15)
-
-
3. A method, in a data processing device, of tagging structured query language (SQL) components of a SQL statement, the method comprising:
-
parsing, by the data processing device, an incoming SQL statement into SQL components and producing an input tree representation of the parsed SQL statement; traversing, by the data processing device, the input tree representation and determining a tag associated with the SQL components in the input tree representation; and generating, by the data processing device, a tagged SQL query string comprising the SQL statement with embedded tags associated with the SQL components of the SQL statement, wherein the embedded tags are extensible markup language (XML) tags selected from a predefined group of XML tags describing components of SQL queries.
-
-
4. A method, in a data processing device, of tagging structured query language (SQL) components of a SQL query string, the method comprising:
-
parsing, by the data processing device, the SQL query string into the SQL components of the SQL query string; analyzing, by the data processing device, the parsed SQL components of the SQL query string and determining tags associated with the SQL components of the parsed SQL query string; applying, by the data processing device, the determined tags to the associated SQL components of the parsed SQL query string; and concatenating, by the data processing device, the SQL components of the parsed SQL query string with the associated tags to generate the tagged SQL query string comprising the components of the SQL query string and the applied tags, wherein the tags are extensible markup language (XML) tags selected from a predefined group of XML tags describing components of SQL queries. - View Dependent Claims (5, 6, 7, 8, 10, 16, 17)
-
-
11. A computer-readable storage medium having computer readable code embodied therein for execution in a computer to perform a method comprising:
-
parsing a SQL query string into the SQL components of the SQL query string; analyzing the parsed SQL components of the SQL query string and determining tags associated with the SQL components of the parsed SQL query string; applying the determined tags to the associated SQL components of the parsed SQL query string; and concatenating the SQL components of the parsed SQL query string with the associated tags to generate the tagged SQL query string comprising the components of the SQL query string and the applied tags, wherein the tags are extensible markup language (XML) tags selected from a predefined group of XML tags describing components of SQL queries. - View Dependent Claims (18, 19)
-
-
12. A computer program product on a computer-readable storage medium for execution in a data processing device to implement:
-
a parsing unit, of the data processing device, that parses the SQL query string into the SQL components of the SQL query string; an analysis unit, of the data processing device, that analyzes the parsed SQL components of the SQL query string and determines tags to be associated with the SQL components of the parsed SQL query string, the analysis unit further applying the determined tags to the associated SQL components of the parsed SQL query string; and a string generation unit, of the data processing device, that concatenates the SQL components of the parsed SQL query string with the associated tags to generate the tagged SQL query string comprising the components of the SQL query string and the applied tags, wherein the tags are extensible markup language (XML) tags selected from a predefined group of XML tags describing components of SQL queries. - View Dependent Claims (20)
-
Specification