Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18766

Make TableSnapshotScanner Audience Private

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-3, 2.0.0
    • None
    • Reviewed
    • beginner

    Description

      From HBASE-10462 API cleanup. TableSnapshotScanner should be Audience Private. It should not be public. See HBASE-10462 for Enis Soztutar 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:

      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.

      Attachments

        1. HBASE-18766.v0.patch
          1 kB
          Chia-Ping Tsai

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chia7712 Chia-Ping Tsai
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment