accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Pines <>
Subject Deleting rows from the Java API
Date Wed, 09 May 2012 14:31:46 GMT
*I have a use case that involves me removing a record from Accumulo based
on the Row ID and the Column Family.

In the shell, I noticed the command "deletemany" which allows you to
specify column family/column qualifier. Is there an equivalent of this in
the Java API?

In the Java API, I noticed the method:
deleteRows(String tableName, start, end)
         Delete rows between (start, end]

However that only seems to work for deleting a range of RowIDs

I would also imagine that deleting rows is costly; is there a better way to
approach something like this?
The workaround I have for now is to just overwrite the row with an empty
string in the value field and ignore any entries that have that. However
this just leaves lingering rows for each "delete" and I'd like to avoid
that if at all possible.


View raw message