You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bryan Beaudreault (Jira)" <ji...@apache.org> on 2022/12/02 21:56:00 UTC

[jira] [Created] (HBASE-27515) Deprecate getStats and setStatistics in Result

Bryan Beaudreault created HBASE-27515:
-----------------------------------------

             Summary: Deprecate getStats and setStatistics in Result
                 Key: HBASE-27515
                 URL: https://issues.apache.org/jira/browse/HBASE-27515
             Project: HBase
          Issue Type: Improvement
            Reporter: Bryan Beaudreault


setStatistics is already IA.Private, but it has never been called. It replaced a deprecated addResults method, which was removed in HBASE-14703. 

The getter getStats() now always returns a null value, since nothing in the codebase ever calls setStatistics.

We should deprecate these methods to keep our API clear and concise.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)