Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Pagination in hbase


Copy link to this message
-
Re: Pagination in hbase

Hi there-

This tooŠ

http://hbase.apache.org/book.html#scan

Š you can do what you want by using the start/stop rows.

On 5/24/12 8:54 AM, "Srikanth P. Shreenivas"
<[EMAIL PROTECTED]> wrote:

>Look at
>http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html#s
>etCaching(int)
>http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html#s
>etBatch(int)
>
>Regards,
>Srikanth
>
>-----Original Message-----
>From: vishnupriyaa [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, May 24, 2012 6:21 PM
>To: [EMAIL PROTECTED]
>Subject: Pagination in hbase
>
>
>Hi,
>
> In my hbase table I have around 10000 data ,need to fetch first 100 then
>next 100 row like that.How can I run a java code to fetch like that, by
>setting limit and offset.
>
>--
>View this message in context:
>http://old.nabble.com/Pagination-in-hbase-tp33901703p33901703.html
>Sent from the HBase User mailing list archive at Nabble.com.
>
>
>________________________________
>
>http://www.mindtree.com/email/disclaimer.html
>