Class: ArrowFormat::Decimal256Type
- Inherits:
-
DecimalType
- Object
- Type
- FixedSizeBinaryType
- DecimalType
- ArrowFormat::Decimal256Type
- Defined in:
- lib/arrow-format/type.rb
Instance Attribute Summary
Attributes inherited from DecimalType
Attributes inherited from FixedSizeBinaryType
Instance Method Summary collapse
- #build_array(size, validity_buffer, values_buffer) ⇒ Object
-
#initialize(precision, scale) ⇒ Decimal256Type
constructor
A new instance of Decimal256Type.
- #name ⇒ Object
Methods inherited from DecimalType
Methods inherited from FixedSizeBinaryType
Methods inherited from Type
Constructor Details
#initialize(precision, scale) ⇒ Decimal256Type
Returns a new instance of Decimal256Type.
795 796 797 |
# File 'lib/arrow-format/type.rb', line 795 def initialize(precision, scale) super(32, precision, scale) end |
Instance Method Details
#build_array(size, validity_buffer, values_buffer) ⇒ Object
803 804 805 |
# File 'lib/arrow-format/type.rb', line 803 def build_array(size, validity_buffer, values_buffer) Decimal256Array.new(self, size, validity_buffer, values_buffer) end |
#name ⇒ Object
799 800 801 |
# File 'lib/arrow-format/type.rb', line 799 def name "Decimal256" end |