Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Behaviour on Get call with ColumnPaginationFilter


+
Varun Sharma 2013-02-10, 04:53
Copy link to this message
-
Re: Behaviour on Get call with ColumnPaginationFilter
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 <[EMAIL PROTECTED]> 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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB