Sql4D -> SQL interface to druid(see http://druid.io/ ), has 3 sub components
- SQL -> Json compiler,
- Terminal based SQL client interface,
- Java JDBC like driver for druid.
https://github.com/srikalyc/Sql4D/wiki
http://druidwithsql.tumblr.com/post/98578718282/a-first-look-at-druid-with-sql
http://druidwithsql.tumblr.com/post/108054375927/simple-insert-deleting-data-drop-table-in-druid
http://druidwithsql.tumblr.com/post/111014674922/accessing-druid-through-java-driver-interface
If you are using Druid 0.6.X then use Sql4D version 3.5.6 from maven central (or) clone the Sql4D, and build against the tag v3.5.6 . If you are using Druid 0.7.X then use Sql4D version 4.0.0 from maven central (or) clone the Sql4D, and build against the master.
NOTE: Sql4D/sql4ddriver/.../PrettyPrint.java contains a code snippet modified from a publication here: http://stackoverflow.com/questions/11383070/pretty-print-2d-array-in-java . The text/code is licensed under Creative Commons-BY-SA 3.0.