MCPcopy Create free account
hub / github.com/bytedance/bolt / getWindowFunctionEntry

Function getWindowFunctionEntry

bolt/exec/WindowFunction.cpp:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41namespace {
42std::optional<const WindowFunctionEntry*> getWindowFunctionEntry(
43 const std::string& name) {
44 auto& functionsMap = windowFunctions();
45 auto it = functionsMap.find(name);
46 if (it != functionsMap.end()) {
47 return &it->second;
48 }
49
50 return std::nullopt;
51}
52} // namespace
53
54bool registerWindowFunction(

Callers 3

createMethod · 0.85

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected