You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/04/24 01:15:21 UTC
[jira] Reopened: (HBASE-522) Where new Text(string) might be used
in client side method calls, add an overload that takes strings
[ https://issues.apache.org/jira/browse/HBASE-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury reopened HBASE-522:
---------------------------------
Jim, this isn't about keys. This is about uses in things like the HTable constructor, where byte[] will NOT replace Text.
> Where new Text(string) might be used in client side method calls, add an overload that takes strings
> ----------------------------------------------------------------------------------------------------
>
> Key: HBASE-522
> URL: https://issues.apache.org/jira/browse/HBASE-522
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Reporter: Bryan Duxbury
> Priority: Trivial
> Fix For: 0.2.0
>
>
> There are a lot of places in our client side API where people probably don't care that Text is used in the underlying wire protocol. For instance, new HTable(HBaseConfig, Text) adds a little bit of extra hassle and code.
> Where it makes sense, we should make an overload for constructors and client methods that can take a String and just convert it into a Text behind the scenes. This would beautify some of our code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.