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

Function GetListFactory

cpp/src/parquet/arrow/schema.cc:991–997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989
990template <typename ArrowListType, typename... Args>
991auto GetListFactory(Args&&... args) {
992 return [... args = std::forward<Args>(args)](FieldVector fields) mutable {
993 DCHECK_EQ(fields.size(), 1);
994 return std::make_shared<ArrowListType>(std::move(fields[0]),
995 std::forward<decltype(args)>(args)...);
996 };
997}
998
999std::function<std::shared_ptr<::arrow::DataType>(FieldVector)> GetNestedFactory(
1000 const ArrowType& origin_type, const ArrowType& inferred_type) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected