hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Washusen <...@reactive.org>
Subject Re: Table size from API
Date Thu, 28 Jan 2010 06:40:10 GMT
I think the shell just performs a scan and iterates over all the rows,
counting as it goes.  You could do the same with the client API...

2010/1/28 john smith <js1987.smith@gmail.com>

> Hi guys,
>
> Is there a way to get the rowcount of the table from java API .. I looked
> at
> HTable and HTableDesc... but I couldn't find it .. It is similar to "count
> <tablename>" frm Hbase shell.
>
> Thanks
> J-S
>

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