hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claudio Martella <claudio.marte...@tis.bz.it>
Subject Re: data structure
Date Fri, 15 Jul 2011 13:51:14 GMT
You can still trough a scanner defining the starting key in a smart way


On 7/15/11 3:39 PM, Andre Reiter wrote:
> hi Claudio,
> thanks for the hint
>
> the point is, that we need a fast request to the user data, that is
> why we need the row key to be the user_id
>
>
>
>> ----- Original Message -----
>> From: Claudio Martella <claudio.martella@tis.bz.it>
>> Sent: Fri Jul 15 2011 14:40:38 GMT+0200 (CET)
>> To:
>> CC:
>> Subject: Re: data structure
>
>> supposed you want a per-hour granularity, you could have a key like this
>>
>> <userID>_<YYMMDDHH>
>>
>> where
>>
>> HH: hour of the day (0-23)
>> DD: day of the month
>> MM: month of the year
>> YY: year
>>
>>
>> this could be one way.
>>
>
>
>


-- 
Claudio Martella
Free Software & Open Technologies
Analyst

TIS innovation park
Via Siemens 19 | Siemensstr. 19
39100 Bolzano | 39100 Bozen
Tel. +39 0471 068 123
Fax  +39 0471 068 129
claudio.martella@tis.bz.it http://www.tis.bz.it

Short information regarding use of personal data. According to Section 13 of Italian Legislative
Decree no. 196 of 30 June 2003, we inform you that we process your personal data in order
to fulfil contractual and fiscal obligations and also to send you information regarding our
services and events. Your personal data are processed with and without electronic means and
by respecting data subjects' rights, fundamental freedoms and dignity, particularly with regard
to confidentiality, personal identity and the right to personal data protection. At any time
and without formalities you can write an e-mail to privacy@tis.bz.it in order to object the
processing of your personal data for the purpose of sending advertising materials and also
to exercise the right to access personal data and other rights referred to in Section 7 of
Decree 196/2003. The data controller is TIS Techno Innovation Alto Adige, Siemens Street n.
19, Bolzano. You can find the complete information on the web site www.tis.bz.it.





Mime
View raw message