Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
-
None
-
Reviewed
Description
In the Put API, we have addImmutable()
/** * See {@link #addColumn(byte[], byte[], byte[])}. This version expects * that the underlying arrays won't change. It's intended * for usage internal HBase to and for advanced client applications. */ public Put addImmutable(byte [] family, byte [] qualifier, byte [] value)
But in the implementation, the family, qualifier and value are still being copied locally to create kv.
Hopefully we should provide an API that truly uses immutable family, qualifier and value.
Attachments
Attachments
Issue Links
- depends upon
-
HBASE-17126 Expose KeyValue#checkParameters() and checkForTagsLength() to be used by other Cell implementations
- Resolved
- relates to
-
HBASE-13754 Allow non KeyValue Cell types also to oswrite
- Closed
-
HBASE-17086 Add comments to explain why Cell#getTagsLength() returns an int, rather than a short
- Resolved