Boris,

There is a quicker way but since we currently don't keep a count
somewhere, it's always about doing a full table scan.

See how the count is implemented in the shell to learn of the quicker
way. Specifically, look at bin/HBase.rb

J-D

On Tue, Feb 2, 2010 at 1:54 PM, Boris Aleksandrovsky <[email protected]> wrote:
> Hi,
>
> Is there a way to retrieving the number of rows in the table without doing a
> complete scan and counting the number of returned results (via next())?
>
> --
> Thanks,
>
> Boris
>

Reply via email to