phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinmay Kulkarni (JIRA)" <>
Subject [jira] [Created] (PHOENIX-4996) Refactor PTableImpl to use Builder Pattern
Date Fri, 26 Oct 2018 18:02:00 GMT
Chinmay Kulkarni created PHOENIX-4996:

             Summary: Refactor PTableImpl to use Builder Pattern
                 Key: PHOENIX-4996
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Chinmay Kulkarni
            Assignee: Chinmay Kulkarni

Currently _PTableImpl_ has many constructor parameters, overloaded constructors as well as
overloaded versions of _makePTable_ which basically creates a new PTable itself. Because of
this, constructing new PTable instances is becoming very difficult and error-prone. We should
refactor this to use the builder pattern. This will improve usability and readability of the
code at the cost of some amount of code repetition due to limitations of the builder pattern

This message was sent by Atlassian JIRA

View raw message