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

Method Make

cpp/src/arrow/stl.h:329–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327template <typename Tuple, std::size_t N = std::tuple_size<Tuple>::value>
328struct CreateBuildersRecursive {
329 static Status Make(MemoryPool* pool,
330 std::vector<std::unique_ptr<ArrayBuilder>>* builders) {
331 using Element = BareTupleElement<N - 1, Tuple>;
332 std::shared_ptr<DataType> type = ConversionTraits<Element>::type_singleton();
333 ARROW_RETURN_NOT_OK(MakeBuilder(pool, type, &builders->at(N - 1)));
334
335 return CreateBuildersRecursive<Tuple, N - 1>::Make(pool, builders);
336 }
337};
338
339template <typename Tuple>

Callers

nothing calls this directly

Calls 3

type_singletonFunction · 0.70
MakeBuilderFunction · 0.70
MakeFunction · 0.70

Tested by

no test coverage detected