浏览代码

HADOOP-2176 Htable.deleteAll documentation is ambiguous

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@593708 13f79535-47bb-0310-9956-ffa450edef68
Michael Stack 18 年之前
父节点
当前提交
7de932c95a
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 1 0
      src/contrib/hbase/CHANGES.txt
  2. 4 5
      src/contrib/hbase/src/java/org/apache/hadoop/hbase/HTable.java

+ 1 - 0
src/contrib/hbase/CHANGES.txt

@@ -38,6 +38,7 @@ Trunk (unreleased changes)
     HADOOP-2088 Make hbase runnable in $HADOOP_HOME/build(/contrib/hbase)
     HADOOP-2126 Use Bob Jenkins' hash for bloom filters
     HADOOP-2157 Make Scanners implement Iterable
+    HADOOP-2176 Htable.deleteAll documentation is ambiguous
 
 Release 0.15.1
 Branch 0.15

+ 4 - 5
src/contrib/hbase/src/java/org/apache/hadoop/hbase/HTable.java

@@ -630,8 +630,7 @@ public class HTable implements HConstants {
   }
   
   /** 
-   * Delete all values for a column
-   * 
+   * Delete all cells that match the passed row and column.
    * @param row Row to update
    * @param column name of column whose value is to be deleted
    * @throws IOException 
@@ -641,8 +640,8 @@ public class HTable implements HConstants {
   }
   
   /** 
-   * Delete all values for a column
-   * 
+   * Delete all cells that match the passed row and column and whose
+   * timestamp is equal-to or older than the passed timestamp.
    * @param row Row to update
    * @param column name of column whose value is to be deleted
    * @param ts Delete all cells of the same timestamp or older.
@@ -978,4 +977,4 @@ public class HTable implements HConstants {
       };
     }
   }
-}
+}