commit | 8e3b819b728aa70f71cdebf84f6d27e31c0d5a05 | [log] [tgz] |
---|---|---|
author | Julian Hyde <julianhyde@gmail.com> | Fri May 24 00:37:03 2013 -0700 |
committer | Julian Hyde <julianhyde@gmail.com> | Fri May 24 00:37:03 2013 -0700 |
tree | 4796d796367f0eea9e56bf29f8fab4dab46679f0 | |
parent | 75ce8d199e117dd0fa703652bfa3e3bff9c83f36 [diff] |
Add this project's classes to generated classpath.
Optiq adapter that reads CSV files.
Optiq-csv is a nice simple example of how to connect Optiq to your own data source and quickly get a full SQL/JDBC interface.
You need Java (1.5 or higher; 1.7 preferred) and maven (2 or higher).
$ git clone git://github.com/julianhyde/optiq-csv.git $ cd optiq-csv $ mvn compile
$ ./sqlline sqlline> !connect jdbc:optiq:model=target/test-classes/model.json admin admin sqlline> select * from emp; sqlline> !tables sqlline> !quit
You can also register a CsvSchema as a schema within an Optiq instance. Then you can combine with other data sources.
You can write a “vanity JDBC driver” with a different name.
You can add optimizer rules and new implementations of relational operators to execute queries more efficiently.