I am using hbase to store my data in hdfs, I have a column family with user_details in my table where I am storing user values like-
userdetails-> userid ->"ui011"
userdetails-> userName->"John"
userdetails-> emailid->"john@xyz.com"
Now is it possible to count the rows which have particular value in username and email id, both through java and hbase shell. I am kind of new to hbase and any help will be appreciated.
Take a look at Hbase coprocessor AggregationClient . AggregationClient docs
Example usage: row-count-hbase-aggregation-example
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.