hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhaval Shah <prince_mithi...@yahoo.co.in>
Subject Re: Required a sample Java program to delete a row from Hbase
Date Sat, 22 Sep 2012 15:02:54 GMT
HTable and Delete are the only 2 I remember
 
Regards,
Dhaval


----- Original Message -----
From: Ramasubramanian Narayanan <ramasubramanian.narayanan@gmail.com>
To: user@hbase.apache.org; Dhaval Shah <prince_mithibai@yahoo.co.in>
Cc: 
Sent: Saturday, 22 September 2012 10:47 AM
Subject: Re: Required a sample Java program to delete a row from Hbase

Dhaval,

Thanks!!

What are all the classes that we need to import? My requirement is to use
java script in Pentaho. So I could not write a full Java program there... I
may require to import required classes before using these functions.

regards,
Rams

On Sat, Sep 22, 2012 at 7:48 PM, Dhaval Shah <prince_mithibai@yahoo.co.in>wrote:

>
> Delete d = new Delete(rowKey);
> HTable t = new HTable(tableName);
> t.delete(d);
>
> Regards,
> Dhaval
>
>
> ________________________________
> From: Ramasubramanian Narayanan <ramasubramanian.narayanan@gmail.com>
> To: user@hbase.apache.org
> Sent: Saturday, 22 September 2012 10:15 AM
> Subject: Required a sample Java program to delete a row from Hbase
>
> Hi,
>
> Can someone send a sample Java program to delete a row from Hbase.
>
> Regards,
> Rams
>


Mime
View raw message