hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dalia Sobhy <dalia.mohso...@hotmail.com>
Subject Re: Hbase 0.92 Example
Date Mon, 15 Oct 2012 09:11:45 GMT
Hello anil,
What do u mean by promoted data type?

Sent from my iPhone

On 2012-10-15, at 12:03 AM, "anil gupta" <anilgupta84@gmail.com> wrote:

> R- Cell value data type
> S- Promoted data type
> 
> 
> On Sun, Oct 14, 2012 at 3:39 PM, Dalia Sobhy <dalia.mohsobhy@hotmail.com>wrote:
> 
>> Hi anil,
>> 
>> Whats <R,S> ?
>> Sent from my iPhone
>> 
>> On 2012-10-14, at 10:24 PM, "anil gupta" <anilgupta84@gmail.com> wrote:
>> 
>>> Hi Dalia,
>>> 
>>> On the client-side you dont need to use that method directly. Instead,
>> use
>>> the following method :
>>> org.apache.hadoop.hbase.client.coprocessor.AggregationClient.sum(byte[]
>>> tableName,
>>> ColumnInterpreter<
>> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/coprocessor/ColumnInterpreter.html
>>> <R,S>
>>> ci,
>>> Scan<
>> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html>
>>> scan)
>>> 
>>> Here is the documention for that class:
>> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/coprocessor/AggregationClient.html
>>> 
>>> Have a look at the JUnit for this co-processor for better understanding.
>>> 
>>> HTH,
>>> Anil
>>> 
>>> On Sun, Oct 14, 2012 at 3:10 PM, Dalia Sobhy <dalia.mohsobhy@hotmail.com
>>> wrote:
>>> 
>>>> Method in AggregateImplementation class.
>>>> 
>>>> 
>>>> 
>>>> On 2012-10-14, at 10:05 PM, "anil gupta" <anilgupta84@gmail.com> wrote:
>>>> 
>>>>> Hi Dalia,
>>>>> 
>>>>> Which getSum() method are you talking about? Please be specific.
>>>>> 
>>>>> Thanks,
>>>>> Anil Gupta
>>>>> 
>>>>> On Sun, Oct 14, 2012 at 2:44 PM, Dalia Sobhy <
>> dalia.mohsobhy@hotmail.com
>>>>> wrote:
>>>>> 
>>>>>> Could anyone provide me with an example on hbase 0.92 on getSum()
>>>>>> function, bec i am unable to implement it.
>>>>>> 
>>>>>> Thanks
>>>>> 
>>>>> 
>>>>> --
>>>>> Thanks & Regards,
>>>>> Anil Gupta
>>> 
>>> 
>>> 
>>> --
>>> Thanks & Regards,
>>> Anil Gupta
> 
> 
> 
> -- 
> Thanks & Regards,
> Anil Gupta

Mime
View raw message