hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: unable to limit number of records using scan with hbase version 0.94.15-cdh4.7.0
Date Wed, 25 Feb 2015 14:43:29 GMT
Hi Gurpreet,

Can you share a part of the code you have to do this scan? What do you mean
by a limit? Can't you just stop calling next() if you get enough lines?

2015-02-25 3:56 GMT-05:00 Gurpreet Singh Bawa <gurpreet.bawa@snapdeal.com>:

> Hi Team
>
> I am trying to apply a limit on my scan query, but cannot find a suitable
> method in the Scan class that will help me do the same.
>
> I am using org.apache.hbase:hbase 0.94.15-cdh4.7.0.
>
> Kindly let me know if there is some other method available for limiting the
> records.
>
> Thanks
> Gurpreet Singh Bawa
> *SOFTWARE ENGINEER IN TEST II*
> *M*: +91 8750472323, *T*: 011 47316200 *EXT*: 5634
> 237 OKHLA PHASE III, NEW DELHI 110 020, INDIADownload Our App[image: A]
> <
> https://play.google.com/store/apps/details?id=com.snapdeal.main&utm_source=mobileAppLp&utm_campaign=android
> >[image:
> A]
> <
> https://itunes.apple.com/in/app/snapdeal-mobile-shopping/id721124909?ls=1&mt=8&utm_source=mobileAppLp&utm_campaign=ios
> >[image:
> W]
> <
> http://www.windowsphone.com/en-in/store/app/snapdeal/ee17fccf-40d0-4a59-80a3-04da47a5553f
> >
>

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