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

Method FindAll

cpp/src/arrow/type.cc:2133–2139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2131}
2132
2133std::vector<FieldPath> FieldRef::FindAll(const Schema& schema) const {
2134 if (auto name = this->name()) {
2135 return internal::MapVector([](int i) { return FieldPath{i}; },
2136 schema.GetAllFieldIndices(*name));
2137 }
2138 return FindAll(schema.fields());
2139}
2140
2141std::vector<FieldPath> FieldRef::FindAll(const Field& field) const {
2142 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