Class: Arrow::FixedSizeBinaryArrayBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/arrow/fixed-size-binary-array-builder.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.build(data_type, values) ⇒ Object

Since:

  • 3.0.0



22
23
24
25
# File 'lib/arrow/fixed-size-binary-array-builder.rb', line 22

def build(data_type, values)
  builder = new(data_type)
  builder.build(values)
end

Instance Method Details

#append_values(values, is_valids = nil) ⇒ Object

Since:

  • 3.0.0



30
31
32
33
34
35
36
# File 'lib/arrow/fixed-size-binary-array-builder.rb', line 30

def append_values(values, is_valids=nil)
  if values.is_a?(::Array)
    append_values_raw(values, is_valids)
  else
    append_values_packed(values, is_valids)
  end
end

#append_values_rawObject



28
# File 'lib/arrow/fixed-size-binary-array-builder.rb', line 28

alias_method :append_values_raw, :append_values