-Re: Running prefix scans in hbase
Varun Sharma 2013-05-15, 15:00
Not after but only before hitting the prefix - I will check the startRow
stuff - I could not find where the seek happens for that...
On Wed, May 15, 2013 at 7:51 AM, Stack <[EMAIL PROTECTED]> wrote:
> On Tue, May 14, 2013 at 11:33 PM, Varun Sharma <[EMAIL PROTECTED]>
> > Hi,
> > I was looking at PrefixFilter but going by the implementation - it looks
> > scan every row until we hit the prefix instead of seeking to the row with
> > the required prefix.
> > I was wondering if there are more efficient alternatives which would do a
> > real seek rather than scanning all rows. Would setting startRow and
> > - effectively seek to startRow and then perform the scan ?
> Are you saying the prefix filter keeps reading rows even though it has
> passed out the prefix? I'd think it would return true out of
> it had gone past rows with the prefix?