hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-13983 Doc how the oddball HTable methods getStartKey, getEndKey, etc. will be removed in 2.0.0
Date Wed, 01 Jul 2015 20:06:23 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 ce5f25c7c -> b21048c41


HBASE-13983 Doc how the oddball HTable methods getStartKey, getEndKey, etc. will be removed
in 2.0.0


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b21048c4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b21048c4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b21048c4

Branch: refs/heads/branch-1.2
Commit: b21048c41bb6d30e555e2aa7d397be616e2fd9e2
Parents: ce5f25c
Author: stack <stack@apache.org>
Authored: Wed Jul 1 13:05:25 2015 -0700
Committer: stack <stack@apache.org>
Committed: Wed Jul 1 13:06:05 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/client/HTable.java  | 23 +++++++++++++++-----
 1 file changed, 17 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b21048c4/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
index ec675b4..16e119f 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
@@ -93,11 +93,19 @@ import com.google.protobuf.ServiceException;
  * In the case of reads, some fields used by a Scan are shared among all threads.
  *
  * <p>HTable is no longer a client API. Use {@link Table} instead. It is marked
- * InterfaceAudience.Private indicating that this is an HBase-internal class as defined in
+ * InterfaceAudience.Private as of hbase-1.0.0 indicating that this is an
+ * HBase-internal class as defined in
  * <a href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/InterfaceClassification.html">Hadoop
- * Interface Classification</a>
- * There are no guarantees for backwards source / binary compatibility and methods or class
can
+ * Interface Classification</a>. There are no guarantees for backwards
+ * source / binary compatibility and methods or the class can
  * change or go away without deprecation.
+ * <p>Near all methods of this * class made it out to the new {@link Table}
+ * Interface or were * instantiations of methods defined in {@link HTableInterface}.
+ * A few did not. Namely, the {@link #getStartEndKeys}, {@link #getEndKeys},
+ * and {@link #getStartKeys} methods. These three methods are available
+ * in {@link RegionLocator} as of 1.0.0 but were NOT marked as
+ * deprecated when we released 1.0.0. In spite of this oversight on our
+ * part, these methods will be removed in 2.0.0.
  *
  * @see Table
  * @see Admin
@@ -600,7 +608,8 @@ public class HTable implements HTableInterface, RegionLocator {
   }
 
   /**
-   * @deprecated Use {@link RegionLocator#getStartEndKeys()} instead;
+   * To be removed in 2.0.0.
+   * @deprecated Since 1.1.0. Use {@link RegionLocator#getStartEndKeys()} instead
    */
   @Override
   @Deprecated
@@ -609,7 +618,8 @@ public class HTable implements HTableInterface, RegionLocator {
   }
 
   /**
-   * @deprecated Use {@link RegionLocator#getEndKeys()} instead;
+   * To be removed in 2.0.0.
+   * @deprecated Since 1.1.0. Use {@link RegionLocator#getEndKeys()} instead;
    */
   @Override
   @Deprecated
@@ -618,7 +628,8 @@ public class HTable implements HTableInterface, RegionLocator {
   }
 
   /**
-   * @deprecated Use {@link RegionLocator#getStartEndKeys()} instead;
+   * To be removed in 2.0.0.
+   * @deprecated Since 1.1.0. Use {@link RegionLocator#getStartEndKeys()} instead;
    */
   @Override
   @Deprecated


Mime
View raw message