Class: ArrowFormat::MonthDayNanoIntervalType
Instance Attribute Summary
Attributes inherited from IntervalType
#unit
Instance Method Summary
collapse
singleton, #to_flatbuffers
Methods inherited from Type
#to_s
Constructor Details
Returns a new instance of MonthDayNanoIntervalType.
558
559
560
|
# File 'lib/arrow-format/type.rb', line 558
def initialize
super(:month_day_nano)
end
|
Instance Method Details
#buffer_types ⇒ Object
566
567
568
|
# File 'lib/arrow-format/type.rb', line 566
def buffer_types
@buffer_types ||= [:s32, :s32, :s64]
end
|
#build_array(size, validity_buffer, values_buffer) ⇒ Object
570
571
572
573
574
575
|
# File 'lib/arrow-format/type.rb', line 570
def build_array(size, validity_buffer, values_buffer)
MonthDayNanoIntervalArray.new(self,
size,
validity_buffer,
values_buffer)
end
|
#name ⇒ Object
562
563
564
|
# File 'lib/arrow-format/type.rb', line 562
def name
"MonthDayNanoInterval"
end
|