Class: Igniter::Store::RelationRule
- Inherits:
-
Struct
- Object
- Struct
- Igniter::Store::RelationRule
- Defined in:
- lib/igniter/store/access_path.rb
Overview
Declarative relation between two stores. Backed by a ScatterRule that maintains a materialized index in :“_rel<name>”. source: Symbol — store whose facts carry the foreign key partition: Symbol — field in source fact’s value that holds the FK value target: Symbol — logical “owning” store (informational / metadata only) Resolved via IgniterStore#resolve(name, from: partition_value).
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#partition ⇒ Object
Returns the value of attribute partition.
-
#source ⇒ Object
Returns the value of attribute source.
-
#target ⇒ Object
Returns the value of attribute target.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
60 61 62 |
# File 'lib/igniter/store/access_path.rb', line 60 def name @name end |
#partition ⇒ Object
Returns the value of attribute partition
60 61 62 |
# File 'lib/igniter/store/access_path.rb', line 60 def partition @partition end |
#source ⇒ Object
Returns the value of attribute source
60 61 62 |
# File 'lib/igniter/store/access_path.rb', line 60 def source @source end |
#target ⇒ Object
Returns the value of attribute target
60 61 62 |
# File 'lib/igniter/store/access_path.rb', line 60 def target @target end |