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
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License