Class: ArrowFormat::Date64Type
- Inherits:
-
DateType
- Object
- Type
- PrimitiveType
- TemporalType
- DateType
- ArrowFormat::Date64Type
- Defined in:
- lib/arrow-format/type.rb
Instance Attribute Summary
Attributes inherited from DateType
Class Method Summary collapse
Instance Method Summary collapse
- #buffer_type ⇒ Object
- #build_array(size, validity_buffer, values_buffer) ⇒ Object
-
#initialize ⇒ Date64Type
constructor
A new instance of Date64Type.
- #name ⇒ Object
Methods inherited from DateType
Methods inherited from Type
Constructor Details
#initialize ⇒ Date64Type
Returns a new instance of Date64Type.
392 393 394 |
# File 'lib/arrow-format/type.rb', line 392 def initialize super(:millisecond) end |
Class Method Details
.singleton ⇒ Object
387 388 389 |
# File 'lib/arrow-format/type.rb', line 387 def singleton @singleton ||= new end |
Instance Method Details
#buffer_type ⇒ Object
400 401 402 |
# File 'lib/arrow-format/type.rb', line 400 def buffer_type :s64 end |
#build_array(size, validity_buffer, values_buffer) ⇒ Object
404 405 406 |
# File 'lib/arrow-format/type.rb', line 404 def build_array(size, validity_buffer, values_buffer) Date64Array.new(size, validity_buffer, values_buffer) end |
#name ⇒ Object
396 397 398 |
# File 'lib/arrow-format/type.rb', line 396 def name "Date64" end |