Class: ArrowFormat::DayTimeIntervalType
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 DayTimeIntervalType.
540
541
542
|
# File 'lib/arrow-format/type.rb', line 540
def initialize
super(:day_time)
end
|
Instance Method Details
#buffer_type ⇒ Object
548
549
550
|
# File 'lib/arrow-format/type.rb', line 548
def buffer_type
:s32
end
|
#build_array(size, validity_buffer, values_buffer) ⇒ Object
552
553
554
|
# File 'lib/arrow-format/type.rb', line 552
def build_array(size, validity_buffer, values_buffer)
DayTimeIntervalArray.new(self, size, validity_buffer, values_buffer)
end
|
#name ⇒ Object
544
545
546
|
# File 'lib/arrow-format/type.rb', line 544
def name
"DayTimeInterval"
end
|