You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Bing Li <lb...@gmail.com> on 2012/04/18 10:08:12 UTC

Min/Max Column Value and Row Count

Dear all,

I noticed that there were no ways to get the min/max of a specific column
value using the current available filters. Right?

Any more convenient approaches to get the row count of a family? I plan to
use FamilyFilter to do that.

Thanks so much!

Best regards,
Bing

Re: Min/Max Column Value and Row Count

Posted by Mikael Sitruk <mi...@gmail.com>.
you can use endpoints
see  https://blogs.apache.org/hbase/entry/coprocessor_introduction
if you look at the jira code sample (HBASE-1512) there is min/max..
implementation for a certain column, family and range, it should be a good
starting point.

Mikael.S


On Wed, Apr 18, 2012 at 11:08 AM, Bing Li <lb...@gmail.com> wrote:

> Dear all,
>
> I noticed that there were no ways to get the min/max of a specific column
> value using the current available filters. Right?
>
> Any more convenient approaches to get the row count of a family? I plan to
> use FamilyFilter to do that.
>
> Thanks so much!
>
> Best regards,
> Bing
>