hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ferdy Galema <ferdy.gal...@kalooga.com>
Subject fast way to do random getRowOrAfter reads
Date Mon, 27 Aug 2012 14:33:26 GMT
I want to do a lot of random reads, but I need to get the first row after
the requested key. I know I can make a scanner every time (with a specified
startrow) and close it after a single result is fetched, but this seems
like a lot overhead.

Something like HTable's getRowOrBefore method, but then getRowOrAfter.
(Note that getRowOrBefore is deprecated).

Any advice?

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