You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by N Keywal <nk...@gmail.com> on 2012/06/28 10:56:59 UTC
Re: Stargate: ScannerModel
(moving this to the user mailing list, with the dev one in bcc)
>From what you said it should be
customerid_MIN_TX_ID to customerid_MAX_TX_ID
But only if customerid size is constant.
Note that with this rowkey design there will be very few regions
involved, so it's unlikely to be parallelized.
N.
On Thu, Jun 28, 2012 at 7:43 AM, sameer <sa...@infosys.com> wrote:
> 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.
Re: Stargate: ScannerModel
Posted by Doug Meil <do...@explorysmedical.com>.
One other thingÅ
re: "I tried using rowFilter but it is quite slow."
If you didn't use startRow/stopRow for the Scan you will be filtering all
the rows in the table (albiet on the RS, but stillÅ all the rows)
On 6/28/12 4:56 AM, "N Keywal" <nk...@gmail.com> wrote:
>(moving this to the user mailing list, with the dev one in bcc)
>
>From what you said it should be
>
>customerid_MIN_TX_ID to customerid_MAX_TX_ID
>But only if customerid size is constant.
>
>Note that with this rowkey design there will be very few regions
>involved, so it's unlikely to be parallelized.
>
>N.
>
>
>On Thu, Jun 28, 2012 at 7:43 AM, sameer <sa...@infosys.com>
>wrote:
>> 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-tp2975161p
>>4019139.html
>> Sent from the HBase - Developer mailing list archive at Nabble.com.
>