Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> Using 'bytes' as keys in a 'map' equivalent


Copy link to this message
-
Re: Using 'bytes' as keys in a 'map' equivalent
This would probably be of much benefit to the Cassandra community as
they/we are working on getting their stored data to be keyed by byte
arrays instead of String arrays[1]. Converting back and forth would
less good.

[1] Relevant ticket: https://issues.apache.org/jira/browse/CASSANDRA-767
--
Jeff

On Mon, Apr 5, 2010 at 1:17 PM, Stu Hood <[EMAIL PROTECTED]> wrote:
> Hey gang,
>
> I can understand the reasoning behind AVRO-9, but now I need to look for an alternative to a 'map' that will allow me to store an association of bytes keys to values.
>
> Is there a recommended pattern to store this structure, or is "list of (key,value) tuples" the best option?
>
> Thanks much,
>
> Stu Hood
> @stuhood
> Architecture Software Developer
> Email & Apps Division, Rackspace Hosting
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB