Class: Arrow::FixedSizeBinaryArrayBuilder
- Inherits:
-
ArrayBuilder
show all
- Defined in:
- lib/arrow/jruby/array-builder.rb,
lib/arrow/fixed-size-binary-array-builder.rb
Constant Summary
ArrayBuildable::ValueVector
Class Method Summary
collapse
Instance Method Summary
collapse
#append, #append_nulls, #append_value, #build, buildable?, #finish, #initialize
#buildable?
Class Method Details
.build(data_type, values) ⇒ Object
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
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_raw ⇒ Object
28
|
# File 'lib/arrow/fixed-size-binary-array-builder.rb', line 28
alias_method :append_values_raw, :append_values
|