You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by bharath vissapragada <bh...@students.iiit.ac.in> on 2009/06/10 06:24:27 UTC
Using PIG commands in Java
Hi all,
Can we use PIG syntax in java files . I mean , is a JAVA interface available
for PIG ..so that we can perform the processing part more efficiently ..
This is somewhat similar to a JDBC driver for relational databases. Any
reply is appreciated
Thanks
Re: Using PIG commands in Java
Posted by Alan Gates <ga...@yahoo-inc.com>.
These questions should really be asked on pig-user@hadoop.apache.org.
Yes, there is a JDBC like interface, check out the PigServer class (http://hadoop.apache.org/pig/javadoc/docs/api/org/apache/pig/PigServer.html
)
Alan.
On Jun 9, 2009, at 9:24 PM, bharath vissapragada wrote:
> Hi all,
>
> Can we use PIG syntax in java files . I mean , is a JAVA interface
> available
> for PIG ..so that we can perform the processing part more
> efficiently ..
> This is somewhat similar to a JDBC driver for relational databases.
> Any
> reply is appreciated
>
> Thanks