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

Method MakeField

cpp/src/arrow/c/bridge.cc:1001–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

999 }
1000
1001 Result<std::shared_ptr<Field>> MakeField() const {
1002 const char* name = c_struct_->name ? c_struct_->name : "";
1003 bool nullable = (c_struct_->flags & ARROW_FLAG_NULLABLE) != 0;
1004 return field(name, type_, nullable, std::move(metadata_.metadata));
1005 }
1006
1007 Result<std::shared_ptr<Schema>> MakeSchema() const {
1008 if (type_->id() != Type::STRUCT) {

Callers 2

MakeChildFieldMethod · 0.45
ImportFieldFunction · 0.45

Calls 1

fieldFunction · 0.50

Tested by

no test coverage detected