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 2018/03/21 22:13:08 UTC

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

     [ https://issues.apache.org/jira/browse/HBASE-18766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-18766:
--------------------------
    Fix Version/s: 2.0.0

> Make TableSnapshotScanner Audience Private
> ------------------------------------------
>
>                 Key: HBASE-18766
>                 URL: https://issues.apache.org/jira/browse/HBASE-18766
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>              Labels: beginner
>             Fix For: 2.0.0-alpha-3, 2.0.0
>
>         Attachments: HBASE-18766.v0.patch
>
>
> 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
(v7.6.3#76005)