hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkrishna vasudevan <ramkrishna.s.vasude...@gmail.com>
Subject Re: A question about Scan
Date Thu, 20 Mar 2014 06:47:56 GMT
Hi Vimal

Since you are adding scan.addColumn it should return all the rows that has
this particular CF and CQ because we explicity track this column.  Do you
get anything different?

Regards
Ram


On Thu, Mar 20, 2014 at 11:52 AM, Vimal Jain <vkjk89@gmail.com> wrote:

> Hi,
> I want to run a scan on table and get all rows for whom there is a value
> set in one particular column qualifier.
>
> I am using something like this ,
>
> Scan s = new Scan();
> s.addColum(cf1,cq1) // cf1:cq1 is the column i am looking for
> Then i am iterating over ResultScanner and getting Result objects.
>
> Will this return me all rows which has a value for that particular column
> qualifier or do i need to use some filters ?
>
> --
> Thanks and Regards,
> Vimal Jain
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message