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

Method Make

cpp/src/gandiva/function_holder_maker_registry.cc:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47arrow::Result<FunctionHolderPtr> FunctionHolderMakerRegistry::Make(
48 const std::string& name, const FunctionNode& node) {
49 auto lowered_name = AsciiToLower(name);
50 auto found = function_holder_makers_.find(lowered_name);
51 if (found == function_holder_makers_.end()) {
52 return Status::Invalid("function holder not registered for function " + name);
53 }
54
55 return found->second(node);
56}
57
58FunctionHolderMakerRegistry::MakerMap FunctionHolderMakerRegistry::DefaultHolderMakers() {
59 static const MakerMap maker_map = {

Callers

nothing calls this directly

Calls 5

AsciiToLowerFunction · 0.85
secondMethod · 0.80
InvalidFunction · 0.50
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected