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

Function CreateSchemaDirect

cpp/src/generated/Schema_generated.h:2447–2462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2445}
2446
2447inline ::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
2464inline bool VerifyType(::flatbuffers::Verifier &verifier, const void *obj, Type type) {
2465 switch (type) {

Callers

nothing calls this directly

Calls 1

CreateSchemaFunction · 0.85

Tested by

no test coverage detected