hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18766) Make TableSnapshotScanner Audience Private
Date Wed, 06 Sep 2017 18:21:00 GMT
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)

Mime
View raw message