Class: ArrowFormat::Float64Type
- Inherits:
-
FloatingPointType
- Object
- Type
- PrimitiveType
- NumberType
- FloatingPointType
- ArrowFormat::Float64Type
- Defined in:
- lib/arrow-format/type.rb
Instance Attribute Summary
Attributes inherited from FloatingPointType
Class Method Summary collapse
Instance Method Summary collapse
- #buffer_type ⇒ Object
- #build_array(size, validity_buffer, values_buffer) ⇒ Object
-
#initialize ⇒ Float64Type
constructor
A new instance of Float64Type.
- #name ⇒ Object
Methods inherited from FloatingPointType
Methods inherited from Type
Constructor Details
#initialize ⇒ Float64Type
Returns a new instance of Float64Type.
327 328 329 |
# File 'lib/arrow-format/type.rb', line 327 def initialize super(:double) end |
Class Method Details
.singleton ⇒ Object
322 323 324 |
# File 'lib/arrow-format/type.rb', line 322 def singleton @singleton ||= new end |
Instance Method Details
#buffer_type ⇒ Object
335 336 337 |
# File 'lib/arrow-format/type.rb', line 335 def buffer_type :f64 end |
#build_array(size, validity_buffer, values_buffer) ⇒ Object
339 340 341 |
# File 'lib/arrow-format/type.rb', line 339 def build_array(size, validity_buffer, values_buffer) Float64Array.new(size, validity_buffer, values_buffer) end |
#name ⇒ Object
331 332 333 |
# File 'lib/arrow-format/type.rb', line 331 def name "Float64" end |