You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2014/04/28 22:18:14 UTC

[jira] [Commented] (ACCUMULO-2445) API should use collection-of-bytes representation instead of Text

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

Sean Busbey commented on ACCUMULO-2445:
---------------------------------------

Strong preference given for ByteBuffer

> API should use collection-of-bytes representation instead of Text
> -----------------------------------------------------------------
>
>                 Key: ACCUMULO-2445
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2445
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: client
>    Affects Versions: 1.5.1, 1.6.0
>            Reporter: Sean Busbey
>             Fix For: 1.7.0
>
>
> Right now we use Text as a container for bytes rather than as a UTF8 representation of a string. This results in some gymnastics when people wish to use byte sequences that are not valid UTF8 (see ACCUMULO-2437).
> We should use some representation of plain bytes (ideally byte[] or ByteBuffer) and deprecate the use of Text so we can remove it later.



--
This message was sent by Atlassian JIRA
(v6.2#6252)