[
https://issues.apache.org/jira/browse/HBASE-17126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiang Li updated HBASE-17126:
-----------------------------
Description:
KeyValue has 2 useful but private functions to check input parameters, as
- checkParameters()
- checkForTagsLength()
It would be great if their's access could be not private, so that they can be
used by other Cell or ExtendedCell implementations.
Plan to
(1) Set access of checkParameters() to package private
(2) Move checkForTagsLength() and MAX_TAGS_LENGTH into TagUtil. Set access of
checkForTagsLength() to package private
was:
KeyValue has 2 useful but private functions to check input parameters, as
- checkParameters()
- checkForTagsLength()
It would be great if their's access could be not private, may be
package-private, so that they can be used by other Cell or ExtendedCell
implementations.
> Expose KeyValue#checkParameters() and checkForTagsLength() to be used by
> other Cell implementations
> ---------------------------------------------------------------------------------------------------
>
> Key: HBASE-17126
> URL: https://issues.apache.org/jira/browse/HBASE-17126
> Project: HBase
> Issue Type: Improvement
> Components: Client, regionserver
> Affects Versions: 2.0.0
> Reporter: Xiang Li
> Assignee: Xiang Li
> Priority: Minor
> Fix For: 2.0.0
>
>
> KeyValue has 2 useful but private functions to check input parameters, as
> - checkParameters()
> - checkForTagsLength()
> It would be great if their's access could be not private, so that they can be
> used by other Cell or ExtendedCell implementations.
> Plan to
> (1) Set access of checkParameters() to package private
> (2) Move checkForTagsLength() and MAX_TAGS_LENGTH into TagUtil. Set access of
> checkForTagsLength() to package private
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)