Class: ArrowFormat::Decimal128Type
- Inherits:
-
DecimalType
- Object
- Type
- FixedSizeBinaryType
- DecimalType
- ArrowFormat::Decimal128Type
- 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) ⇒ Decimal128Type
constructor
A new instance of Decimal128Type.
- #name ⇒ Object
Methods inherited from DecimalType
Methods inherited from FixedSizeBinaryType
Methods inherited from Type
Constructor Details
#initialize(precision, scale) ⇒ Decimal128Type
Returns a new instance of Decimal128Type.
781 782 783 |
# File 'lib/arrow-format/type.rb', line 781 def initialize(precision, scale) super(16, precision, scale) end |
Instance Method Details
#build_array(size, validity_buffer, values_buffer) ⇒ Object
789 790 791 |
# File 'lib/arrow-format/type.rb', line 789 def build_array(size, validity_buffer, values_buffer) Decimal128Array.new(self, size, validity_buffer, values_buffer) end |
#name ⇒ Object
785 786 787 |
# File 'lib/arrow-format/type.rb', line 785 def name "Decimal128" end |