Recursively build a vector of arrow::Field from the defined types. In most cases MakeSchema is the better entrypoint for the Schema creation.
| 248 | /// |
| 249 | /// In most cases MakeSchema is the better entrypoint for the Schema creation. |
| 250 | static std::vector<std::shared_ptr<Field>> MakeSchemaRecursion( |
| 251 | const std::vector<std::string>& names) { |
| 252 | std::vector<std::shared_ptr<Field>> ret = |
| 253 | SchemaFromTuple<Tuple, N - 1>::MakeSchemaRecursion(names); |
| 254 | auto type = ConversionTraits<Element>::type_singleton(); |
| 255 | ret.push_back(field(names[N - 1], type, internal::is_optional_like<Element>::value)); |
| 256 | return ret; |
| 257 | } |
| 258 | |
| 259 | /// Build a Schema from the types of the tuple-like structure passed in as template |
| 260 | /// parameter assign the column names at runtime. |
nothing calls this directly
no test coverage detected