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

HTD/HCD setters should be builder-style

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

            • Assignee:
              enis Enis Soztutar
              Reporter:
              enis Enis Soztutar

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment