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

Method Make

cpp/src/arrow/dataset/discovery.cc:83–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 : factories_(std::move(factories)) {}
82
83Result<std::shared_ptr<DatasetFactory>> UnionDatasetFactory::Make(
84 std::vector<std::shared_ptr<DatasetFactory>> factories) {
85 for (const auto& factory : factories) {
86 if (factory == nullptr) {
87 return Status::Invalid("Can't accept nullptr DatasetFactory");
88 }
89 }
90
91 return std::shared_ptr<UnionDatasetFactory>{
92 new UnionDatasetFactory(std::move(factories))};
93}
94
95Result<std::vector<std::shared_ptr<Schema>>> UnionDatasetFactory::InspectSchemas(
96 InspectOptions options) {

Callers

nothing calls this directly

Calls 15

RemoveAncestorFunction · 0.85
StartsWithAnyOfFunction · 0.85
ByPathClass · 0.85
FileSystemFromUriFunction · 0.85
emplace_backMethod · 0.80
IsFileMethod · 0.80
InvalidFunction · 0.50
ARROW_ASSIGN_OR_RAISEFunction · 0.50
MakeFunction · 0.50
emptyMethod · 0.45
NormalizePathMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected