If your row keys are sorted in a lexicographical way (padded with
zeroes in your case since it's longs) then simply use a scanner:

http://hadoop.apache.org/hbase/docs/r0.20.3/api/org/apache/hadoop/hbase/client/Scan.html

Configure it with a start and end row key, configure setCaching to the
number of rows you need and it will do a single RPC to fetch
everything very efficiently. The exact response time depends on your
hardware, caching, and data size.

J-D

On Tue, May 4, 2010 at 3:16 PM, atreju <n.atr...@gmail.com> wrote:
> Hello,
>
>
>
> I am doing a research on HBase if we can use it efficiently in our company.
> I need to be able get/scan list of rows for an array of key values (sorted,
> long type). The array size will be 1,000 to 10,000. The table will have a
> few hundred million rows. What is the most efficient (fastest) way to get
> the list of rows for the requested row key values?
>
>
>
> Thanks.
>

Reply via email to