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

Method GetFieldByName

cpp/src/arrow/type.cc:1390–1393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1388}
1389
1390std::shared_ptr<Field> StructType::GetFieldByName(const std::string& name) const {
1391 int i = GetFieldIndex(name);
1392 return i == -1 ? nullptr : children_[i];
1393}
1394
1395int StructType::GetFieldIndex(const std::string& name) const {
1396 return LookupNameIndex(impl_->name_to_index_, name);

Callers 11

TEST_FFunction · 0.45
type_test.ccFile · 0.45
getFieldByNameMethod · 0.45
getFieldByNameMethod · 0.45
Schema__GetFieldByNameFunction · 0.45

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.36