Class: ArrowFormat::BooleanType
- Inherits:
-
PrimitiveType
- Object
- Type
- PrimitiveType
- ArrowFormat::BooleanType
- Defined in:
- lib/arrow-format/type.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Type
Class Method Details
.singleton ⇒ Object
49 50 51 |
# File 'lib/arrow-format/type.rb', line 49 def singleton @singleton ||= new end |
Instance Method Details
#build_array(size, validity_buffer, values_buffer) ⇒ Object
58 59 60 |
# File 'lib/arrow-format/type.rb', line 58 def build_array(size, validity_buffer, values_buffer) BooleanArray.new(size, validity_buffer, values_buffer) end |
#name ⇒ Object
54 55 56 |
# File 'lib/arrow-format/type.rb', line 54 def name "Boolean" end |
#to_flatbuffers ⇒ Object
62 63 64 |
# File 'lib/arrow-format/type.rb', line 62 def to_flatbuffers FB::Bool::Data.new end |