You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by mrmiroslav <mi...@potential.co.uk> on 2018/05/01 13:06:35 UTC

hbase scan with column family filter - limit results per column prefix

I'd like to perform Get / Scan with java client.

In a given column family I'd like to limit the number of results per given
column qualifier prefix.

Is there a way of achieving this without redesigning schema and moving
Column Qualifiers into Column Families?

Column Qualifiers are dynamic, however they can be grouped by prefix. I'd
like to limit the number of cells returned from prefix / group?



--
Sent from: http://apache-hbase.679495.n3.nabble.com/HBase-User-f4020416.html

Re: hbase scan with column family filter - limit results per column prefix

Posted by Ted Yu <yu...@gmail.com>.
From your description, you can combine ColumnPrefixFilter with PageFilter
(thru FilterList).

FYI


On Tue, May 1, 2018 at 6:06 AM, mrmiroslav <mi...@potential.co.uk> wrote:

> I'd like to perform Get / Scan with java client.
>
> In a given column family I'd like to limit the number of results per given
> column qualifier prefix.
>
> Is there a way of achieving this without redesigning schema and moving
> Column Qualifiers into Column Families?
>
> Column Qualifiers are dynamic, however they can be grouped by prefix. I'd
> like to limit the number of cells returned from prefix / group?
>
>
>
> --
> Sent from: http://apache-hbase.679495.n3.nabble.com/HBase-User-
> f4020416.html
>