You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by HAFIZ MUJADID KHALID <bs...@pucit.edu.pk> on 2015/07/10 08:22:16 UTC

drill java code for adding a new storage plugin

Hi all!

I am new to drill and I want to interact with drill programmatically using
java code.

I want to know how to add a new storage plugin using java code. and is
there any java api documentation or examples to follow?


Thanks

Re: drill java code for adding a new storage plugin

Posted by andrew <an...@primer.org>.
I was able to write a storage plugin by looking at the code for mongo, hive, and hbase in the contrib directory. 

Start by implementing AbstractStoragePlugin and StoragePluginConfigBase.


> On Jul 9, 2015, at 11:22 PM, HAFIZ MUJADID KHALID <bs...@pucit.edu.pk> wrote:
> 
> Hi all!
> 
> I am new to drill and I want to interact with drill programmatically using
> java code.
> 
> I want to know how to add a new storage plugin using java code. and is
> there any java api documentation or examples to follow?
> 
> 
> Thanks


Re: drill java code for adding a new storage plugin

Posted by andrew <an...@primer.org>.
I was able to write a storage plugin by looking at the code for mongo, hive, and hbase in the contrib directory. 

Start by implementing AbstractStoragePlugin and StoragePluginConfigBase.


> On Jul 9, 2015, at 11:22 PM, HAFIZ MUJADID KHALID <bs...@pucit.edu.pk> wrote:
> 
> Hi all!
> 
> I am new to drill and I want to interact with drill programmatically using
> java code.
> 
> I want to know how to add a new storage plugin using java code. and is
> there any java api documentation or examples to follow?
> 
> 
> Thanks


Re: drill java code for adding a new storage plugin

Posted by andrew <an...@primer.org>.
I was able to write a storage plugin by looking at the code for mongo, hive, and hbase in the contrib directory. 

Start by implementing AbstractStoragePlugin and StoragePluginConfigBase.


> On Jul 9, 2015, at 11:22 PM, HAFIZ MUJADID KHALID <bs...@pucit.edu.pk> wrote:
> 
> Hi all!
> 
> I am new to drill and I want to interact with drill programmatically using
> java code.
> 
> I want to know how to add a new storage plugin using java code. and is
> there any java api documentation or examples to follow?
> 
> 
> Thanks