HBASE-22148 Provide a LimitedPrivate(COPROC) API for setting Cell timestamp without copying.

Signed-off-by: Josh Elser <elserj@apache.org>
(cherry picked from commit 16f18d5c2d)
This commit is contained in:
Sean Busbey 2019-05-14 22:09:42 -05:00
parent c51ec42a44
commit 5eb0a2e64a
1 changed files with 2 additions and 2 deletions

View File

@ -1181,7 +1181,7 @@ public final class CellUtil {
* @param cell * @param cell
* @param ts * @param ts
* @throws IOException when the passed cell is not of type {@link ExtendedCell} * @throws IOException when the passed cell is not of type {@link ExtendedCell}
* @deprecated As of HBase-2.0. Will be removed in HBase-3.0 * @deprecated As of HBase-2.0. Will be a LimitedPrivate API in HBase-3.0.
*/ */
@Deprecated @Deprecated
public static void setTimestamp(Cell cell, long ts) throws IOException { public static void setTimestamp(Cell cell, long ts) throws IOException {
@ -1194,7 +1194,7 @@ public final class CellUtil {
* @param ts buffer containing the timestamp value * @param ts buffer containing the timestamp value
* @param tsOffset offset to the new timestamp * @param tsOffset offset to the new timestamp
* @throws IOException when the passed cell is not of type {@link ExtendedCell} * @throws IOException when the passed cell is not of type {@link ExtendedCell}
* @deprecated As of HBase-2.0. Will be removed in HBase-3.0 * @deprecated As of HBase-2.0. Will be a LimitedPrivate API in HBase-3.0.
*/ */
@Deprecated @Deprecated
public static void setTimestamp(Cell cell, byte[] ts, int tsOffset) throws IOException { public static void setTimestamp(Cell cell, byte[] ts, int tsOffset) throws IOException {