Class: StructuredDataToSql::Json::ShreddedRow
- Inherits:
-
Struct
- Object
- Struct
- StructuredDataToSql::Json::ShreddedRow
- Defined in:
- lib/structured_data_to_sql/json/shredder.rb
Overview
One shredded record: table_rel is the table's path relative to the
root table ("" for the root itself), columns maps final column names
to raw values, children holds nested ShreddedRows for child tables.
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#ordinal ⇒ Object
Returns the value of attribute ordinal.
-
#parent_natural_id ⇒ Object
Returns the value of attribute parent_natural_id.
-
#table_rel ⇒ Object
Returns the value of attribute table_rel.
Instance Attribute Details
#children ⇒ Object
Returns the value of attribute children
15 16 17 |
# File 'lib/structured_data_to_sql/json/shredder.rb', line 15 def children @children end |
#columns ⇒ Object
Returns the value of attribute columns
15 16 17 |
# File 'lib/structured_data_to_sql/json/shredder.rb', line 15 def columns @columns end |
#ordinal ⇒ Object
Returns the value of attribute ordinal
15 16 17 |
# File 'lib/structured_data_to_sql/json/shredder.rb', line 15 def ordinal @ordinal end |
#parent_natural_id ⇒ Object
Returns the value of attribute parent_natural_id
15 16 17 |
# File 'lib/structured_data_to_sql/json/shredder.rb', line 15 def parent_natural_id @parent_natural_id end |
#table_rel ⇒ Object
Returns the value of attribute table_rel
15 16 17 |
# File 'lib/structured_data_to_sql/json/shredder.rb', line 15 def table_rel @table_rel end |