accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Talat Uyarer <ta...@uyarer.com>
Subject Re: Deleting Column Family
Date Thu, 03 Apr 2014 16:47:16 GMT
Thanks Josh,

I will try this. Can i delete column family of one row with this ?
3 Nis 2014 19:37 tarihinde "Josh Elser" <josh.elser@gmail.com> yazd─▒:

> Wrong list, Ted? Looks like an HBase API.
>
> I believe the easiest way to accomplish this is to use the BatchDeleter.
>
> BatchDeleter bd = connector.createBatchDeleter("table", new
> Authorizations("myauths"), 1, new BatchWriterConfig());
> try {
>   bd.setRanges(Collections.singleton(new Range()));
>   bd.fetchColumnFamily(new Text("colfam"));
>   bd.delete();
> } finally {
>   bd.close();
> }
>
> On 4/3/14, 12:28 PM, Ted Yu wrote:
>
>> Take a look at the following method in Delete:
>>
>> public Delete deleteFamily(byte [] family) {
>>
>> Cheers
>>
>>
>>
>> On Thu, Apr 3, 2014 at 9:17 AM, Talat Uyarer <talat@uyarer.com
>> <mailto:talat@uyarer.com>> wrote:
>>
>>     Hi All,
>>
>>     I want to delete a column family and its owned all column quilfier
>>     and values.
>>
>>     Is it possible ?
>>
>>     Thanks
>>     Talat
>>
>>
>>

Mime
View raw message