You can left pad with zeroes then use the scanning facility for faster
retrieval.

J-D

On Tue, Dec 16, 2008 at 12:18 PM, Edward J. Yoon <[email protected]>wrote:

> I would use integer key and extract data from range scans. But, hbase
> row/column is alphabetically sorted.
>
> So, I wrote like below:
>
> for (int i = 35; i <= 235; i++) {
>  table.getRow(i, columns[]);
> }
>
> It seems, causes too many requests over hbase.
> Any suggestion?
>
> --
> Best Regards, Edward J. Yoon @ NHN, corp.
> [email protected]
> http://blog.udanax.org
>

Reply via email to