Small-footprint applicative query interpreter method, system and program product
First Claim
1. A method of managing a relational database on a pervasive computing device comprising:
- a. receiving queries on a pervasive computing device in SQL, the queries comprising a plurality of query terms;
b. interpreting the queries on a pervasive computing device by associating at least one declarative language function with the query terms by converting the SQL to an intermediate tree representation corresponding to the declarative language function wherein the declarative language function is implemented in a declarative language that is chosen from the group consisting of ML, LISP, and HASKELL;
c. converting the queries represented by at least one declarative language function to a plurality of JAVA statements on a pervasive computing device; and
d. executing the JAVA statements.
1 Assignment
0 Petitions
Accused Products
Abstract
A method system, and program product for managing a relational database in a pervasive computing environment. The system receives queries in a query language, and represents the queries in accordance with a declarative language paradigm, this may be explicit or implicit. The queries represented in a declarative language paradigm are converted (e.g., represented, translated, or cross-compiled) to an imperative language (including a data structure that is interpreted by an imperative language); and the imperative language queries are executed on the database. The queries may be explicitly converted to an intermediate declarative representative, and thereafter converted to an imperative language representation of the original queries for execution. Alternatively, the queries may be directly converted to an imperative language representation of the declarative language and the imperative language queries executed on the database.
-
Citations
6 Claims
-
1. A method of managing a relational database on a pervasive computing device comprising:
-
a. receiving queries on a pervasive computing device in SQL, the queries comprising a plurality of query terms; b. interpreting the queries on a pervasive computing device by associating at least one declarative language function with the query terms by converting the SQL to an intermediate tree representation corresponding to the declarative language function wherein the declarative language function is implemented in a declarative language that is chosen from the group consisting of ML, LISP, and HASKELL; c. converting the queries represented by at least one declarative language function to a plurality of JAVA statements on a pervasive computing device; and d. executing the JAVA statements. - View Dependent Claims (2)
-
-
3. A database management system adapted to process queries in a pervasive computing environment, said pervasive computing environment comprising at least one client adapted to interact with a server over connection services, said at least one client controlled and configured to
a. receive the queries on a pervasive computing device in SQL, the queries comprising a plurality of query terms; -
b. interpret the queries on a pervasive computing device by associating at least one declarative language function with the query terms wherein the declarative language function is implemented in a declarative language that is chosen from the group consisting of ML, LISP, and HASKELL; c. convert the queries represented by the at least one declarative language function to a plurality of Java language statements on a pervasive computing device; and d. execute the Java language statements. - View Dependent Claims (4)
-
-
5. A program product comprising computer readable program code on one or more media, said program code being capable of controlling and configuring a computer system having one or more computers to perform the process of
a. receiving queries on a pervasive computing device in SQL, the queries comprising a plurality of query terms; -
b. interpreting the queries on a pervasive computing device by associating at least one declarative language function with the query terms wherein the declarative language function is implemented in a declarative language that is chosen from the group consisting of ML, LISP, and HASKELL; c. converting the queries represented by the at least one declarative language function to a plurality of Java language statements on a pervasive computing device; and d. executing the Java language statements. - View Dependent Claims (6)
-
Specification