hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7979) Adding some utility methods in org.apache.hadoop.hbase.util.Bytes
Date Sun, 03 Mar 2013 14:23:13 GMT

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

Anoop Sam John commented on HBASE-7979:
---------------------------------------

Thanks Andrew..  I have just added that also and about to put new patch and then seen your
update :)
BTW zero() we can use Arrays.fill(byte[] b, int fromIndex, int toIndex, byte val) may be.

                
> Adding some utility methods in org.apache.hadoop.hbase.util.Bytes
> -----------------------------------------------------------------
>
>                 Key: HBASE-7979
>                 URL: https://issues.apache.org/jira/browse/HBASE-7979
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 0.95.0, 0.98.0
>
>         Attachments: HBASE-7979_Trunk.patch, HBASE-7979_Trunk.patch
>
>
> We can add some more utility methods in Bytes. Have seen some in Guava's Bytes class.
What I am thinking is adding
> contains(byte[],byte[])
> indexOf(byte[], byte[])
> This came under the discussion in HBASE-7928

--
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

Mime
View raw message