Check out the org.apache.hadoop.hbase.filter package.  The ColumnValueFilter
might be of help specifically.

The other solution is to do it client side.

-ryan

On Thu, Apr 9, 2009 at 2:45 PM, Vincent Poon (vinpoon) <vinp...@cisco.com>wrote:

> Say I want to scan down a table that looks like this:
>
>            Col A      Col B
> row1        x             x
> row2                       x
> row3        x             x
>
> Normally a scanner would return all three rows, but what's the best way
> to scan so that only row1 and row3 are returned?  i.e. only the rows
> with data in both columns.
>
> Thanks,
> Vincent
>

Reply via email to