On Wed, Feb 10, 2010 at 7:16 AM, Bruno Dumon <[email protected]> wrote:
> Hi,
>
> I would like a filter that accepts rows as long as the first X bytes
> of the row key are less than or equal to a certain byte array.
>

Would an inclusivestoprow filter work for you where the stoprow is the
'certain byte array'?

> I have created a BinaryPrefixComparator. It is similar to the
> BinaryComparator, but it only compares the part of the row key up to
> the same length as the supplied byte array. It fits my needs exactly.
>
> Can I submit a patch with this comparator, or is there another way to
> obtain the same behavior?
>

Patch welcome.  Please file a JIRA.  You had to add your filter to
HbaseObjectWritable?

St.Ack

Reply via email to