[ https://issues.apache.org/jira/browse/ACCUMULO-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14523506#comment-14523506 ]
Christopher Tubbs commented on ACCUMULO-2589: --------------------------------------------- I like the expressiveness of {{Amount}}, but I'm concerned about adding another dependency. Twitter commons is also not available in maven central (they have their own maven repo), and I'm not confident about their API stability. I think we could adopt a similar strategy for dealing with units/unit conversion, though, without adding that dependency. After all, it's just a {{Pair<? extends Number, ? extend Unit>}} type. > Create new client API > --------------------- > > Key: ACCUMULO-2589 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2589 > Project: Accumulo > Issue Type: New Feature > Components: client > Reporter: Christopher Tubbs > Assignee: Christopher Tubbs > Priority: Blocker > Fix For: 2.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > There are many issues with the current client API, and we've had a lot of > lessons learned that could be incorporated into a new one. > Some of the issues this would address: > * questions like "What is considered 'Public API'?" > * automated testing for incompatible API changes > * provide better support for alternative implementations of pluggable features > * distinguish between compile-time dependencies and runtime dependencies > * consistent exception handling > * consistent/symmetric getters/setters > * well-defined resource lifecycles > * better resource management > * simpler entry point to communicate with Accumulo > * better support for client-side configuration management > * logical layout of first class Accumulo objects in the API (Table, User, > Scan, Connection) > Some of these goal may evolve during the development of this feature, and > many previously identified issues can be moved to sub-tasks of this one. This > ticket is intended to cover the overall feature, but the details will be > handled in sub-tasks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)