Class: Arrow::RawTableConverter

Inherits:
Object
  • Object
show all
Defined in:
lib/arrow/raw-table-converter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_rowsObject (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

#schemaObject (readonly)

Returns the value of attribute schema.



21
22
23
# File 'lib/arrow/raw-table-converter.rb', line 21

def schema
  @schema
end

#valuesObject (readonly)

Returns the value of attribute values.



22
23
24
# File 'lib/arrow/raw-table-converter.rb', line 22

def values
  @values
end