Class: Arrow::ListDataType
- Inherits:
-
Object
- Object
- Arrow::ListDataType
- Defined in:
- lib/arrow/list-data-type.rb
Instance Method Summary collapse
-
#initialize(arg) ⇒ ListDataType
constructor
Creates a new ListDataType.
Constructor Details
#initialize(field) ⇒ ListDataType #initialize(description) ⇒ ListDataType #initialize(data_type) ⇒ ListDataType
Creates a new Arrow::ListDataType.
77 78 79 80 81 82 83 84 85 |
# File 'lib/arrow/list-data-type.rb', line 77 def initialize(arg) data_type = resolve_data_type(arg) if data_type field = Field.new(default_field_name, data_type) else field = resolve_field(arg) end initialize_raw(field) end |