Check out this link

https://cwiki.apache.org/Hive/hiveclient.html

Regards
Shashwat Shriparv

On Thu, Apr 19, 2012 at 10:18 AM, Bhavesh Shah <bhavesh25s...@gmail.com>wrote:

> Hello Andes,
> I don't know about the HBASE,
>
> And about your ResultSet :
> You can traverse your resultset like as usually like:
>
> ResultSet rs = stmt.executeQuery("select split(value,',') from table1");
> while(rs.next())
> {
>      String Field1=rs.getString() or rs.getInt();
>      and do some operation you want after fetching this value in variables
> }
>
>
> On Thu, Apr 19, 2012 at 7:25 AM, ylyy-1985 <ylyy-1...@163.com> wrote:
>
>> **
>> **
>> I have managed to get the hbase table throught hive using:
>>
>> ResultSet rs = stmt.executeQuery("select split(value,',') from table1");
>>
>> but how is the result set look like? and if I want to put this result set
>> back to hive table,how to mangage this using java code?
>>
>> thanks in advanced!
>>
>> 2012-04-19
>> ------------------------------
>>  **
>> Best Regards
>> Andes
>>
>> **
>> **
>>
>
>
>
> --
> Regards,
> Bhavesh Shah
>
>


-- 


∞
Shashwat Shriparv

Reply via email to