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

Method getDataToRead

src/storage/table/csr_node_group.cpp:652–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650 offset_t getCSROffset() const { return cursor.curCSROffset; }
651
652 std::pair<ColumnChunkData*, offset_t> getDataToRead() {
653 if (cursor.it->segmentData == nullptr) {
654 cursor.scanner.scanSegmentIfNeeded(cursor.it.segmentIdx);
655 }
656 return {cursor.it->segmentData.get(), cursor.it.offsetInSegment};
657 }
658
659 bool canSkipRead() const { return cursor.it->segmentData == nullptr; }
660

Calls 2

scanSegmentIfNeededMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected