Class: Arrow::RawTableConverter
- Inherits:
-
Object
- Object
- Arrow::RawTableConverter
- Defined in:
- lib/arrow/raw-table-converter.rb
Instance Attribute Summary collapse
-
#n_rows ⇒ Object
readonly
Returns the value of attribute n_rows.
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(raw_table) ⇒ RawTableConverter
constructor
A new instance of RawTableConverter.
Constructor Details
#initialize(raw_table) ⇒ RawTableConverter
Returns a new instance of RawTableConverter.
23 24 25 26 |
# File 'lib/arrow/raw-table-converter.rb', line 23 def initialize(raw_table) @raw_table = raw_table convert end |
Instance Attribute Details
#n_rows ⇒ Object (readonly)
Returns the value of attribute n_rows.
20 21 22 |
# File 'lib/arrow/raw-table-converter.rb', line 20 def n_rows @n_rows end |
#schema ⇒ Object (readonly)
Returns the value of attribute schema.
21 22 23 |
# File 'lib/arrow/raw-table-converter.rb', line 21 def schema @schema end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
22 23 24 |
# File 'lib/arrow/raw-table-converter.rb', line 22 def values @values end |