Class: ArrowFormat::Time64Type
- Inherits:
-
TimeType
- Object
- Type
- PrimitiveType
- TemporalType
- TimeType
- ArrowFormat::Time64Type
- Defined in:
- lib/arrow-format/type.rb
Instance Attribute Summary
Attributes inherited from TimeType
Instance Method Summary collapse
- #buffer_type ⇒ Object
- #build_array(size, validity_buffer, values_buffer) ⇒ Object
-
#initialize(unit) ⇒ Time64Type
constructor
A new instance of Time64Type.
- #name ⇒ Object
Methods inherited from TimeType
Methods inherited from Type
Constructor Details
#initialize(unit) ⇒ Time64Type
Returns a new instance of Time64Type.
449 450 451 |
# File 'lib/arrow-format/type.rb', line 449 def initialize(unit) super(64, unit) end |
Instance Method Details
#buffer_type ⇒ Object
457 458 459 |
# File 'lib/arrow-format/type.rb', line 457 def buffer_type :s64 end |
#build_array(size, validity_buffer, values_buffer) ⇒ Object
461 462 463 |
# File 'lib/arrow-format/type.rb', line 461 def build_array(size, validity_buffer, values_buffer) Time64Array.new(self, size, validity_buffer, values_buffer) end |
#name ⇒ Object
453 454 455 |
# File 'lib/arrow-format/type.rb', line 453 def name "Time64" end |