| 2445 | } |
| 2446 | |
| 2447 | inline ::flatbuffers::Offset<Schema> CreateSchemaDirect( |
| 2448 | ::flatbuffers::FlatBufferBuilder &_fbb, |
| 2449 | org::apache::arrow::flatbuf::Endianness endianness = org::apache::arrow::flatbuf::Endianness_Little, |
| 2450 | const std::vector<::flatbuffers::Offset<org::apache::arrow::flatbuf::Field>> *fields = nullptr, |
| 2451 | const std::vector<::flatbuffers::Offset<org::apache::arrow::flatbuf::KeyValue>> *custom_metadata = nullptr, |
| 2452 | const std::vector<int64_t> *features = nullptr) { |
| 2453 | auto fields__ = fields ? _fbb.CreateVector<::flatbuffers::Offset<org::apache::arrow::flatbuf::Field>>(*fields) : 0; |
| 2454 | auto custom_metadata__ = custom_metadata ? _fbb.CreateVector<::flatbuffers::Offset<org::apache::arrow::flatbuf::KeyValue>>(*custom_metadata) : 0; |
| 2455 | auto features__ = features ? _fbb.CreateVector<int64_t>(*features) : 0; |
| 2456 | return org::apache::arrow::flatbuf::CreateSchema( |
| 2457 | _fbb, |
| 2458 | endianness, |
| 2459 | fields__, |
| 2460 | custom_metadata__, |
| 2461 | features__); |
| 2462 | } |
| 2463 | |
| 2464 | inline bool VerifyType(::flatbuffers::Verifier &verifier, const void *obj, Type type) { |
| 2465 | switch (type) { |
nothing calls this directly
no test coverage detected