Class: ArrowFormat::NullType
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Type
Class Method Details
.singleton ⇒ Object
26 27 28 |
# File 'lib/arrow-format/type.rb', line 26 def singleton @singleton ||= new end |
Instance Method Details
#build_array(size) ⇒ Object
35 36 37 |
# File 'lib/arrow-format/type.rb', line 35 def build_array(size) NullArray.new(size) end |
#name ⇒ Object
31 32 33 |
# File 'lib/arrow-format/type.rb', line 31 def name "Null" end |
#to_flatbuffers ⇒ Object
39 40 41 |
# File 'lib/arrow-format/type.rb', line 39 def to_flatbuffers FB::Null::Data.new end |