hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin <scorpio.king...@gmail.com>
Subject scan startrow and stoprow
Date Wed, 22 Apr 2015 10:56:00 GMT
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