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

Make TableSnapshotScanner Audience Private

    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 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

            People

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

              Dates

                Created:
                Updated:
                Resolved: