accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3168) WholeRowIterator.decode could return NavigableMap instead of SortedMap
Date Thu, 25 Sep 2014 16:34:34 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147937#comment-14147937
] 

Josh Elser commented on ACCUMULO-3168:
--------------------------------------

bq. Or just TreeMap

+1 Actutally advertise the implementation we return and let people downcast it to whatever
variant of (Magellan) Map they so choose.

> WholeRowIterator.decode could return NavigableMap instead of SortedMap
> ----------------------------------------------------------------------
>
>                 Key: ACCUMULO-3168
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3168
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>            Reporter: Mike Drob
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.7.0
>
>
> {{WRI.decode()}} returns a TreeMap declared as a SortedMap. We could give users access
to useful methods on NavigableMap without limiting which implementation we can use out of
the Java collections packages, if we decide to swap it out at a later date.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message