Class: ArrowFormat::UInt64Type

Inherits:
IntType show all
Defined in:
lib/arrow-format/type.rb

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

#initializeUInt64Type

Returns a new instance of UInt64Type.



265
266
267
# File 'lib/arrow-format/type.rb', line 265

def initialize
  super(64, false)
end

Class Method Details

.singletonObject



260
261
262
# File 'lib/arrow-format/type.rb', line 260

def singleton
  @singleton ||= new
end

Instance Method Details

#buffer_typeObject



273
274
275
# File 'lib/arrow-format/type.rb', line 273

def buffer_type
  :u64
end

#build_array(size, validity_buffer, values_buffer) ⇒ Object



277
278
279
# File 'lib/arrow-format/type.rb', line 277

def build_array(size, validity_buffer, values_buffer)
  UInt64Array.new(size, validity_buffer, values_buffer)
end

#nameObject



269
270
271
# File 'lib/arrow-format/type.rb', line 269

def name
  "UInt64"
end