Class: ArrowFormat::UInt32Type
Instance Attribute Summary
Attributes inherited from IntType
#bit_width
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from IntType
#signed?, #to_flatbuffers
Methods inherited from Type
#to_s
Constructor Details
Returns a new instance of UInt32Type.
217
218
219
|
# File 'lib/arrow-format/type.rb', line 217
def initialize
super(32, false)
end
|
Class Method Details
.singleton ⇒ Object
212
213
214
|
# File 'lib/arrow-format/type.rb', line 212
def singleton
@singleton ||= new
end
|
Instance Method Details
#buffer_type ⇒ Object
225
226
227
|
# File 'lib/arrow-format/type.rb', line 225
def buffer_type
:u32
end
|
#build_array(size, validity_buffer, values_buffer) ⇒ Object
229
230
231
|
# File 'lib/arrow-format/type.rb', line 229
def build_array(size, validity_buffer, values_buffer)
UInt32Array.new(size, validity_buffer, values_buffer)
end
|
#name ⇒ Object
221
222
223
|
# File 'lib/arrow-format/type.rb', line 221
def name
"UInt32"
end
|