hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vishnupriyaa <vpatoff...@gmail.com>
Subject RE: Pagination in hbase
Date Thu, 24 May 2012 13:08:14 GMT

 hi,
   how can I set the offset value.I have added some filters to get the
records,it returns more than 10000 rows and need to get first 100 data the
next 100.Can you give some sample java code.

Srikanth P. Shreenivas wrote:
> 
> Look at
> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html#setCaching(int)
> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html#setBatch(int)
> 
> Regards,
> Srikanth
> 
> -----Original Message-----
> From: vishnupriyaa [mailto:vpatoffice@gmail.com]
> Sent: Thursday, May 24, 2012 6:21 PM
> To: hbase-user@hadoop.apache.org
> 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
> 
> 

-- 
View this message in context: http://old.nabble.com/Pagination-in-hbase-tp33901703p33901808.html
Sent from the HBase User mailing list archive at Nabble.com.


Mime
View raw message