hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramkrishna.S.Vasudevan" <ramkrishna.vasude...@huawei.com>
Subject RE: Stargate: ScannerModel
Date Thu, 28 Jun 2012 08:45:59 GMT
Try using setCaching and setBatching.
These help you to avoid the number of calls that happens from the client to
the server for every result/row fetched.

Regards
Ram

> -----Original Message-----
> From: sameer [mailto:sameer_therattil@infosys.com]
> Sent: Thursday, June 28, 2012 11:14 AM
> To: hbase-dev@hadoop.apache.org
> Subject: Re: Stargate: ScannerModel
> 
> Hello,
> 
> I want to what are the parameters for scan.setStartRow ans
> scan.setStopRow.
> 
> My requirement is that I have a table, with key as
> customerid_transactionId.
> 
> I want to scan all the rows, they key of which contains the customer Id
> that
> I have.
> 
> I tried using rowFilter but it is quite slow.
> 
> If I am using the scan - setStartRow and setStopRow then what would I
> give
> as parameters?
> 
> Thanks,
> Sameer
> 
> --
> View this message in context: http://apache-
> hbase.679495.n3.nabble.com/Stargate-ScannerModel-tp2975161p4019139.html
> Sent from the HBase - Developer mailing list archive at Nabble.com.


Mime
View raw message