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

Method GetFieldIndex

cpp/src/arrow/type.cc:1398–1400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1396}
1397
1398int StructType::GetFieldIndex(const std::string& name) const {
1399 return LookupNameIndex(impl_->name_to_index_, name);
1400}
1401
1402std::vector<int> StructType::GetAllFieldIndices(const std::string& name) const {
1403 std::vector<int> result;

Callers 7

GetColumnByNameFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
GetColumnByNameMethod · 0.45

Calls 1

LookupNameIndexFunction · 0.85

Tested by 2

TEST_FFunction · 0.36
TESTFunction · 0.36