hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alok Kumar <alok...@gmail.com>
Subject Re: Is HBase.Client.Result.getValue(...) and Result.getColumn(...) fetch actual value from TABLE everytime
Date Sat, 21 Jan 2012 14:21:35 GMT
I could not get any other way/test to quickly know about it.. :)

On Sat, Jan 21, 2012 at 7:48 PM, Alok Kumar <alokawi@gmail.com> wrote:

> Hi Lars,
>
> Thanks for reply..
> I wanted to know ... Is Column Values are also cached in Result object
> (ie, less number of calls to Hbase table for values)
>  or
> It has been fetched at the time when i loop through it with
> 'Col-Family:Col-Name' using
> getValue(..) or getColumn(...) ?
>
> I understand, it is present in Result object from ur reply. Am i correct?
>
> regards,
> Alok
>
>
> On Sat, Jan 21, 2012 at 9:42 AM, lars hofhansl <lhofhansl@yahoo.com>wrote:
>
>> The values are fetched by the operation that returned the Result object
>> and subsequently cached in the Result object.
>> Is that what you were asking?
>>
>>
>> -- Lars
>>
>>
>>
>> ________________________________
>>  From: Alok Kumar <alokawi@gmail.com>
>> To: user@hbase.apache.org
>> Sent: Friday, January 20, 2012 12:48 AM
>> Subject: Is HBase.Client.Result.getValue(...) and Result.getColumn(...)
>> fetch actual value from TABLE everytime
>>
>> Hi All,
>>
>> I like to know if
>>
>> HBase.Client.Result.getValue(...) and
>> Result.getColumn(...) fetch actual value from TABLE everytime
>>
>> or  is  it available in Result/ResultScanner already?
>>
>>
>> --
>> Alok
>>
>
>
>
> --
> Alok Kumar
>
>
>


-- 
Alok Kumar

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