Indexed Relationships
General Concerns
Number of Fields
- Unique ?
- Yes - Need a map (1 Key , 1 Value)
- No - Need a map (1 Key, N Values)
- Multiple Fields
- Later …
Updating Index
- Key field changes
- element add/deleted to/from relation
Design Solutions
- Using a RelationAwareSet also aware of the indexed properties. The ideia here is to have a set which has a map behaviour.
- Using an index only has an auxiliar data structure
page revision: 4, last edited: 05 Feb 2009 16:34