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 Plain View
HBase >> mail # user >> Column qualifiers with hierarchy and filters


+
Nasron Cheong 2013-11-01, 01:19
Copy link to this message
-
Re: Column qualifiers with hierarchy and filters
Can you give an example of your query?

On Friday, November 1, 2013, Nasron Cheong wrote:

> Hi,
>
> I'm trying to determine the best way to serialize a sequence of
> integers/strings that represent a hierarchy for a column qualifier, which
> would be compatible with the ColumnPrefixFilters, and BinaryComparators.
>
> However, due to the lexicographical sorting, it's awkward to serialize the
> sequence of values needed to get it to work.
>
> What are the typical solutions to this? Do people just zero pad integers to
> make sure they sort correctly? Or do I have to implement my own
> QualifierFilter - which seems expensive since I'd be deserializing every
> byte array just to compare.
>
> Thanks
>
> - Nasron
>
+
Nasron Cheong 2013-11-04, 21:48
+
Jean-Marc Spaggiari 2013-11-05, 17:28
+
Nasron Cheong 2013-11-05, 21:58
+
Premal Shah 2013-11-06, 01:28
+
Nasron Cheong 2013-11-06, 14:48
+
Jean-Marc Spaggiari 2013-11-07, 13:39
+
Nasron Cheong 2013-11-07, 17:47
+
Ted Yu 2013-11-07, 17:49
+
Asaf Mesika 2013-11-10, 21:04
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