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

Method readFlatColToFlatTuple

src/processor/result/factorized_table.cpp:704–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704void FactorizedTableIterator::readFlatColToFlatTuple(ft_col_idx_t colIdx, uint8_t* valueBuffer,
705 FlatTuple& tuple) {
706 auto isNull = factorizedTable.isNonOverflowColNull(
707 valueBuffer + factorizedTable.getTableSchema()->getNullMapOffset(), colIdx);
708 tuple[colIdx].setNull(isNull);
709 if (!isNull) {
710 tuple[colIdx].copyFromRowLayout(
711 valueBuffer + factorizedTable.getTableSchema()->getColOffset(colIdx));
712 }
713}
714
715void FactorizedTableIterator::updateInvalidEntriesInFlatTuplePositionsInDataChunk() {
716 for (auto i = 0u; i < flatTuplePositionsInDataChunk.size(); i++) {

Callers

nothing calls this directly

Calls 4

isNonOverflowColNullMethod · 0.80
copyFromRowLayoutMethod · 0.80
getTableSchemaMethod · 0.45
setNullMethod · 0.45

Tested by

no test coverage detected