hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4151) Add a memcmp-compatible interface for key types
Date Wed, 10 Sep 2008 22:00:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629994#action_12629994
] 

Doug Cutting commented on HADOOP-4151:
--------------------------------------

Since it doesn't implement Comparable, perhaps it should instead be called Byteable or somesuch?

> Add a memcmp-compatible interface for key types
> -----------------------------------------------
>
>                 Key: HADOOP-4151
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4151
>             Project: Hadoop Core
>          Issue Type: Improvement
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: 4151-0.patch
>
>
> Sometimes it's beneficial to treat types (like BytesWritable and Text) as byte arrays,
agnostic to their type. Adding an interface to tag key types as amenable to this treatment
can permit optimizations and reuse for that subset of types in tools and libraries.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message