hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tgh" <guanhua.t...@ia.ac.cn>
Subject 答复: how to use API to statistic how many message has been store in the table in hbase
Date Thu, 27 Dec 2012 07:21:57 GMT
Meanwhile , I see , the AggregationClient#rowCount() is to statistic the
Number of given Family and given col in a table, and it scan the related
region to satistic the Number, that is, some colume can be null, is it,

But If I want to know the row number of table, no matter have data there, I
just want to know the row number of the whole table, and it is a large
table,
And which API should I use, and how to use it, 

Could you help me

Thank you
---------------------
Tian Guanhua



-----邮件原件-----
发件人: user-return-32780-guanhua.tian=ia.ac.cn@hbase.apache.org
[mailto:user-return-32780-guanhua.tian=ia.ac.cn@hbase.apache.org] 代表 Anoop
Sam John
发送时间: 2012年12月27日 13:31
收件人: user@hbase.apache.org
主题: RE: how to use API to statistic how many message has been store in the
table in hbase

So you want to know the no# of rows in a table?
Have a look at AggregationClient#rowCount() 

-Anoop-
________________________________________
From: tgh [guanhua.tian@ia.ac.cn]
Sent: Thursday, December 27, 2012 7:51 AM
To: user@hbase.apache.org
Subject: how to use API to statistic how many message has been store in the
table in hbase

Hi
        I try to use hbaseAPI to store data, and I want to get the number of
the message stored in the table in HBase,
        how to use API to statistic how many message has been store in the
table in hbase
        What API can do this,
        Could you help me


Thank you
---------------------
Tian Guanhua=



Mime
View raw message