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

Function MakeBuilder

cpp/src/arrow/builder.cc:358–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356};
357
358Status MakeBuilder(MemoryPool* pool, const std::shared_ptr<DataType>& type,
359 std::unique_ptr<ArrayBuilder>* out) {
360 MakeBuilderImpl impl{pool, type, /*exact_index_type=*/false, /*out=*/nullptr};
361 RETURN_NOT_OK(VisitTypeInline(*type, &impl));
362 *out = std::move(impl.out);
363 return Status::OK();
364}
365
366Status MakeBuilderExactIndex(MemoryPool* pool, const std::shared_ptr<DataType>& type,
367 std::unique_ptr<ArrayBuilder>* out) {

Callers 15

CreateBuildersMethod · 0.70
MakeStatisticsArrayMethod · 0.70
MakeMethod · 0.70
BuildArrayFunction · 0.70
garrow_array_builder_newFunction · 0.50
FinalizeMethod · 0.50
MakeZeroLengthArrayFunction · 0.50
BinaryArrayFromStringsFunction · 0.50
TESTFunction · 0.50
CheckDirectPutMethod · 0.50

Calls 2

VisitTypeInlineFunction · 0.85
OKFunction · 0.70

Tested by 5

BuildArrayFunction · 0.56
TESTFunction · 0.40
CheckDirectPutMethod · 0.40