Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
-
Deprecates Put#addImmutable as of release 2.0.0, this will be removed in HBase 3.0.0. Use {@link #add(Cell)} and {@link org.apache.hadoop.hbase.CellBuilder} instead
Description
Users are able to use CellBuilder to build the cell without array copy for Put/Delete/Increment/Append, and we always do the copy if user pass the ByteBuffer. Hence, the addImmutable is unnecessary.