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

Method MakeField

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

Source from the content-addressed store, hash-verified

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

Callers 2

MakeChildFieldMethod · 0.45
ImportFieldFunction · 0.45

Calls 1

fieldFunction · 0.50

Tested by

no test coverage detected