Class: ArrowFormat::DenseUnionType
Instance Attribute Summary
Attributes inherited from UnionType
#children, #type_ids
Instance Method Summary
collapse
Methods inherited from UnionType
#resolve_type_index, #to_flatbuffers, #to_s
Methods inherited from Type
#to_s
Constructor Details
#initialize(children, type_ids) ⇒ DenseUnionType
Returns a new instance of DenseUnionType.
990
991
992
|
# File 'lib/arrow-format/type.rb', line 990
def initialize(children, type_ids)
super(:dense, children, type_ids)
end
|
Instance Method Details
#build_array(size, types_buffer, offsets_buffer, children) ⇒ Object
1002
1003
1004
|
# File 'lib/arrow-format/type.rb', line 1002
def build_array(size, types_buffer, offsets_buffer, children)
DenseUnionArray.new(self, size, types_buffer, offsets_buffer, children)
end
|
#name ⇒ Object
994
995
996
|
# File 'lib/arrow-format/type.rb', line 994
def name
"DenseUnion"
end
|
#offset_buffer_type ⇒ Object
998
999
1000
|
# File 'lib/arrow-format/type.rb', line 998
def offset_buffer_type
:s32
end
|