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
HBase >> mail # user >> help with filter combination


Copy link to this message
-
Re: help with filter combination
Consider SingleColumnValueFilter

You can refer
to src/test/java/org/apache/hadoop/hbase/filter/TestSingleColumnValueFilter.java

BTW why is deptId stored in the pt:employeeId column ?

Cheers

On Fri, Jul 5, 2013 at 4:43 PM, Rohit Kelkar <[EMAIL PROTECTED]> wrote:

> Each row in my hbase table contains the following data:
>
> rowkey   column=pt:np, value="abcd"
>              column=pt:vb, value="efgh"
>              column=pt:employeeId, value=deptId
>
> Using a combination of filters is it possible to get all rows and all
> qualifiers within the pt column family where deptId = 100?
>
>
> - R
>
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