Class: ArrowFormat::YearMonthIntervalType
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 YearMonthIntervalType.
522
523
524
|
# File 'lib/arrow-format/type.rb', line 522
def initialize
super(:year_month)
end
|
Instance Method Details
#buffer_type ⇒ Object
530
531
532
|
# File 'lib/arrow-format/type.rb', line 530
def buffer_type
:s32
end
|
#build_array(size, validity_buffer, values_buffer) ⇒ Object
534
535
536
|
# File 'lib/arrow-format/type.rb', line 534
def build_array(size, validity_buffer, values_buffer)
YearMonthIntervalArray.new(self, size, validity_buffer, values_buffer)
end
|
#name ⇒ Object
526
527
528
|
# File 'lib/arrow-format/type.rb', line 526
def name
"YearMonthInterval"
end
|