Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10856 Prep for 1.0
  3. HBASE-12046

HTD/HCD setters should be builder-style

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.1
    • None
    • None
    • Incompatible change, Reviewed

    Description

      Similar to Scan / Get, etc constructs, HTD and HCD setters and add'ers should return this from the method, so that objects can be constructed in a builder style:

      Foo foo =
        new Foo()
          .setBar()
          .setBaz() 
      

      Attachments

        1. hbase-12046_v1-0.99.patch
          47 kB
          Enis Soztutar
        2. hbase-12046_v1.patch
          47 kB
          Enis Soztutar

        Issue Links

          Activity

            People

              enis Enis Soztutar
              enis Enis Soztutar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: