MCPcopy Create free account
hub / github.com/apache/cloudberry / ExecIndexOnlyScan

Function ExecIndexOnlyScan

src/backend/executor/nodeIndexonlyscan.c:305–319  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecIndexOnlyScan(node) * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

303 * ----------------------------------------------------------------
304 */
305static TupleTableSlot *
306ExecIndexOnlyScan(PlanState *pstate)
307{
308 IndexOnlyScanState *node = castNode(IndexOnlyScanState, pstate);
309
310 /*
311 * If we have runtime keys and they've not already been set up, do it now.
312 */
313 if (node->ioss_NumRuntimeKeys != 0 && !node->ioss_RuntimeKeysReady)
314 ExecReScan((PlanState *) node);
315
316 return ExecScan(&node->ss,
317 (ExecScanAccessMtd) IndexOnlyNext,
318 (ExecScanRecheckMtd) IndexOnlyRecheck);
319}
320
321/* ----------------------------------------------------------------
322 * ExecReScanIndexOnlyScan(node)

Callers

nothing calls this directly

Calls 2

ExecReScanFunction · 0.85
ExecScanFunction · 0.85

Tested by

no test coverage detected