MCPcopy Create free account
hub / github.com/ByConity/ByConity / registerTableFunctionRemote

Function registerTableFunctionRemote

src/TableFunctions/TableFunctionRemote.cpp:353–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351
352
353void registerTableFunctionRemote(TableFunctionFactory & factory)
354{
355 factory.registerFunction("remote", [] () -> TableFunctionPtr { return std::make_shared<TableFunctionRemote>("remote"); });
356 factory.registerFunction("remoteSecure", [] () -> TableFunctionPtr { return std::make_shared<TableFunctionRemote>("remote", /* secure = */ true); });
357 factory.registerFunction("cluster", [] () -> TableFunctionPtr { return std::make_shared<TableFunctionRemote>("cluster"); });
358 factory.registerFunction("clusterAllReplicas", [] () -> TableFunctionPtr { return std::make_shared<TableFunctionRemote>("clusterAllReplicas"); });
359}
360
361}

Callers 1

registerTableFunctionsFunction · 0.85

Calls 1

registerFunctionMethod · 0.45

Tested by

no test coverage detected