-Re: Fast scan with PrefixFilter?
Asaf Mesika 2014-01-17, 11:00
Your start rowkey is the prefix it self.
Your end row key is the prefix +1. Increase the last byte by 1. I can send
you the increase function if you need.
No filter needed.
On Wednesday, January 15, 2014, Ramon Wang <[EMAIL PROTECTED]> wrote:
> Hi Folks
> We have a table with fixed pattern row key design, the format for the row
> key is YEAR_COUNTRY_randomNumber, for example:
> Is there a way i can quickly get the data for "20140101_EN_*" by using Scan
> without scan the full table? I think we are probably going to use
> the PrefixFilter filter with the Scan object, but the problem is that we
> don't know the "startRow" for each scan, any ideas?