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

Method MakeField

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

Source from the content-addressed store, hash-verified

1007 }
1008
1009 Result<std::shared_ptr<Field>> MakeField() const {
1010 const char* name = c_struct_->name ? c_struct_->name : "";
1011 bool nullable = (c_struct_->flags & ARROW_FLAG_NULLABLE) != 0;
1012 return field(name, type_, nullable, std::move(metadata_.metadata));
1013 }
1014
1015 Result<std::shared_ptr<Schema>> MakeSchema() const {
1016 if (type_->id() != Type::STRUCT) {

Callers 2

MakeChildFieldMethod · 0.45
ImportFieldFunction · 0.45

Calls 1

fieldFunction · 0.50

Tested by

no test coverage detected