Re: quick get of number of rows in the table

2010-02-02 Thread Boris Aleksandrovsky
Thanks, Jean-Daniel! On Tue, Feb 2, 2010 at 1:59 PM, Jean-Daniel Cryans wrote: > 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. Spe

Re: quick get of number of rows in the table

2010-02-02 Thread Jean-Daniel Cryans
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 w

quick get of number of rows in the table

2010-02-02 Thread Boris Aleksandrovsky
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