| 277 | /// In most cases MakeSchema is the better entrypoint for the Schema creation. |
| 278 | template <typename NamesTuple> |
| 279 | static std::vector<std::shared_ptr<Field>> MakeSchemaRecursionT( |
| 280 | const NamesTuple& names) { |
| 281 | using std::get; |
| 282 | |
| 283 | std::vector<std::shared_ptr<Field>> ret = |
| 284 | SchemaFromTuple<Tuple, N - 1>::MakeSchemaRecursionT(names); |
| 285 | std::shared_ptr<DataType> type = ConversionTraits<Element>::type_singleton(); |
| 286 | ret.push_back( |
| 287 | field(get<N - 1>(names), type, internal::is_optional_like<Element>::value)); |
| 288 | return ret; |
| 289 | } |
| 290 | |
| 291 | /// Build a Schema from the types of the tuple-like structure passed in as template |
| 292 | /// parameter assign the column names at runtime. |
nothing calls this directly
no test coverage detected