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

Method FindAll

cpp/src/arrow/type.cc:2130–2136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2128}
2129
2130std::vector<FieldPath> FieldRef::FindAll(const Schema& schema) const {
2131 if (auto name = this->name()) {
2132 return internal::MapVector([](int i) { return FieldPath{i}; },
2133 schema.GetAllFieldIndices(*name));
2134 }
2135 return FindAll(schema.fields());
2136}
2137
2138std::vector<FieldPath> FieldRef::FindAll(const Field& field) const {
2139 return FindAll(field.type()->fields());

Callers 2

operator()Method · 0.80
TEST_FFunction · 0.80

Calls 6

MapVectorFunction · 0.85
GetAllFieldIndicesMethod · 0.80
nameMethod · 0.45
fieldsMethod · 0.45
typeMethod · 0.45
schemaMethod · 0.45

Tested by 1

TEST_FFunction · 0.64