hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: scan startrow and stoprow
Date Wed, 22 Apr 2015 13:15:43 GMT
Character '*' precedes character '0'
Probably that was why some rows were not returned. 

How long is the third component (number) normally ?

Cheers



> On Apr 22, 2015, at 3:56 AM, Sachin <scorpio.king.yo@gmail.com> wrote:
> 
> My rowkey format is uniqueid|timestamp|randomnumber.
> 
> I want to retrieve data from hbase by using scanner with java api where my 
> startRow : aabb|timeStamp1| 
> 
> stopRow is : aabb|timeStamp2|*any_number
> 
> timeStamp1 and timeStamp2 are time ranges. So I want to fetch all values in 
> between above timestamp where my *any_number can be anything it's * in 
> regular expression. So my start and stop rows become :
> 
> startRow : aabb|timeStamp1| 
> 
> stopRow is : aabb|timeStamp2|*
> 
> I set these param to scan object but its not fetching data from hbase. Can 
> anyone tell me how to do that?
> 

Mime
View raw message