DATA QUERY TRANSLATING INTO MIXED LANGUAGE DATA QUERIES
First Claim
1. A method of issuing a language integrated query embedded in a first language to a query processor configured to parse mixed language queries having components of a query language and components of a second language, the method comprising:
- translating a first portion of the language integrated query into a query language portion;
translating a second portion of the language integrated query into the second language portion;
combining the query language portion and the second language portion to generate a mixed language query; and
sending the mixed language query to the query processor.
2 Assignments
0 Petitions
Accused Products
Abstract
Data source queries may be specified in various languages, such as SQL, XQuery, and object-oriented languages, and each language may have various linguistic features that enable different types of queries. It may be advantageous to formulate mixed language queries having portions specified in a first language and portions specified in a second language, and to provide mixed language query evaluation components that can parse portions of queries of different languages. It may also be advantageous to permit the translation of single language queries into multiple languages to be parsed by such mixed language query evaluation components. Such techniques may permit queries to utilize linguistic features and processing techniques of one language that are less efficient, less direct, or simply unavailable in another language.
-
Citations
20 Claims
-
1. A method of issuing a language integrated query embedded in a first language to a query processor configured to parse mixed language queries having components of a query language and components of a second language, the method comprising:
-
translating a first portion of the language integrated query into a query language portion; translating a second portion of the language integrated query into the second language portion; combining the query language portion and the second language portion to generate a mixed language query; and sending the mixed language query to the query processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system for issuing a language integrated query embedded in a first language to a query processor configured to parse mixed language queries having components of a query language and components of a second language, the system comprising:
-
a query language translating component configured to translate a first portion of the query into a query language portion; a second language translating component configured to translate a second portion of the query into a second language portion; a mixed language query generating component configured to combine the query language portion and the second language portion to generate a mixed language query; and a query sending component configured to send the mixed language query to the query processor. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. A system for issuing a language integrated query embedded in a first language and specifying at least one object in the first language to a query processor configured to parse mixed language queries having components of a query language and components of a second language using a second language runtime configured to process at least partially compiled components of the second language, the system comprising:
-
an expression tree generating component configured to translate the language integrated query into an expression tree; a query language translation component configured to translate a first portion of the expression tree into a query language portion; a second language translation component configured to translate a second portion of the expression tree into a second language portion; a second language compiling component configured to at least partially compile the second language portion into an at least partially compiled second language component; a mixed language query generation component configured to combine the query language portion and the at least partially compiled second language component to generate a mixed language expression tree; an object translating component configured to translate the at least one object into at least one of the query language and the second language; a query sending component configured to send the mixed language expression tree to the query processor; a query result receiving component configured to translate into the first language a query result received from the query processor for the mixed language query; and a local object generating component configured to generate at least one local object comprising at least one element of the query result.
-
Specification