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:
parent
fb8a45ce30
commit
f3549073a7
|
@ -176,6 +176,8 @@ Trunk (unreleased changes)
|
|||
HBASE-731 delete, deletefc in HBase shell do not work correctly
|
||||
(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
|
||||
HBASE-559 MR example job to count table rows
|
||||
|
|
|
@ -951,6 +951,26 @@ public class HTable {
|
|||
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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue