hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Meil <doug.m...@explorysmedical.com>
Subject Re: range query
Date Wed, 05 Oct 2011 12:39:20 GMT

Hi there-

Check out the Hbase book...

http://hbase.apache.org/book.html#scan




On 10/5/11 3:29 AM, "Rita" <rmorgan466@gmail.com> wrote:

>Hello,
>
>I have a simple table where the data looks like this,
>
>key,value
>2011-01-01.foo,data01
>2011-01-02.foo,data02
>2011-01-03.foo,data03
>2011-01-04.foo,data04
>2011-01-05.foo,data05
>2011-01-05.foo,data06
>
>Does anyone have any example code to perform a range query like, get all
>values for keys which has a range from [2011-01-03.foo to 2011-01-05.foo]?
>The expected answer should be:
>
>data03
>date04
>data05
>
>
>
>
>
>-- 
>--- Get your facts first, then you can distort them as you please.--


Mime
View raw message