HBASE-736 Should have HTable.deleteAll(String row) and HTable.deleteAll(Text row)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675647 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-07-10 16:56:34 +00:00
parent fb8a45ce30
commit f3549073a7
2 changed files with 22 additions and 0 deletions

View File

@ -176,6 +176,8 @@ Trunk (unreleased changes)
HBASE-731 delete, deletefc in HBase shell do not work correctly HBASE-731 delete, deletefc in HBase shell do not work correctly
(Izaak Rubin via Stack) (Izaak Rubin via Stack)
HBASE-734 scan '.META.', {LIMIT => 10} crashes (Izaak Rubin via Stack) HBASE-734 scan '.META.', {LIMIT => 10} crashes (Izaak Rubin via Stack)
HBASE-736 Should have HTable.deleteAll(String row) and HTable.deleteAll(Text row)
(Jean-Daniel Cryans via Stack)
IMPROVEMENTS IMPROVEMENTS
HBASE-559 MR example job to count table rows HBASE-559 MR example job to count table rows

View File

@ -951,6 +951,26 @@ public class HTable {
deleteAll(row, null); deleteAll(row, null);
} }
/**
* Completely delete the row's cells.
*
* @param row Key of the row you want to completely delete.
* @throws IOException
*/
public void deleteAll(final Text row) throws IOException {
deleteAll(row, null);
}
/**
* Completely delete the row's cells.
*
* @param row Key of the row you want to completely delete.
* @throws IOException
*/
public void deleteAll(final String row) throws IOException {
deleteAll(row, null);
}
/** /**
* Completely delete the row's cells. * Completely delete the row's cells.
* *