Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Java methods from within a Hive query


Copy link to this message
-
Re: Java methods from within a Hive query
Hi,

Would reflection be the answer for your question?
http://hive.apache.org/docs/r0.9.0/udf/reflect.html

This is a UDF but a very flexible one.

Regards

Bertrand

On Tue, Sep 4, 2012 at 4:38 PM, Tamil A <[EMAIL PROTECTED]> wrote:

> Hi Experts,
> I am familiar with calling out to python from hive.Now looking for Java
> methods from within a Hive query.Is UDF the only option to achieve it.if
> any other option is available then please guide me with links or examples.
>
>
> Thanks & Regards,
> Tamil
>
>

--
Bertrand Dechoux
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB