[Mondrian] getUniqueNameForMemberWithoutHierarchy

Julian Hyde jhyde at pentaho.com
Thu Apr 8 15:13:34 EDT 2010

Do you recall why you added the method RolapCubeHierarchy.
RolapCubeHierarchyMemberReader. getUniqueNameForMemberWithoutHierarchy? 
It is used to match members retrieved from a SQL query to their existing
parent members. 
I'd like to obsolete it because it is using a lot of extra space (a string
of ~60 characters) per member. There is a benefit that because the name is
backwards, e.g. [Berkeley][CA][USA][Store], the equals method will tend to
return 'false' sooner, but I believe that benefit is minor because strings
are compared by hashcode first. I think that the effort of creating a new
string, and the space required to store that string as one of the
properties, would far exceed that benefit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20100408/765748b1/attachment.html 

More information about the Mondrian mailing list