This is an automated email from the ASF dual-hosted git repository.

busbey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ddf893  HBASE-22148 Provide a LimitedPrivate(COPROC) API for setting 
Cell timestamp without copying.
6ddf893 is described below

commit 6ddf893a34039338ce6387728c416d05ae4a7c00
Author: Sean Busbey <[email protected]>
AuthorDate: Tue May 14 19:56:17 2019 -0500

    HBASE-22148 Provide a LimitedPrivate(COPROC) API for setting Cell timestamp 
without copying.
    
    Signed-off-by: Josh Elser <[email protected]>
---
 .../src/main/java/org/apache/hadoop/hbase/CellUtil.java        | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
index b5d2f47..b838eed 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
@@ -1116,25 +1116,27 @@ public final class CellUtil {
 
   /**
    * Sets the given timestamp to the cell.
+   *
+   * Note that this method is a LimitedPrivate API and may change between 
minor releases.
    * @param cell
    * @param ts
    * @throws IOException when the passed cell is not of type {@link 
ExtendedCell}
-   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0.
    */
-  @Deprecated
+  @InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC)
   public static void setTimestamp(Cell cell, long ts) throws IOException {
     PrivateCellUtil.setTimestamp(cell, ts);
   }
 
   /**
    * Sets the given timestamp to the cell.
+   *
+   * Note that this method is a LimitedPrivate API and may change between 
minor releases.
    * @param cell
    * @param ts buffer containing the timestamp value
    * @param tsOffset offset to the new timestamp
    * @throws IOException when the passed cell is not of type {@link 
ExtendedCell}
-   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0.
    */
-  @Deprecated
+  @InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC)
   public static void setTimestamp(Cell cell, byte[] ts, int tsOffset) throws 
IOException {
     PrivateCellUtil.setTimestamp(cell, Bytes.toLong(ts, tsOffset));
   }

Reply via email to