Hi Nishith,

Take a look at the DrillClient.java and .cpp/.hpp classes of the project for 
the  Java and C++ libraries respectively.

Norris

-----Original Message-----
From: Nishith Maheshwari [mailto:[email protected]] 
Sent: Wednesday, May 27, 2015 1:45 AM
To: [email protected]
Subject: Re: JAVA API for Drill

Thank you Martin and Rajkumar for your prompt responses.

I am actually looking if some API is available which provides this 
functionality. In the documentation it is mentioned in :
https://drill.apache.org/docs/architecture-introduction -

*You can connect to Apache Drill through the following interfaces:*

   - *Drill shell*
   - *Drill Web UI*
   - *ODBC
   
<https://drill.apache.org/docs/odbc-jdbc-interfaces#using-odbc-to-access-apache-drill-from-bi-tools>**
   - *JDBC <https://drill.apache.org/docs/using-jdbc/>*
   - *C++ API*


and in http://drill.apache.org/faq/ -
*What clients are supported?*

   - *BI tools via the ODBC and JDBC drivers (eg, Tableau, Excel,
   MicroStrategy, Spotfire, QlikView, Business Objects)*
   - *Custom applications via the REST API*
   - *Java and C applications via the dedicated Java and C libraries*


It would be great if you/somebody can point me to the C++ api or the dedicated 
JAVA library or API as mentioned in the documentation.

Thanks and regards,
Nishith Maheshwari



On Wed, May 27, 2015 at 12:44 PM, Rajkumar Singh <[email protected]>
wrote:

> Do you try drill-jdbc driver? I will suggest you to use java jdbc 
> connectivity to query drill using the drill-jdbc driver.I have not 
> tried this to query HBASE using drill but it should work if you have 
> correctly configured the HBase Storage plugin with the DRILL.
>
> Thanks
>
> Rajkumar Singh
>
>
>
> > On May 27, 2015, at 12:09 PM, Nishith Maheshwari <[email protected]>
> wrote:
> >
> > Hi,
> > I wanted to create a java application to connect and query over a 
> > HBase database using Drill, but was unable to find any documentation 
> > regarding this.
> > Is there a JAVA api through which Drill can be accessed? I did see a
> small
> > mention of C++ and JAVA api in the documentation but there was no 
> > other link or information regarding the same.
> >
> > Regards,
> > Nishith Maheshwari
>
>

Reply via email to