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

Function ExecSampleScan

src/backend/executor/nodeSamplescan.c:81–89  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecSampleScan(node) * * Scans the relation using the sampling method and returns * the next qualifying tuple. * We call the ExecScan() routine and pass it the appropriate * access method functions. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

79 * ----------------------------------------------------------------
80 */
81static TupleTableSlot *
82ExecSampleScan(PlanState *pstate)
83{
84 SampleScanState *node = castNode(SampleScanState, pstate);
85
86 return ExecScan(&node->ss,
87 (ExecScanAccessMtd) SampleNext,
88 (ExecScanRecheckMtd) SampleRecheck);
89}
90
91/* ----------------------------------------------------------------
92 * ExecInitSampleScan

Callers

nothing calls this directly

Calls 1

ExecScanFunction · 0.85

Tested by

no test coverage detected