MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / initSharedState

Method initSharedState

src/function/gds/gds.cpp:187–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187std::unique_ptr<TableFuncSharedState> GDSFunction::initSharedState(
188 const TableFuncInitSharedStateInput& input) {
189 auto bindData = input.bindData->constPtrCast<GDSBindData>();
190 auto graph =
191 std::make_unique<OnDiskGraph>(input.context->clientContext, bindData->graphEntry.copy());
192 return std::make_unique<GDSFuncSharedState>(bindData->getResultTable(), std::move(graph));
193}
194
195std::vector<std::shared_ptr<LogicalOperator>> getNodeMaskPlanRoots(const GDSBindData& bindData,
196 Planner* planner) {

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected