You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Luke Brassard (JIRA)" <ji...@apache.org> on 2012/10/03 17:50:07 UTC

[jira] [Updated] (ACCUMULO-498) Key.getColumnVisibility() should return a ColumnVisibility, not a Text

     [ https://issues.apache.org/jira/browse/ACCUMULO-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luke Brassard updated ACCUMULO-498:
-----------------------------------

    Attachment: ACCUMULO-498.patch

Added a method named getColumnVisibilityParsed() which returns a ColumnVisibility object that is stored in the Key. 

Included a trivial test to check that both methods return the same data.
                
> Key.getColumnVisibility() should return a ColumnVisibility, not a Text
> ----------------------------------------------------------------------
>
>                 Key: ACCUMULO-498
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-498
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.4.0, 1.3.5
>            Reporter: John Vines
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 1.5.0
>
>         Attachments: ACCUMULO-498.patch
>
>
> Currently getColumnVisibility() returns a Text. This doesn't make a lot of sense, since all other methods dealing with column visibilities use the ColumnVisibility object. We should use that instead.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira