hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bijieshan <bijies...@huawei.com>
Subject RE: Hbase filter with column and value.
Date Thu, 26 Apr 2012 14:15:51 GMT
Devis,

  Have you tried FilterList? I think combine ColumnPrefixFilter & ValueFilter together
can implement that query.

Jieshan.

-----Original Message-----
From: Davis [mailto:davisabraham@gmail.com] 
Sent: Thursday, April 26, 2012 9:42 PM
To: user@hbase.apache.org
Subject: Hbase filter with column and value.

Hi,
  Im trying to filter a Hbase table where column names are like foo_1 foo_2 foo_3..

A sql equalent query will be like 

"Select * from tablename where colunm name like 'foo_%' and value ='value'"

The difficulty is that Im not able to do a filter for both column and value
together.



Mime
View raw message