MCPcopy Create free account
hub / github.com/apache/arrow / initialize

Method initialize

ruby/red-arrow/lib/arrow/jruby/array-builder.rb:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 end
33
34 def initialize
35 @vector = self.class::Array::Vector.new("", Arrow.allocator)
36 @vector.allocate_new
37 @index = 0
38 end
39
40 def append_value(value)
41 @vector.set(@index, value)

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
allocatorMethod · 0.45

Tested by

no test coverage detected