You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 7, 2024. It is now read-only.
alvinsj edited this page Aug 15, 2014
·
1 revision
Denormalization tree nodes are constructed upon the time denormalization definition is defined. Tree structure provides a better representation between the models' association. Then, denormalization is done by traversing across the nodes and choose the node method to denormalize the normal model.
Node Types
Column / ComputeColumn / MethodColumn
These are the leaf nodes. It implements the most basic assignment of value to the denormalized record upon denormalization. All 3 types define different ways of how the value is derived.
NormalizedAttr / RootNode
NormalizedAttr represents a node which need to be further denormalized. Upon denormalization, it looks up the attributes and association to do denormalization. RootNode behaves like NormalizedAttr, with some other extra properties (e.g. no prefix for column by default).
AssociatedAttr / HasMany / BelongsTo
This is where the more complicated denormalization methods are in.