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 >> Why InternalScanner doesn't have a method that returns entire row or object of Result


+
anil gupta 2012-11-30, 18:54
Copy link to this message
-
Re: Why InternalScanner doesn't have a method that returns entire row or object of Result
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>
*(List<http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true>
<KeyValue<http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/KeyValue.html>
> results)
          Grab the next row's worth of values.
http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/regionserver/InternalScanner.html

Thanks,
Anil Gupta

On Fri, Nov 30, 2012 at 10:54 AM, anil gupta <[EMAIL PROTECTED]> 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
+
Ted Yu 2012-12-01, 01:20
+
anil gupta 2012-12-01, 02:01
+
Asaf Mesika 2013-03-07, 12:34
+
Anoop Sam John 2013-03-07, 12:59
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