hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Behaviour on Get call with ColumnPaginationFilter
Date Mon, 11 Feb 2013 00:03:10 GMT
ColumnPaginationFilter wouldn't load the entire row into memory:

  public ReturnCode filterKeyValue(KeyValue v)

  {

    if(count >= offset + limit)

    {

      return ReturnCode.NEXT_ROW;

    }
Cheers

On Sat, Feb 9, 2013 at 8:53 PM, Varun Sharma <varun@pinterest.com> wrote:

> Hi,
>
> If I am running the following call:
>
> Get get = new Get(row);
> get.setFilter(new ColumnPaginationFilter(50, 0));
>
> Does this load the entire row into memory ? Or will it only try to fetch as
> much as needed (basically load only the relevant hfile blocks into block
> cache instead of loading all the hfile blocks containing the row) ?
>
> Thanks
> Varun
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message