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

Method readFlatColToFlatVector

src/processor/result/factorized_table.cpp:602–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602void FactorizedTable::readFlatColToFlatVector(uint8_t* tupleToRead, ft_col_idx_t colIdx,
603 ValueVector& vector, sel_t pos) const {
604 if (isNonOverflowColNull(tupleToRead + tableSchema.getNullMapOffset(), colIdx)) {
605 vector.setNull(pos, true);
606 } else {
607 vector.setNull(pos, false);
608 vector.copyFromRowData(pos, tupleToRead + tableSchema.getColOffset(colIdx));
609 }
610}
611
612void FactorizedTable::readFlatCol(uint8_t** tuplesToRead, ft_col_idx_t colIdx, ValueVector& vector,
613 uint64_t numTuplesToRead) const {

Callers 1

probeMethod · 0.80

Calls 2

copyFromRowDataMethod · 0.80
setNullMethod · 0.45

Tested by

no test coverage detected