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

Method getNextTuplesInternal

src/processor/operator/table_function_call.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39bool TableFunctionCall::getNextTuplesInternal(ExecutionContext* context) {
40 funcOutput->resetState();
41 funcInput->bindData->evaluateParams(context->clientContext);
42 auto numTuplesScanned = info.function.tableFunc(*funcInput, *funcOutput);
43 funcOutput->setOutputSize(numTuplesScanned);
44 metrics->numOutputTuple.increase(numTuplesScanned);
45 return numTuplesScanned != 0;
46}
47
48void TableFunctionCall::finalizeInternal(ExecutionContext* context) {
49 info.function.finalizeFunc(context, sharedState.get());

Callers

nothing calls this directly

Calls 3

setOutputSizeMethod · 0.80
resetStateMethod · 0.45
increaseMethod · 0.45

Tested by

no test coverage detected