hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <anilgupt...@gmail.com>
Subject Re: Why InternalScanner doesn't have a method that returns entire row or object of Result
Date Fri, 30 Nov 2012 21:53:50 GMT
Does this method in InternalScanner gets KeyValue's for only 1 row in 1
call. Am i right?

boolean *next<http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/regionserver/InternalScanner.html#next%28java.util.List%29>
> results)
          Grab the next row's worth of values.

Anil Gupta

On Fri, Nov 30, 2012 at 10:54 AM, anil gupta <anilgupta84@gmail.com> wrote:

> Hi All,
> I am developing a Coprocessor to sort results on the basis of Cell Value.
> Basically an equivalent of order by clause in RDBMS.
> In my subclass of BaseEndpointCoprocessor i would like to do fetch of
> entire rows rather than individual KeyValue using the InternalScanner. But,
> surprisingly there is no method to do that. Can any one tell me why we dont
> have a method for fetching rows? What is the most optimized way to fetch
> rows through current InternalScanner methods?
> --
> Thanks & Regards,
> Anil Gupta

Thanks & Regards,
Anil Gupta

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