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

Function CreateFieldDirect

cpp/src/generated/Schema_generated.h:2342–2363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2340}
2341
2342inline ::flatbuffers::Offset<Field> CreateFieldDirect(
2343 ::flatbuffers::FlatBufferBuilder &_fbb,
2344 const char *name = nullptr,
2345 bool nullable = false,
2346 org::apache::arrow::flatbuf::Type type_type = org::apache::arrow::flatbuf::Type_NONE,
2347 ::flatbuffers::Offset<void> type = 0,
2348 ::flatbuffers::Offset<org::apache::arrow::flatbuf::DictionaryEncoding> dictionary = 0,
2349 const std::vector<::flatbuffers::Offset<org::apache::arrow::flatbuf::Field>> *children = nullptr,
2350 const std::vector<::flatbuffers::Offset<org::apache::arrow::flatbuf::KeyValue>> *custom_metadata = nullptr) {
2351 auto name__ = name ? _fbb.CreateString(name) : 0;
2352 auto children__ = children ? _fbb.CreateVector<::flatbuffers::Offset<org::apache::arrow::flatbuf::Field>>(*children) : 0;
2353 auto custom_metadata__ = custom_metadata ? _fbb.CreateVector<::flatbuffers::Offset<org::apache::arrow::flatbuf::KeyValue>>(*custom_metadata) : 0;
2354 return org::apache::arrow::flatbuf::CreateField(
2355 _fbb,
2356 name__,
2357 nullable,
2358 type_type,
2359 type,
2360 dictionary,
2361 children__,
2362 custom_metadata__);
2363}
2364
2365/// ----------------------------------------------------------------------
2366/// A Schema describes the columns in a row batch

Callers

nothing calls this directly

Calls 1

CreateFieldFunction · 0.85

Tested by

no test coverage detected