On 11/3/11 4:44 PM, Selcuk AYA wrote:
On Wed, Nov 2, 2011 at 12:15 PM, Alex Karasulu<[email protected]>  wrote:
On Wed, Nov 2, 2011 at 10:12 AM, Selcuk AYA<[email protected]>  wrote:
Hi,
a few points and questions:
*I am planning to use a common ID for all partitions. I checked Hbase
partition and it uses UUID as the ID. Is it ok to use this for all
partitions?

This great and something we wanted to do for a very long time as Emmanuel
stated.
I am working on JDBM and AVL partitions to make them usee UUID. Also I
am making partitions expose their master tabe and indices. For making
all partitions use UUID:
* I can  change partitions to work with UUID directly  and make them
return master tables as MasterTable<Entry,UUID>  and index tables in a
similar way
*or I can paratmetrize partition interface like Partition<ID>  . They
can return master table as<MasterTable,ID>  and index tables in a
similar way. This is looks to me the right way but it eventually leads
to more changes.

which one do you think is better?

Let's not use generic when it's not needed...


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to