You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/09/06 18:21:00 UTC

[jira] [Created] (HBASE-18766) Make TableSnapshotScanner Audience Private

stack created HBASE-18766:
-----------------------------

             Summary: Make TableSnapshotScanner Audience Private
                 Key: HBASE-18766
                 URL: https://issues.apache.org/jira/browse/HBASE-18766
             Project: HBase
          Issue Type: Task
            Reporter: stack


From HBASE-10462 API cleanup. TableSnapshotScanner should be Audience Private. It should not be public. See HBASE-10462 for [~enis] rationale. If private, then there needs to be a way to construct it. It is awkward since we normally construct 'Table' by getting one from a Connection. Enis suggests:

bq. Maybe we can do a SnapshotConnection which returns a ConnectionTable, which returns the scanner. Since connection is the factory to everything, I think this approach is the most clean.

Sounds good.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)